21600: used the force Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
[arvados.git] / services / workbench2 / src / views-components / main-app-bar / notifications-menu.tsx
index 89fd2e9184793bf7cd790d7d052c43ad1917d1d8..631d3162ebedd2a412c8dd1feb2842699b5f239e 100644 (file)
@@ -40,7 +40,7 @@ export const NotificationsMenuComponent = (props: NotificationsMenuComponentProp
 
     if (!isOpen && bannerResult) {
         menuItems.push(
-            <MenuItem onClick={openBanner}>
+            <MenuItem onClick={openBanner} data-cy="restore-banner-li">
                 <span>Restore Banner</span>
             </MenuItem>
         );
@@ -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>
         );