Category "cypress"

Click an exact match text in Cypress

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

Cypress test not finding element when ran in Gitlab CI

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.

Is there a way to add cypress test steps execution information into allure report?

I'm trying to add test step information into an allure report, i use cypress and generate report with allure, report are correctly generate but no details appea

Cypress: how to drag an element towards another dynamic element

In cypress I'm trying to drag one element towards another element? How can I do that? It should look something like this cy.('@firstElememt').trigger('drag').to

Running a command cy.exec('npm run sfdx:latest-leads') will change the json file format

Current behavior I'm currently working on a project where I set up a command in my package.json. As soon as I run that command through a cypress file, it seems

Running a command cy.exec('npm run sfdx:latest-leads') will change the json file format

Current behavior I'm currently working on a project where I set up a command in my package.json. As soon as I run that command through a cypress file, it seems

Bitbucket Pipelines hangs when testing a Nuxt app with Cypress

I have a Nuxt app that I want to test with Cypress in CI. I've seen in the Cypress documentation that you have to install some third-party package to wait for t

How do I add and use Chrome Extensions with Cypress.io?

I'm currently dealing with a an X-Frame-Options issue being blocked when running my Cypress.io tests. I cannot change the server setup to modify the X-Frame se

How to send GraphQLrequest using Cypress

I wonder if there is a way to send GraphQL mutations using Cypress? There is cy.intercept() but this is more for waiting for responses.

Disable Cypress from automatic scrolling

I am testing my application where I have very long side menu and I have a code like that: cy.get('tab').click({force: true}) The automatic scroll happens betwe

Cypress task fails and complains that task event has not been registered in the plugins file

I am using the cypress cy.task() method/ function to copy a csv file from one directory to another directory. Below is my cy.task('copycsvFile') and relevant co

How do I select the right elements with querySelectorAll as I do by using the Chrome developers console?

I'm currently using cypress to test salesforce, and I'm running into a certain circumstance where I don't know the Party record ID that will create it within th

How do I select the right elements with querySelectorAll as I do by using the Chrome developers console?

I'm currently using cypress to test salesforce, and I'm running into a certain circumstance where I don't know the Party record ID that will create it within th

Cypress: Module not found: Error: Can't resolve 'cypress/types/lodash

I am running my first test in Cypress from VS IDE and Cypress was working while until I encountered the error below without having changed or updated anything..

Is it possible implement an equivalent of data provider in Cypress.io

Is it possible to implement an equivalent of data provider in Cypress.io? I was checking and you can simulate it with a fixture and make a foreach for it but I

Cypress - How to verify if a file is downloaded?

I would like to check that a file is downloaded as part of my test. I only need to confirm that the file is downloaded after clicking a button. I have no need t

How to test testcase wise in cypress

Just like @Test (TestNG) in Selenium. Is there a way to test cases one by one and each test case not affecting the subsequent one in cypress?

cypress-testrail-accumulative-reporter is generating the multiple test run as per the number of parallel threads

I am using cypress-testrail-accumulative-reporter in my cypress automation project for testrail integration. I am executing the automation with 2 parallel threa

How do I keep writing in the same JSON file within cypress?

I'm currently setting up a test scenario that allows me to create a random email, and I would like to do more series of tests and keep writing on the same JSON

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