1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02:00

UX: Snaps: Make Notifications Font Consistent with Other Global Items (#20356)

* UX: Snaps: Make Notifications Font Consistent with Other Global Items

* Fix E2E
This commit is contained in:
David Walsh 2023-08-03 12:01:38 -05:00 committed by Dan J Miller
parent c8f2e8e82d
commit 829901a9ff
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -203,7 +203,7 @@ export const GlobalMenu = ({ closeMenu, anchorElement }) => {
history.push(NOTIFICATIONS_ROUTE);
}}
>
<Text as="span">{t('notifications')}</Text>
{t('notifications')}
{unreadNotificationsCount > 0 && (
<Text
as="span"