From afee63f0d8e5dddd16dc932e505bf5cae1b18c4f Mon Sep 17 00:00:00 2001 From: "r3kt.eth" Date: Sun, 14 May 2023 20:52:25 +0200 Subject: [PATCH] Update metamask.js --- commands/metamask.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/metamask.js b/commands/metamask.js index cbe741e9a..3a5f0d6aa 100644 --- a/commands/metamask.js +++ b/commands/metamask.js @@ -901,7 +901,7 @@ const metamask = { ); return true; }, - async cancelAccessRequest() { + async rejectAccess() { const notificationPage = await playwright.switchToMetamaskNotification(); await playwright.waitAndClick( notificationPageElements.cancelButton,