How can I deal with a test that has a child element inside of a parent div that has a css property of display:none? #14704
-
How does one deal with a test that has a child element inside of a parent div that has a css property of Here is my scenario: The error I get is the following: This element |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Make sure the parent is visible first, then click on the child button cy.get('parent selector').should('be.visible')
.find('button selector').click() |
Beta Was this translation helpful? Give feedback.
Make sure the parent is visible first, then click on the child button