Comments (6)
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.90. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from cypress-react-selector.
hi @claytron5000 , I am aware of this issue. But for me its an intermittent issue. I will raise a concern with Gleb tomorrow.
can you let me know whats the behaviour if you run the same test multiple times? is it still throwing the same error?
from cypress-react-selector.
moreover, if you can provide a sample repository, i can take a deeper look.
from cypress-react-selector.
@abhinaba-ghosh I want to keep this issue fresh, unfortunately I haven't had a chance to revisit this. Once I get time to revisit I'll create an example/recreate the issue.
from cypress-react-selector.
Hi @claytron5000 , the issue should be resolved in v2.1.0
. Feel free to re-open the ticket if you find the same in the future.
from cypress-react-selector.
This issue reproduced in v2.3.6
with material-ui
I use the next code for test
cy.react('NavBar')
.react('NavItem', { props: { href: '/test'} })
.should('be.visible');
I tried use be.visible
, not.exist
, have.length
in .should()
. Also I tried change NavBar
and NavItem
with name property and in this case works
cy.react('*', { props: { name: 'navigationBar' } })
.react('*', { props: { name: 'navigationItem', href: '/test'}})
.should('be.visible');
but it fails with the same error if I use .should('not.exist');
And the same behavior if I add exact:true
to the second .react
call and selector can not find exactly navigationItem
I looking for
from cypress-react-selector.
Related Issues (20)
- Cannot read properties of undefined (reading 'waitToLoadReact') HOT 2
- Would this work with 3rd party libraries? Such as Material UI? HOT 2
- getting webpack-dev-server warning on resqInjector.js attaching the error. HOT 1
- Selectors are failing when upgrading to React 18 HOT 12
- Update plugin to be compatible with Cypress 10 HOT 4
- Could not find instance of React in given element HOT 6
- Functions react() and getReact() don't retry upcoming assertions
- Functions react() and getReact() - infinite retrying for failed upcoming assertions HOT 1
- Is it possible to get a component from a portal?
- No "sourceType" field on TSConfig compiler options HOT 1
- Using getCurrentState
- Cypress 12 Compatibility
- Can't find component by props with value of type array of objects. HOT 1
- Not able to access the sample tests (e2e tests) HOT 1
- incompatibility with Reactjs version 18
- Selector is reporting too many/duplicate items
- How to call the function inside of a component? HOT 1
- Option to suppress cy.log in getProps and getCurrentState
- warning message with resq
- Error when using Vite preprocessor due to require.resolve
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-react-selector.