Questions tagged [cypress]

Questions about using Cypress.io, an open source tool for testing anything that runs in a browser.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

Assertions for CLI Commands in CI/CD environment

I am working with a Cypress testing framework in a CI/CD environment. There are several Cypress smoke tests that run each time my team pushes a build. However, I would like to add tests that make ...
-1
votes
0answers
19 views

Do have Cypress.io shared examples like RSpec?

RSspec has Shared examples for checking two and more tests by one expect. https://relishapp.com/rspec/rspec-core/docs/example-groups/shared-examples Does Cypress.io have it or similar?
-1
votes
0answers
28 views

Cypress redirect to another url on click of logout is timing out

Here is the scenario: I'm logging to my application by visiting app.domain/login (example) which will redirect me to something like another.app.domain/ This is working fine. But when I logout: cy....
-1
votes
1answer
110 views

how to get list of files in a directory recursively in Cypress?

I wrote this code and it works fine, that is written in TypeScript. When I use the same code in the test file in Cypress I get error TypeError: fs.readdir is not a function import * as fs from 'fs' ...
-2
votes
1answer
52 views

What is the difference between the Selenium tool and the Cypress tool?

What is the difference between the Selenium tool and Cypress tool? How they both are works differently from each other?