From 9f60ada45a326611aebf2a2bdb7f21f2e05b3e0a Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Mon, 6 Jun 2022 14:09:21 +0200 Subject: [PATCH] fix test --- apps/remix-ide-e2e/src/tests/publishContract.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/remix-ide-e2e/src/tests/publishContract.test.ts b/apps/remix-ide-e2e/src/tests/publishContract.test.ts index d571c7b5df..63b0dfeb61 100644 --- a/apps/remix-ide-e2e/src/tests/publishContract.test.ts +++ b/apps/remix-ide-e2e/src/tests/publishContract.test.ts @@ -19,6 +19,9 @@ module.exports = { .openFile('contracts/3_Ballot.sol') .verifyContracts(['Ballot']) .click('#publishOnIpfs') + .pause(2000) + .waitForElementVisible('[data-id="publishToStorageModalDialogModalBody-react"]', 60000) + .click('[data-id="publishToStorage-modal-footer-ok-react"]') .pause(8000) .waitForElementVisible('[data-id="publishToStorageModalDialogModalBody-react"]', 60000) .getText('[data-id="publishToStorageModalDialogModalBody-react"]', (result) => {