From ad30d4b3dda9dc9bfb629c733bb5167a5cf428ca Mon Sep 17 00:00:00 2001 From: Sero <69639595+Seroxdesign@users.noreply.github.com> Date: Tue, 18 Jun 2024 06:43:52 -0400 Subject: [PATCH] reverse priority lint --- wallets/metamask/src/pages/NotificationPage/page.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wallets/metamask/src/pages/NotificationPage/page.ts b/wallets/metamask/src/pages/NotificationPage/page.ts index 2c46fb006..710117fbf 100644 --- a/wallets/metamask/src/pages/NotificationPage/page.ts +++ b/wallets/metamask/src/pages/NotificationPage/page.ts @@ -35,7 +35,7 @@ export class NotificationPage { const scrollDownButton = notificationPage.locator(Selectors.SignaturePage.structuredMessage.scrollDownButton) let isScrollButtonVisible = false - + const scrollButtonPromise = scrollDownButton .waitFor({ state: 'visible' }) .then(async () => { @@ -45,7 +45,7 @@ export class NotificationPage { }) .catch(() => false) - await Promise.race([notificationPage.waitForLoadState('load').then(() => false), scrollButtonPromise]); + await Promise.race([notificationPage.waitForLoadState('load').then(() => false), scrollButtonPromise]) return { notificationPage,