Skip to content

Commit

Permalink
Fix flaky (#77)
Browse files Browse the repository at this point in the history
Signed-off-by: bowenlan-amzn <[email protected]>
  • Loading branch information
bowenlan-amzn authored Aug 31, 2021
1 parent d7eb536 commit 857c01f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/integration/indices_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ describe("Indices", () => {

cy.get(`[data-test-subj="applyPolicyModalEditButton"]`).click({ force: true });

cy.reload();
cy.wait(3000).reload();

cy.contains(SAMPLE_INDEX, { timeout: 20000 });

Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/managed_indices_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe("Managed indices", () => {
cy.contains("Removed policy from 1 managed indices");

// Reload the page
cy.reload();
cy.wait(3000).reload();

// Confirm we are back to empty loading state, give 20 seconds as OSD takes a while to load
cy.contains("There are no existing managed indices.", { timeout: 20000 });
Expand Down

0 comments on commit 857c01f

Please sign in to comment.