add e2e tests - deactivate plugins

pull/5370/head
yann300 4 years ago
parent 5efe44725e
commit b10f5ff308
  1. 9
      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()
},

Loading…
Cancel
Save