From d97e8916090174df8719af81f3d77d546ee4b5b5 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 --- .../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 a0210be28..55ee30aeb 100644 --- a/cypress/integration/plugins/custom-import-map-dashboards/documentsLayer.spec.js +++ b/cypress/integration/plugins/custom-import-map-dashboards/documentsLayer.spec.js @@ -41,9 +41,9 @@ describe('Documents layer', () => { 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(