Comments (2)
Hi @sarafs
Thanks for submitting the issue!
I think the issue should be fixed now with retryability feature across all the commands.
Please take a look on the API reference, there's an optional object where you could state your custom timeout value.
It should look like:
cy.shadowGet('.mps-lookup')
.shadowFind('.lookup-header', { timeout: 5000 });
Note: this works in any version starting from v1.1.1
from cypress-shadow-dom.
Thanks for getting back @abramenal. Sorry, it's taken me longer than expected to try out your solution.
The tests are failing because I suspect Cypress is preventing the Shadow dom component to load in the page when I inspect it using your plugin.
I've raised this issue with Cypress - cypress-io/cypress#5798
from cypress-shadow-dom.
Related Issues (20)
- [Bug] shadowTrigger fails with options parameter HOT 7
- [Bug] TypeError: Cannot read property 'shadowRoot' of undefined HOT 7
- [Bug] - cannot find items in light dom of host elements HOT 4
- [Bug] shadowContains does not retry if the item is not found
- [Bug] - retry-ability with dynamically added elements is not working HOT 1
- [Feature] add comprehensive testing suite
- [Feature] - add support for aliasing
- [Feature] - override $.contains to work with shadow trees
- [Bug] - shadowClick is not working for me HOT 6
- shadowFind works with cypress runner but doesn't work when run in the command line HOT 1
- [Feature] .shadowContains should accept RegEx HOT 1
- [Feature] - shadowType accept special characters HOT 4
- [Bug] Chaining .should throws an error. HOT 3
- [Feature] Add support to mimic cy.check and cy.select
- Cypress shadow dom Not working headless
- shadowEq method enhancement HOT 1
- [Feature] add typescript definition file HOT 1
- Cypress 4.x.x support? HOT 1
- [Feature] Allow the retrieval of regular DOM elements from nodes that contain a Shadow DOM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-shadow-dom.