diff --git a/apps/remix-ide-e2e/src/tests/usingWebWorker.test.ts b/apps/remix-ide-e2e/src/tests/usingWebWorker.test.ts index 9400e46935..d5dc8f52cd 100644 --- a/apps/remix-ide-e2e/src/tests/usingWebWorker.test.ts +++ b/apps/remix-ide-e2e/src/tests/usingWebWorker.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: diff --git a/apps/remix-ide-e2e/src/tests/workspace.test.ts b/apps/remix-ide-e2e/src/tests/workspace.test.ts new file mode 100644 index 0000000000..ecd87bd9c0 --- /dev/null +++ b/apps/remix-ide-e2e/src/tests/workspace.test.ts @@ -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 +}