From aed81b456473ca03f87e270986d4b8d0a4c32f50 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kuty=C5=82a?= Date: Thu, 16 Feb 2023 15:22:16 +0100 Subject: [PATCH 1/1] 19836: Wait before login to get config MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- cypress/integration/banner-tooltip.spec.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cypress/integration/banner-tooltip.spec.js b/cypress/integration/banner-tooltip.spec.js index 11fee98c..49b29301 100644 --- a/cypress/integration/banner-tooltip.spec.js +++ b/cypress/integration/banner-tooltip.spec.js @@ -65,11 +65,10 @@ describe('Collection panel tests', function () { res.body.Workbench.BannerUUID = collectionUUID; }); }); + cy.wait(8000); }); it('should re-show the banner', () => { - cy.wait(8000); - cy.loginAs(adminUser); cy.get('[data-cy=confirmation-dialog-ok-btn]').click(); @@ -84,8 +83,6 @@ describe('Collection panel tests', function () { it('should show tooltips and remove tooltips as localStorage key is present', () => { - cy.wait(8000); - cy.loginAs(adminUser); cy.get('[data-cy=side-panel-tree]').then(($el) => { -- 2.30.2