Top "Cypress" questions

Cypress, an all-in-one testing framework and assertion library, complete with automatic waits, request mocking, and request stubbing

Cypress ParseError: 'import' and 'export' may appear only with 'sourceType: module'

I updated Cypress from 3.0.3 to 3.1.3. Im using ES6 import/export modules which must be working related to docs. But Im …

javascript babeljs browserify e2e-testing cypress
How Can I Test A File Download Using Cypress When Running In Chrome

I have the following test that needs to verify that clicking a link downloads a PDF. This is especially important …

javascript google-chrome testing download cypress
Cypress test: is .contains() equivalent to should('contain')?

Is this: cy.get('[name=planSelect]').contains(dummyPlan) equivalent to this: cy.get('[name=planSelect]').should(…

e2e-testing 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, .…

regex qa cypress
How to login in Auth0 in an E2E test with Cypress?

I have started testing a react webapp but I didn't go far because I had issues with the login. I …

testing mocking auth0 e2e-testing cypress
ESLint: 'cy' is not defined (Cypress)

I've just started using Cypress with my React Typescript project. I've gotten some simple tests to run: describe('settings page', () =&…

reactjs eslint cypress
Check if an error has been written to the console

I'm trying to find a way to check if an error has been written to the console when running a …

cypress
Is there a way to set CSS properties like `display` using Cypress commands?

I would like to hide an element by setting the display property. I've tried using invoke to set the attribute …

javascript jquery html css cypress
Move cypress folder from the root of the project

When I install and run cypress, it scaffolds a cypress/ folder in the root of my project. The problem is …

testing integration-testing cypress
Cypress: type tab key

I want to test that my forms are accessible and that I can tab between my input elements. I found …

testing e2e-testing cypress