mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +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:
parent
a7a086537b
commit
fca943a56e
@ -102,8 +102,8 @@ describe('Test Snap Notification', function () {
|
|||||||
|
|
||||||
// try to click on the notification item (via xpath)
|
// try to click on the notification item (via xpath)
|
||||||
await driver.clickElement({
|
await driver.clickElement({
|
||||||
text: 'Notifications',
|
text: 'Notifications 1',
|
||||||
tag: 'span',
|
css: '.menu-item',
|
||||||
});
|
});
|
||||||
await driver.delay(500);
|
await driver.delay(500);
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ export const GlobalMenu = ({ closeMenu, anchorElement }) => {
|
|||||||
history.push(NOTIFICATIONS_ROUTE);
|
history.push(NOTIFICATIONS_ROUTE);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Text as="span">{t('notifications')}</Text>
|
{t('notifications')}
|
||||||
{unreadNotificationsCount > 0 && (
|
{unreadNotificationsCount > 0 && (
|
||||||
<Text
|
<Text
|
||||||
as="span"
|
as="span"
|
||||||
|
Loading…
Reference in New Issue
Block a user