21600: tweaked test Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
authorLisa Knox <lisaknox83@gmail.com>
Mon, 18 Mar 2024 18:42:54 +0000 (14:42 -0400)
committerLisa Knox <lisaknox83@gmail.com>
Mon, 18 Mar 2024 18:42:54 +0000 (14:42 -0400)
services/workbench2/cypress/e2e/banner-tooltip.cy.js

index 68d07974335f109a192a259058420d91042dcd67..f7df7d9742944f43d1476dc68e58b08ef7d5a6bd 100644 (file)
@@ -68,9 +68,9 @@ describe('Banner / tooltip tests', function () {
     });
 
     it('should re-show the banner', () => {
-        // cy.loginAs(adminUser);
+        cy.loginAs(adminUser);
 
-        // cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
+        cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
         // cy.get('[title=Notifications]').click({ force: true });
         // cy.get('[data-cy=restore-banner-li]').click({ force: true });
@@ -80,14 +80,14 @@ describe('Banner / tooltip tests', function () {
 
 
     it('should show tooltips and remove tooltips as localStorage key is present', () => {
-        // cy.loginAs(adminUser);
+        cy.loginAs(adminUser);
 
         // cy.get('[data-cy=side-panel-tree]').then(($el) => {
         //     const el = $el.get(0) //native DOM element
         //     expect(el._tippy).to.not.be.undefined;
         // });
 
-        // cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
+        cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
         // cy.get('[title=Notifications]').click();
         // cy.get('[data-cy=disable-tooltip-toggle]').click({ force: true });