Skip to content

Commit

Permalink
wait to let page render (#1425) (#1426)
Browse files Browse the repository at this point in the history
Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
(cherry picked from commit 25ce4fd)

Co-authored-by: Sarthak Aggarwal <sarthakaggarwal97@gmail.com>
  • Loading branch information
1 parent bfb390d commit 5edbbde
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ describe('Aliases', () => {
});

cy.get('[data-test-subj="moreAction"]').click();

// Extra wait required for page data to load, otherwise "Enable" button will be disabled
cy.wait(2000);

// Flush btn should be enabled
cy.get('[data-test-subj="Flush Action"]')
.should('exist')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ describe('Transforms', () => {
force: true,
});

// Extra wait required for page data to load, otherwise "Enable" button will be disabled
cy.wait(2000);

// Confirm we get toaster saying changes saved
cy.contains(`Changes to transform saved`);

Expand Down

0 comments on commit 5edbbde

Please sign in to comment.