Skip to content

Commit

Permalink
Add wait time after selecting a color (opensearch-project#936) (opens…
Browse files Browse the repository at this point in the history
…earch-project#938)

Signed-off-by: Heemin Kim <[email protected]>
(cherry picked from commit d97e891)
  • Loading branch information
heemin32 authored Oct 25, 2023
1 parent 28fe4cc commit 1cf80d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ if (!Cypress.env('SECURITY_ENABLED')) {
cy.get(`button[testSubj="styleTab"]`).click();
cy.contains('Fill color').click();
cy.get(`button[aria-label="Select #E7664C as the color"]`).click();
cy.contains('Border color').click();
cy.wait(1000).contains('Border color').click();
cy.get(`button[aria-label="Select #DA8B45 as the color"]`).click();
cy.get(`button[testSubj="settingsTab"]`).click();
cy.wait(1000).get(`button[testSubj="settingsTab"]`).click();
cy.get('[name="layerName"]').clear().type('Documents layer 1');
cy.get(`button[data-test-subj="updateButton"]`).click();
cy.get('[data-test-subj="layerControlPanel"]').should(
Expand Down

0 comments on commit 1cf80d2

Please sign in to comment.