Category "e2e-testing"

How to access AngularJS Controller in a E2E test using Protractor

I have an AngularJS application on which I'm performing E2E tests. I want to access my web page's scope object's properties but I can't do so. I tried doing thi

ReactSelector can not access all components

i am new to React and Testcafe and have to write some end-to-end tests. I thougt, it was a good idea to mainly use the ReactSelector from 'testcafe-react-select

E2E Testing- click on specific button

I have a button, it looks like this in HTML form <span class="v-btn__content">Create</span> My E2E Test, I am trying to click that Create button mo

What's the difference between a UI test and an E2E Test? And What's the benefits of each?

Our team is considering starting testing based on user scenarios. So, we are picking a E2E framework. Searching for UI test lead to the following: So, I found

Detox get length of element

Hi i'm using detox and i would like to know how can I get the number of matches to one element(length). For example "card" match three times, how can I get the

I can't get id or data-test in cypress recently

I'm trying to get a button with [data-test=ex_button] and click on it in cypress with using the following code: cy.get('[data-test=ex_button]').click({ force: t

Cypress: How to know if element is visible or not in using If condition and xpath?

Cypress: How to know if element is visible or not in using If condition? The answer of the above question works perfectly for CSS selectors. The answer is cy.ge

Cypress: How to know if element is visible or not in using If condition and xpath?

Cypress: How to know if element is visible or not in using If condition? The answer of the above question works perfectly for CSS selectors. The answer is cy.ge

Playwright test library - parent element for selector

please, how to get a parent element for a text selector by the Playwright E2E library. Is better to modify the selector (it is string by something like >>

How to run multiple tests under same fixture with same browser session

I am trying to test multiple features in one test.js file with each feature implemented as a test. All these tests can be run only after login to the portal. Te

Check TestCafe is running

I use TestCafe for testing a website. I use the testcafe inside my node module. Users can start the test out of the node presented website. I start it with:

How to slow down test execution in TestCafe?

I want to check UI test execution written by another developer. It is too fast for my eyes and brain to catch what is happening. How do I slow down the executio

TestCafe Requires Permission To Record Screen but permission is already granted on MAC

I have two TestCafe projects, when I tried to run the old one, it continuously requires Permission to record screen but permission is already granted. The new t

Cypress - log response data from an request after a click()

Although I know this may not be considered as a best practice, but what I want to achieve is to silently delete a record from a database after the same was crea

How can I save API response body or property in an environment variable or json to use it later in other requests in Cypress

API runs locally(and in future in a circleCI container) so I don't need to stub responses, only real requests and real responses. When I send a POST request, it

Anyone has experience using NightWatch with TypeScript?

I am using NightWatch for my e2e testing and want to move towards ES6 way of writing tests. I was able to do it with Babel and it worked fine but I want to use

Python playwright: wait for arbitrary DOM state

I've been tooling around with Playwright on Python (v1.16) and thought I'd migrate some of our Cypress tests as an experiment. However, I've run into several sn

cy.url() and/or cy.location('href') does not return a string

I have an editor page. When I add any content and click the "Save" button my URL will change, adding a random id in the URL. I want to check if my ID's are chan

cy.url not returning a string as expected

Prior to switching to using a hash router, I had been implementing the cy.url command frequently to assure that links were navigating to the right URL addresses