21600: testing wait removal Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii...
[arvados.git] / services / workbench2 / cypress / e2e / banner-tooltip.cy.js
index 0a434ec9e86034c10e6baa64938551cb089bce4f..1461cf027fd565cc1f45211e4957ae194d6b515a 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;
@@ -72,8 +72,8 @@ describe('Banner / tooltip tests', function () {
 
         cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
-        cy.get('[title=Notifications]').click();
-        cy.get('li').contains('Restore Banner').click();
+        cy.get('[title=Notifications]').click({ force: true });
+        cy.get('li').should('contain', 'Restore Banner').click({ force: true });
 
         cy.get('[data-cy=confirmation-dialog-ok-btn]').should('be.visible');
     });