Skip to content Skip to sidebar Skip to footer
Showing posts with the label Cypress

Passing A Same Random Number To All Tests In Cypress

So I have two tests - Test1.spec.js and Test2.spec.js and I want that with every test run a random … Read more Passing A Same Random Number To All Tests In Cypress

Cypress - How To Wait For Second Of Two Elements To Appear?

I want to wait until the second of two elements to appear before performing an action on it. Curren… Read more Cypress - How To Wait For Second Of Two Elements To Appear?

While Loop Element State Cypress

i have a issue, i would like to click on a button until it disappears but the number of times may v… Read more While Loop Element State Cypress

Cypress Io- Writing A For Loop

I have 15 buttons on a page. I need to test each button. I tried a simple for loop, like for (var i… Read more Cypress Io- Writing A For Loop

Cypress.io: How To Send A Trigger Out Of Cy.then Or Cy.each Function?

I try to verify weather if there have store keyword I want between the elements of pages. For examp… Read more Cypress.io: How To Send A Trigger Out Of Cy.then Or Cy.each Function?

Cypress: Set Attribute Value

I have just started exploring Cypress and came across such a problem: is it possible to select a co… Read more Cypress: Set Attribute Value

Testcafe Request With Cookies

I am trying to find a method in testcafes API similar to Cypress' request. Cypress' reques… Read more Testcafe Request With Cookies

Cypress Tests, One Test Is Over, Second Starts

I code cypress tests. When one test is over, I want the second test to begin with some variables wh… Read more Cypress Tests, One Test Is Over, Second Starts

Cypress - Stubbing Using Route(options) Isn't Work

I try to simulate bad request by returning status code = 400. I followed the documentation and foun… Read more Cypress - Stubbing Using Route(options) Isn't Work

Cypress - 403 Forbidden Error When Visiting Main Site

I am trying to cy.visit() my single page application that requires my certificate loaded in the bro… Read more Cypress - 403 Forbidden Error When Visiting Main Site

How Will We Call A Function Written In A Separate File From A Cypress Test?

In Cypress.io test, I am calling a subtract function and tests written in the 'example-spec'… Read more How Will We Call A Function Written In A Separate File From A Cypress Test?

How To Run Unit Tests With Cypress.io?

I have been using Cypress.io to run end-to-end tests. Recently, I have been using it to run unit te… Read more How To Run Unit Tests With Cypress.io?

How Do I Assert Against Objects With Spies In Cypress?

I am using Cypress spies to test client-side analytics. My intent in this test is to confirm that … Read more How Do I Assert Against Objects With Spies In Cypress?

Cypress IO- Writing A For Loop

I have 15 buttons on a page. I need to test each button. I tried a simple for loop, like for (var i… Read more Cypress IO- Writing A For Loop

JS/Cypress.io: How To Iterate Over 2 Corresponding Sets Of Data

JS/Cypress.io: How to iterate over 2 corresponding sets of data This is what I have currently and i… Read more JS/Cypress.io: How To Iterate Over 2 Corresponding Sets Of Data