Skip to content
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

e2e: add error handler e2e coverage #408

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Conversation

tplevko
Copy link
Contributor

@tplevko tplevko commented Nov 23, 2023

Coverage for error handler.

Also reflected the beans fix in e2e test - #245

@@ -46,7 +46,7 @@ Cypress.Commands.add('openMetadata', () => {

Cypress.Commands.add('openPipeErrorHandler', () => {
cy.get('[data-testid="Pipe ErrorHandler"]').click();
cy.get('[data-testid="metadata-editor-form-ErrorHandler"]').should('be.visible');
cy.get('h1.pf-v5-c-title').should('contain.text', 'Pipe ErrorHandler Configuration');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tplevko this will break in the next patternfly upgrade, as an alternative, is there a cypress command to look for a test instead? or maybe looking for an H1 element?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the H1 could help?

image

@lordrip lordrip merged commit 805e6ac into KaotoIO:main Nov 23, 2023
10 checks passed
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.

2 participants