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

cypress/integration/banner-tooltip.spec.js

index f331a8871c33381b8896aebcd948cffdf8f10df5..11fee98c2b84006ef483dd26b543f53af23d41d1 100644 (file)
@@ -68,9 +68,9 @@ describe('Collection panel tests', function () {
     });
 
     it('should re-show the banner', () => {
-        cy.loginAs(adminUser);
+        cy.wait(8000);
 
-        cy.wait(2000);
+        cy.loginAs(adminUser);
 
         cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
@@ -84,9 +84,9 @@ describe('Collection panel tests', function () {
 
 
     it('should show tooltips and remove tooltips as localStorage key is present', () => {
-        cy.loginAs(adminUser);
+        cy.wait(8000);
 
-        cy.wait(2000);
+        cy.loginAs(adminUser);
 
         cy.get('[data-cy=side-panel-tree]').then(($el) => {
             const el = $el.get(0) //native DOM element