From fca943a56ef833cd30eccf5538f0927048da276f 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 1ab9013b1..a0b8153cf 100644 --- a/ui/components/multichain/global-menu/global-menu.js +++ b/ui/components/multichain/global-menu/global-menu.js @@ -173,7 +173,7 @@ export const GlobalMenu = ({ closeMenu, anchorElement }) => { history.push(NOTIFICATIONS_ROUTE); }} > - {t('notifications')} + {t('notifications')} {unreadNotificationsCount > 0 && (