From 2f2faa43c4e84dba1b71457c8f5762394b343a43 Mon Sep 17 00:00:00 2001 From: David Disu Date: Thu, 6 Jan 2022 14:03:59 +0100 Subject: [PATCH] update modal parameters --- apps/remix-ide-e2e/src/tests/publishContract.test.ts | 2 +- apps/remix-ide-e2e/src/tests/terminal.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/publishContract.test.ts b/apps/remix-ide-e2e/src/tests/publishContract.test.ts index 1d35351b77..e1a19ccabb 100644 --- a/apps/remix-ide-e2e/src/tests/publishContract.test.ts +++ b/apps/remix-ide-e2e/src/tests/publishContract.test.ts @@ -67,7 +67,7 @@ module.exports = { if (value.indexOf('Metadata of "storage" was published successfully.') === -1) browser.assert.fail('ipfs deploy failed') }) - .modalFooterOKClick() + .modalFooterOKClick('udapp') }, 'Should remember choice after page refresh': function (browser: NightwatchBrowser) { diff --git a/apps/remix-ide-e2e/src/tests/terminal.test.ts b/apps/remix-ide-e2e/src/tests/terminal.test.ts index ed5f94aff1..69c3acc765 100644 --- a/apps/remix-ide-e2e/src/tests/terminal.test.ts +++ b/apps/remix-ide-e2e/src/tests/terminal.test.ts @@ -51,7 +51,7 @@ module.exports = { .click('*[data-id="terminalClearConsole"]') // clear the terminal .clickLaunchIcon('udapp') .click('*[data-id="settingsWeb3Mode"]') - .modalFooterOKClick() + .modalFooterOKClick('udappNotify') .executeScript('web3.eth.getAccounts()') .waitForElementContainsText('*[data-id="terminalJournal"]', '["', 60000) // we check if an array is present, don't need to check for the content .waitForElementContainsText('*[data-id="terminalJournal"]', '"]', 60000)