Search Results
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 |
Questions about using Cypress.io, an open source tool for testing anything that runs in a browser.
1
vote
Accepted
How to handle menu bar in Cypress
According to the Cypress documentation, you cannot "just" click (or generally interact with) an element in a shadow DOM. You'll need to use the .shadow() command to get "inside" the shadow DOM. …
0
votes
What is the extent that the cypress.io has support for iframe related scripting?
Posting this for reference more than as an answer to that question that's more than 1 month old, but here's how I do it here, in a context where I have an iframe nested in another iframe:
/**
* Waits …
1
vote
Handle web tables with Shadow DOM in Cypress
Firstly, in order to ensure the problem does not come from the cypress-get-table plugin, you could assert with "normal Cypress" that the table exists:
cy.get('im-data-table.hydrated')
.shadow() …
1
vote
Accepted
How can I create a test starter page for Cypress
You could, however, have your page send requests to a Node backend, and have that backend run Cypress - using exec is a way to do that, but you can also use Cypress as a Node module, which should be cleaner … That said, if what you need is just a list of your tests and the ability to click to run them, that's already what the Cypress GUI does when you execute it with npx cypress open instead of npx cypress …
3
votes
Accepted
Conditional statement in cypress
In fact, it won't return anything of interest, as Cypress commands are asynchronous. … That means that instead of asking Cypress whether the pop-up is there, you need to make Cypress aware that the test will (or won't) have to take care of that pop-up in the current execution (for example …
0
votes
Accepted
How to set cypress to automatically detect proxy for automated executions?
The Cypress documentation about proxies is where to start. … "When starting up after being installed, Cypress will attempt to load the proxy configured in the Windows registry by default". …
0
votes
Accepted
How to assert whether the file has been uploaded or not?
Please note that this does not check that the file is uploaded; merely that the file has been inserted in the field (put differently, you're not testing your app as much as your browser).
A better way …
0
votes
Is it possible to use Cypress for data validation?
There are plugins that help with that by providing Cypress commands. For example: @cypress/snapshot. …