Revert "21762: added trycatch to observer callback"
[arvados.git] / services / workbench2 / src / views-components / main-app-bar / notifications-menu.tsx
index ce1bc5b1cf932fccf1aa2da1fd30d38da709bc87..631d3162ebedd2a412c8dd1feb2842699b5f239e 100644 (file)
@@ -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>
         );