In cypress.json file i have the following code { "baseUrl": "test", "ignoreTestFiles": [], "viewportHeight": 768, "viewportWidth": 1024, "video": fals
I'm trying to save just a number from a string I get from a paragraph but when I try to asign an alias to it and then check the value it returns undefined. I've
I'm trying to use cypress-ct to test react components. I have the following code in App.js import {mount} from '@cypress/react' import App from './App' it('wo
In my tests, "new Date()" returns the current date, but I want it return a constant object. But I don't know how to stub this. Example of what I would like : cy
enter image description hereI have the xpath module insatlled and I try to do the following operations: Click on an expandable option (type div); After that cli
when i run my script headless seems not load the next page, the video recorded after execute it, shows the following: enter image description here and fails aft
I have a Cypress project where I use the Cypress session API to maintain a session throughout features. Now I try switching from the deprecated Klaveness Cypres
I'm trying to write a test that goes back in a calendar to look for a specific date to click. I have come up with an IF statement that should loop to the next m
We use some third party enterprise software ("Container App"), which has an embedded Chromium browser, in which our webapp runs. We use Cypress to test our weba
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
After updating cypress to 8.6.0, the following error message started appearing when I run the test cases --headless. ERROR:gpu_init.cc(441)] Passthrough is not
I need to implement following flow in Cypress: Download CSV file Read it and match it with data showed on UI How do I do this? CheckCSV() { cy.get("[selecto
I need to test a dropdown on angularjs application using cypress. I would need to click on a dropdown and select or click an item from the dropdownlist. I trie
I'm building a single page web application (SPA) with server side rendering (SSR). We have a node backend API which is called both from the node server during
I need to select an image which is inside of a button. The problem is that there are six similar images and they do not have any unique identifier, except their
How can I check if an element contains multiple items in Cypress.io without replicating my code so much? Current Example: cy.get(".column") .children() .con
In Cypress.io is there a way that I can force a test to fail if a certain condition is met? For example, on my webpage, if the string "Sorry, something went wro
I used different ways. But can not handle. cy.get('#form-group-936cd4f5-19ab-4f3c-bfd9-563bf46212b3 > .fal') .click() .attachFile('files/
In Cypress, .contains command yields all matching elements, so for clicking in a dropdown item with a text on it, .contains works fine. But I'm facing the probl
I'm using Cypress for automated testing. An app built in React with Next.js The tests pass locally with cypress open and cypress run but fail within GitLab CI.