From b10f5ff3082280768c35f0eba02eecd73e886209 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 5 Oct 2020 10:37:51 +0200 Subject: [PATCH] add e2e tests - deactivate plugins --- apps/remix-ide-e2e/src/tests/workspace.test.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/workspace.test.ts b/apps/remix-ide-e2e/src/tests/workspace.test.ts index d2739b2e64..78735f9a5d 100644 --- a/apps/remix-ide-e2e/src/tests/workspace.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace.test.ts @@ -5,7 +5,7 @@ import sauce from './sauce' module.exports = { before: function (browser: NightwatchBrowser, done: VoidFunction) { - init(browser, done, 'http://127.0.0.1:8080?plugins=solidity,udapp&plugincall=fileManager//open//3_Ballot.sol', false) + init(browser, done, 'http://127.0.0.1:8080?plugins=solidity,udapp&plugincall=fileManager//open//3_Ballot.sol&deactivateplugins=home', false) }, 'CheckSolidityActivatedAndUDapp': function (browser: NightwatchBrowser) { @@ -20,7 +20,12 @@ module.exports = { .pause(5000) .getEditorValue((content) => { browser.assert.ok(content.indexOf('contract Ballot {') != -1, 'content doesn\'t include Ballot contract') - }) + }) + }, + + 'Home page should be deactivated': function (browser: NightwatchBrowser) { + browser + .waitForElementNotPresent('[data-id="landingPageHomeContainer"]') .end() },