Skip to content

Commit

Permalink
Fixed cypress tests. (#1027)
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <[email protected]>
(cherry picked from commit 370cad8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Jul 30, 2024
1 parent 150280d commit 71b66d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cypress/integration/bucket_level_monitor_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ describe('Bucket-Level Monitors', () => {
// Click Edit button
cy.contains('Edit').click({ force: true });

// Wait for page to load
cy.contains('Select clusters').click({ force: true });

// Click on the Index field and type in multiple index names to replicate the bug
cy.get('#index')
.click({ force: true })
Expand Down
6 changes: 6 additions & 0 deletions cypress/integration/query_level_monitor_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ describe('Query-Level Monitors', () => {
// Click Edit button
cy.contains('Edit', { timeout: 20000 }).click({ force: true });

// Wait for page to load
cy.contains('Select clusters').click({ force: true });

// Click on the Index field and type in multiple index names to replicate the bug
cy.get('#index')
.click({ force: true })
Expand Down Expand Up @@ -318,6 +321,9 @@ describe('Query-Level Monitors', () => {
// Select visual editor
cy.get('[data-test-subj="visualEditorRadioCard"]').click();

// Wait for page to load
cy.contains('Select clusters').click({ force: true });

// Wait for input to load and then type in the index name
cy.get('#index').type(`{backspace}${INDEX.SAMPLE_DATA_ECOMMERCE}{enter}`, { force: true });

Expand Down

0 comments on commit 71b66d6

Please sign in to comment.