From eeff90ca6f1bbb0d688d3a52b3e645f6a42ac23c Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Wed, 29 Mar 2023 08:05:02 +0200 Subject: [PATCH] test fix --- apps/remix-ide-e2e/src/tests/ballot_0_4_14.test.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/tests/ballot_0_4_14.test.ts b/apps/remix-ide-e2e/src/tests/ballot_0_4_14.test.ts index 6f64e085fd..e45dd275fe 100644 --- a/apps/remix-ide-e2e/src/tests/ballot_0_4_14.test.ts +++ b/apps/remix-ide-e2e/src/tests/ballot_0_4_14.test.ts @@ -16,13 +16,20 @@ module.exports = { '@sources': function () { return sources }, + 'Turn off autcompilation': function (browser: NightwatchBrowser) { + browser + .waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) + .clickLaunchIcon('solidity') + .waitForElementVisible('[for="autoCompile"]') + .click('[for="autoCompile"]') + }, + 'Add Ballot': function (browser: NightwatchBrowser) { browser .addFile('Untitled.sol', sources[0]['Untitled.sol']) }, 'Set Ballot 0.4.14': function (browser: NightwatchBrowser) { browser - .waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) .clickLaunchIcon('solidity') .setSolidityCompilerVersion('soljson-v0.4.14+commit.c2215d46.js') },