Skip to content

Commit

Permalink
wait before checking update status
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>
  • Loading branch information
amsiglan committed Sep 19, 2023
1 parent f06559a commit 77b84ee
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,8 @@ describe('CompositeLevelMonitor', () => {

// Wait for monitor to be created
cy.wait('@updateMonitorRequest').then(() => {
cy.get('.euiTitle--large').contains(
`${SAMPLE_VISUAL_EDITOR_MONITOR}_edited`
);
cy.wait(5000);
cy.contains(`${SAMPLE_VISUAL_EDITOR_MONITOR}_edited`);
});
});
});
Expand Down

0 comments on commit 77b84ee

Please sign in to comment.