From 8a690beaa706eb2c33470fe7735bfc7d37878b8a Mon Sep 17 00:00:00 2001 From: Heemin Kim Date: Wed, 25 Oct 2023 09:18:35 -0700 Subject: [PATCH] Add wait time after selecting a color (#936) Signed-off-by: Heemin Kim (cherry picked from commit d97e8916090174df8719af81f3d77d546ee4b5b5) --- .../custom-import-map-dashboards/documentsLayer.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/plugins/custom-import-map-dashboards/documentsLayer.spec.js b/cypress/integration/plugins/custom-import-map-dashboards/documentsLayer.spec.js index 7cc29d60b..34ed57287 100644 --- a/cypress/integration/plugins/custom-import-map-dashboards/documentsLayer.spec.js +++ b/cypress/integration/plugins/custom-import-map-dashboards/documentsLayer.spec.js @@ -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(