Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 32909

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

36 votes
4 answers
146k views

How to check a button is disabled using Cypress

<button _ngcontent-c21="" color="primary" mat-button="" class="mat-button mat-primary" ng-reflect-disabled="true" ng-reflect-color="primary" disabled=""><span class="mat-button-wrapper"> The above …
Adam A's user avatar
  • 1,067
1 vote
1 answer
4k views

Using Cypress tests how to select a feature on a map location

In my Cypress tests I've done most of my testing using the DOM element to identify, but when I select the map window I just get canvas.ol-unselectable which doesn't show the dataset features. …
Adam A's user avatar
  • 1,067
2 votes
1 answer
1k views

How to set an enviromental variable to indicate test environment in Cypress

I need to include in my test scenarios a way to determine which environment they are being executed in. We have BVT (build verification test) and a UAT (user Acceptance Test) environments. Within our …
Adam A's user avatar
  • 1,067
2 votes
1 answer
11k views

Why isn't my 'if' statement working in my Cypress test

I'm trying to add an 'if' statement into my login test as there are two login pages that can be loaded. The test below is failing when it can't find the text 'Not your account?', when it should be con …
Adam A's user avatar
  • 1,067