From 3154504a58c8913860aed2faaf78f3d6b868147d Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 19 Sep 2022 11:43:40 +0200 Subject: [PATCH] add file first --- apps/remix-ide-e2e/src/tests/ballot_0_4_14.test.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 c667ee1430..72e3664168 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,6 +16,10 @@ module.exports = { '@sources': function () { return sources }, + 'Add Ballot #group1 #group2 #flaky': 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) @@ -25,10 +29,7 @@ module.exports = { .click('[for="autoCompile"]') .verify.elementPresent('[data-id="compilerContainerAutoCompile"]:checked') }, - 'Add Ballot #group1 #group2 #flaky': function (browser: NightwatchBrowser) { - browser - .addFile('Untitled.sol', sources[0]['Untitled.sol']) - }, + 'Compile Ballot with compiler version 0.4.14 #flaky #group1 #group2': function (browser: NightwatchBrowser) { browser .testContracts('Untitled.sol', sources[0]['Untitled.sol'], ['Ballot'])