[arvados] updated: 2.7.0-6212-ge2f4f1c30d

git repository hosting git at public.arvados.org
Mon Mar 18 14:21:02 UTC 2024


Summary of changes:
 services/workbench2/cypress/e2e/banner-tooltip.cy.js                | 6 +++---
 .../src/views-components/main-app-bar/notifications-menu.tsx        | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

       via  e2f4f1c30dfeff4261333fd65a4c521acc098804 (commit)
      from  493f9e866aa1ac2d2b8247a96f859591cad53d05 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e2f4f1c30dfeff4261333fd65a4c521acc098804
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Mon Mar 18 10:20:55 2024 -0400

    21600: used the force Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/cypress/e2e/banner-tooltip.cy.js b/services/workbench2/cypress/e2e/banner-tooltip.cy.js
index 64ba5e8be0..b894391282 100644
--- a/services/workbench2/cypress/e2e/banner-tooltip.cy.js
+++ b/services/workbench2/cypress/e2e/banner-tooltip.cy.js
@@ -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('[data-cy=restore-banner-li]').click();
+        cy.get('[title=Notifications]').click({ force: true });
+        cy.get('[data-cy=restore-banner-li]').click({ force: true });
 
         cy.get('[data-cy=confirmation-dialog-ok-btn]').should('be.visible');
     });
@@ -90,7 +90,7 @@ describe('Banner / tooltip tests', function () {
         cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
         cy.get('[title=Notifications]').click();
-        cy.get('li').contains('Disable tooltips').click();
+        cy.get('[data-cy=disable-tooltip-toggle]').click({ force: true });
 
         cy.get('[data-cy=side-panel-tree]').then(($el) => {
             const el = $el.get(0) //native DOM element
diff --git a/services/workbench2/src/views-components/main-app-bar/notifications-menu.tsx b/services/workbench2/src/views-components/main-app-bar/notifications-menu.tsx
index ce1bc5b1cf..631d3162eb 100644
--- a/services/workbench2/src/views-components/main-app-bar/notifications-menu.tsx
+++ b/services/workbench2/src/views-components/main-app-bar/notifications-menu.tsx
@@ -57,13 +57,13 @@ export const NotificationsMenuComponent = (props: NotificationsMenuComponentProp
 
     if (tooltipResult) {
         menuItems.push(
-            <MenuItem onClick={toggleTooltips}>
+            <MenuItem onClick={toggleTooltips} data-cy="enable-tooltip-toggle">
                 <span>Enable tooltips</span>
             </MenuItem>
         );
     } else {
         menuItems.push(
-            <MenuItem onClick={toggleTooltips}>
+            <MenuItem onClick={toggleTooltips} data-cy="disable-tooltip-toggle">
                 <span>Disable tooltips</span>
             </MenuItem>
         );

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list