19836: Wait before login to get config
authorDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Thu, 16 Feb 2023 14:22:16 +0000 (15:22 +0100)
committerDaniel Kutyła <daniel.kutyla@contractors.roche.com>
Thu, 16 Feb 2023 14:22:16 +0000 (15:22 +0100)
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla@contractors.roche.com>

cypress/integration/banner-tooltip.spec.js

index 11fee98c2b84006ef483dd26b543f53af23d41d1..49b2930105a78a2907046b6fd4f615017e783856 100644 (file)
@@ -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) => {