Skip to content

Conversation

@InsaneZein
Copy link
Collaborator

for RHCLOUD-32488

  • Adds remaining cypress component tests from the test plan.
  • updated the config so that error components don't cause tests to fail when throwing errors.

@patternfly-build
Copy link

patternfly-build commented Jul 8, 2024

@InsaneZein InsaneZein requested a review from fhlavac July 8, 2024 21:35
Comment on lines 18 to 19
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');
Copy link
Contributor

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?

Comment on lines 159 to 161
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');
Copy link
Contributor

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

Copy link
Contributor

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

@fhlavac
Copy link
Contributor

fhlavac commented Jul 15, 2024

Just minor comments, overall, it looks great!

@InsaneZein
Copy link
Collaborator Author

@fhlavac I've added ouia ids where possible

@InsaneZein InsaneZein merged commit 6187a65 into main Jul 15, 2024
@InsaneZein InsaneZein deleted the add-more-component-tests branch July 15, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants