Added workspace tests

pull/343/head
ioedeveloper 4 years ago
parent 959fe18351
commit f87dc9ae32
  1. 2
      apps/remix-ide-e2e/src/tests/usingWebWorker.test.ts
  2. 20
      apps/remix-ide-e2e/src/tests/workspace.test.ts

@ -1,7 +1,7 @@
'use strict'
import { NightwatchBrowser } from 'nightwatch'
import init from '../helpers/init'
import sauce from './sauce'
import { NightwatchBrowser } from 'nightwatch'
const sources = [
{'browser/basic.sol': { content:

@ -0,0 +1,20 @@
'use strict'
import { NightwatchBrowser } from 'nightwatch'
import init from '../helpers/init'
import sauce from './sauce'
module.exports = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
init(browser, done, 'http://127.0.0.1:8080?plugins=solidity,udapp', false)
},
'CheckSolidityActivatedAndUDapp': function (browser: NightwatchBrowser) {
browser
.waitForElementVisible('#icon-panel', 10000)
.clickLaunchIcon('solidity')
.clickLaunchIcon('udapp')
.end()
},
tearDown: sauce
}
Loading…
Cancel
Save