Skip to content
Advertisement

Tag: automated-tests

Test recording tool for Webdriver.IO

We are testing Webdriver.IO (https://webdriver.io/) with TypeScript to test if it could be a good framework for automating End-to-End GUI-tests on a Web-application. We have already tried Cypress and TestProject.IO, both of which have test-script recorders either natively built or with plugins or both. I couldn’t find a way to record end-to-end tests with Webdriver.IO – meaning I want to

What is the difference between import and cy.fixture in Cypress tests?

I’m learning cypress and I don’t understand what differs from import file from ‘../fixtures/filepath/file.json’ a fixture file and calling cy.fixture(file), and when should I use each one. Answer Basically when you say import file from ‘../fixtures/filepath/file.json’ you can use the imported file in any of methods in the particular javascript file. Whereas if you say cy.fixture(file.json), then the fixture context

Testcafe filter function

I have a filter function for Selector as following which accepts two parameters { subject: subject, from: from } as a dependencies object. But after running this function, I am getting an error ReferenceError: subject is not defined Can TestCafe team please help me with this? Answer In the case of the .filter method you need to rewrite your dependencies

Advertisement