From ff1e74afa48bf38ec4be261dbe4bcc3f85df1ae1 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Tue, 29 Oct 2024 10:03:11 +0100 Subject: [PATCH] click cancel --- apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts b/apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts index 7f4a04de7f..75aa20daec 100644 --- a/apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts +++ b/apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts @@ -106,6 +106,9 @@ const tests = { .click('*[data-id="Deploy - transact (not payable)"]') .pause(5000) .saveScreenshot('./reports/screenshots/metamask_7.png') + .waitForElementNotVisible('*[data-id="udappNotifyModalDialogModalBody-react"]', 60000) + .click('[data-id="udappNotify-modal-footer-cancel-react"]') + .saveScreenshot('./reports/screenshots/metamask_8.png') },