Giter Club home page Giter Club logo

Comments (6)

issue-label-bot avatar issue-label-bot commented on July 2, 2024

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.

abhinaba-ghosh avatar abhinaba-ghosh commented on July 2, 2024

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.

abhinaba-ghosh avatar abhinaba-ghosh commented on July 2, 2024

moreover, if you can provide a sample repository, i can take a deeper look.

from cypress-react-selector.

claytron5000 avatar claytron5000 commented on July 2, 2024

@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.

abhinaba-ghosh avatar abhinaba-ghosh commented on July 2, 2024

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.

axelprog avatar axelprog commented on July 2, 2024

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

image
image

from cypress-react-selector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.