1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01: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 GitHub
parent a7a086537b
commit fca943a56e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

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