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

frontend: Fix for e2e test #2559

Merged

Conversation

gorankokin
Copy link
Contributor

@gorankokin gorankokin commented Aug 16, 2023

Why

find('[data-cy=data-pipelines-job-executions-type-container]') causes the test to fail if it doesn't find any job executions. It should be returning an empty list instead.

What

Introduce logic that returns an empty list

How was this tested

Ran e2e tests locally
Ran e2e tests in CI

What type of change is this

Bug fix

  • Fix one bug in e2e tests for Data Job Executions

 - Fix one bug in e2e tests for Data Job Executions

Signed-off-by: Goran Kokinovski <[email protected]>
@gorankokin gorankokin requested a review from hzhristova as a code owner August 16, 2023 12:34
@gorankokin gorankokin added the area/frontend Related to changes in the folder projects/frontend for details about ui please see readme label Aug 16, 2023
@antoniivanov
Copy link
Collaborator

can you please explain what was the bug in the description ?

Though I think I get it. The bug is that if the grid is empty it crashes the test? But I am not sure 100%

@DeltaMichael
Copy link
Contributor

@antoniivanov Added some more details to description

@DeltaMichael DeltaMichael merged commit d21ceb9 into main Aug 17, 2023
@DeltaMichael DeltaMichael deleted the person/gkokinovski/fix-intermittent-frontend-e2e-test-issue branch August 17, 2023 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to changes in the folder projects/frontend for details about ui please see readme cla-not-required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants