-
Notifications
You must be signed in to change notification settings - Fork 30
Enhance component cypress tests #179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| cy.get('[class="pf-v5-c-expandable-section__toggle"]').click(); | ||
| cy.get('[class="pf-v5-c-expandable-section__content"]').should('contain.text', 'Error: but a welcome one'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@InsaneZein can you please use ouia ID's hare rather than classNames?
| cy.get('[class="pf-v5-c-menu-toggle pf-m-plain"').should('exist'); | ||
| cy.get('[class="pf-v5-c-menu-toggle pf-m-plain"').click(); | ||
| cy.get('[class="pf-v5-c-menu"').should('be.visible'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would be good to get rid of classNames here as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, we don't seem to be testing the dividers are present
|
Just minor comments, overall, it looks great! |
|
@fhlavac I've added ouia ids where possible |
for RHCLOUD-32488