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

[2.15] Cypress Fix for few flaky tests in index-management dashboard plugin during Jenkins executions #1419

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

CaptainDredge
Copy link

@CaptainDredge CaptainDredge commented Jun 19, 2024

Description

This change reduces the possibility of failures of few flaky tests in IM dashboard

Flaky tests:

  1. rollup_spec cypress test

  2. transform_spec cypress test

Issues Resolved

N/A

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Prabhat Sharma <ptsharma@amazon.com>
@CaptainDredge CaptainDredge changed the title Cypress Fix for few flaky tests in index-management dashboard plugin Cypress Fix for few flaky tests in index-management dashboard plugin during Jenkins executions Jun 19, 2024
@peterzhuamazon peterzhuamazon merged commit eb745f1 into opensearch-project:2.15 Jun 19, 2024
35 checks passed
@peterzhuamazon peterzhuamazon changed the title Cypress Fix for few flaky tests in index-management dashboard plugin during Jenkins executions [2.15] Cypress Fix for few flaky tests in index-management dashboard plugin during Jenkins executions Jun 19, 2024
@@ -17,7 +17,7 @@ describe('Rollups', () => {
cy.visit(`${BASE_PATH}/app/home#/tutorial_directory/sampleData`);

// Click on "Sample data" tab
cy.contains('Sample data').click({ force: true });
cy.contains('Sample data', { timeout: 60000 }).click({ force: true });
Copy link
Member

Choose a reason for hiding this comment

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

You don't need this line.
There's not en element contains text "Sample data" on that page ${BASE_PATH}/app/home#/tutorial_directory/sampleData. No matter how long you wait, it will fail because it won't find any element.
image

Copy link
Author

Choose a reason for hiding this comment

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

@zhongnansu Am I missing something here? Isn't Sample data there(highlighted)?
image

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.

3 participants