diff --git a/apps/remix-ide-e2e/src/tests/metamask.test.ts b/apps/remix-ide-e2e/src/tests/metamask.test.ts index 0978cf9901..0e810ba46e 100644 --- a/apps/remix-ide-e2e/src/tests/metamask.test.ts +++ b/apps/remix-ide-e2e/src/tests/metamask.test.ts @@ -274,16 +274,16 @@ const tests = { .waitForElementPresent('*[data-id="universalDappUiContractActionWrapper"]', 60000) .clearConsole() .clickInstance(0) - .clickFunction('delegate - transact (not payable)', { types: 'address to', values: '"0x4b0897b0513fdc7c541b6d9d7e929c4e5364d2db"' }) + .clickFunction('giveRightToVote - transact (not payable)', { types: 'address to', values: '"0x4b0897b0513fdc7c541b6d9d7e929c4e5364d2db"' }) .saveScreenshot('./reports/screenshots/metamask_6.png') - .pause(5000) + .pause() .perform((done) => { // call delegate browser.switchBrowserWindow(extension_url, 'MetaMask', (browser) => { browser .maximizeWindow() .hideMetaMaskPopup() - .pause(3000) + .pause() .saveScreenshot('./reports/screenshots/metamask_7.png') // .scrollAndClick('[data-testid="page-container-footer-next"]') // .click('[data-testid="page-container-footer-next"]') // approve the tx