Skip to content

Commit

Permalink
[Alerting 2.x] Wait before checking update status for composite monit…
Browse files Browse the repository at this point in the history
…or (#878)

* wait before checking update status

Signed-off-by: Amardeepsingh Siglani <[email protected]>

* Added timeout to contains check

Co-authored-by: Yulong Ruan <[email protected]>
Signed-off-by: Amardeepsingh Siglani <[email protected]>

* Removed explicit wait

Signed-off-by: Amardeepsingh Siglani <[email protected]>

* fixed lint error

Signed-off-by: Amardeepsingh Siglani <[email protected]>

---------

Signed-off-by: Amardeepsingh Siglani <[email protected]>
Co-authored-by: Yulong Ruan <[email protected]>
  • Loading branch information
amsiglan and ruanyl authored Oct 4, 2023
1 parent 258a409 commit cdc6e55
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ describe('CompositeLevelMonitor', () => {

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

0 comments on commit cdc6e55

Please sign in to comment.