21600: added 3 second wait Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii...
authorLisa Knox <lisaknox83@gmail.com>
Fri, 15 Mar 2024 20:06:45 +0000 (16:06 -0400)
committerLisa Knox <lisaknox83@gmail.com>
Fri, 15 Mar 2024 20:06:45 +0000 (16:06 -0400)
services/workbench2/cypress/e2e/banner-tooltip.cy.js

index 6ec6e0aa9b288cb31484f1caf542458560e0046a..285875e87fb6bd715160c758ac870cf019cdfb32 100644 (file)
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-describe('Banner / tooltip tests', function () {
+describe.only('Banner / tooltip tests', function () {
     let activeUser;
     let adminUser;
     let collectionUUID;
@@ -67,20 +67,20 @@ describe('Banner / tooltip tests', function () {
         });
     });
 
-    it.only('should re-show the banner', () => {
+    it('should re-show the banner', () => {
         cy.loginAs(adminUser);
 
         cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
         cy.get('[title=Notifications]').click({ force: true });
-        cy.waitForDom();
+        cy.wait(3000);
         cy.get('li').contains('Restore Banner').click({ force: true });
 
         cy.get('[data-cy=confirmation-dialog-ok-btn]').should('be.visible');
     });
 
 
-    it.only('should show tooltips and remove tooltips as localStorage key is present', () => {
+    it('should show tooltips and remove tooltips as localStorage key is present', () => {
         cy.loginAs(adminUser);
 
         cy.get('[data-cy=side-panel-tree]').then(($el) => {