From 829901a9ff6c99ba1223868ac3d8f5147ef51f46 Mon Sep 17 00:00:00 2001 From: David Walsh Date: Thu, 3 Aug 2023 12:01:38 -0500 Subject: [PATCH] UX: Snaps: Make Notifications Font Consistent with Other Global Items (#20356) * UX: Snaps: Make Notifications Font Consistent with Other Global Items * Fix E2E --- test/e2e/snaps/test-snap-notification.spec.js | 4 ++-- ui/components/multichain/global-menu/global-menu.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/snaps/test-snap-notification.spec.js b/test/e2e/snaps/test-snap-notification.spec.js index 64587b9e7..fd272ea2c 100644 --- a/test/e2e/snaps/test-snap-notification.spec.js +++ b/test/e2e/snaps/test-snap-notification.spec.js @@ -102,8 +102,8 @@ describe('Test Snap Notification', function () { // try to click on the notification item (via xpath) await driver.clickElement({ - text: 'Notifications', - tag: 'span', + text: 'Notifications 1', + css: '.menu-item', }); await driver.delay(500); diff --git a/ui/components/multichain/global-menu/global-menu.js b/ui/components/multichain/global-menu/global-menu.js index b70960227..d3fe82043 100644 --- a/ui/components/multichain/global-menu/global-menu.js +++ b/ui/components/multichain/global-menu/global-menu.js @@ -203,7 +203,7 @@ export const GlobalMenu = ({ closeMenu, anchorElement }) => { history.push(NOTIFICATIONS_ROUTE); }} > - {t('notifications')} + {t('notifications')} {unreadNotificationsCount > 0 && (