group tests

pull/5370/head
filip mertens 3 years ago committed by Aniket
parent c30693790e
commit 1f31b92ce8
  1. 9
      apps/remix-ide-e2e/src/tests/recorder.test.ts

@ -3,6 +3,7 @@ import { NightwatchBrowser } from 'nightwatch'
import init from '../helpers/init'
module.exports = {
'@disabled': true,
before: function (browser: NightwatchBrowser, done: VoidFunction) {
init(browser, done)
},
@ -11,7 +12,7 @@ module.exports = {
return sources
},
'Run Scenario': function (browser: NightwatchBrowser) {
'Run Scenario #group1': function (browser: NightwatchBrowser) {
let addressRef
browser.addFile('scenario.json', { content: records })
.pause(5000)
@ -36,7 +37,7 @@ module.exports = {
.click('*[data-id="deployAndRunClearInstances"]')
},
'Save scenario': function (browser: NightwatchBrowser) {
'Save scenario #group1': function (browser: NightwatchBrowser) {
browser.testContracts('testRecorder.sol', sources[0]['testRecorder.sol'], ['testRecorder'])
.clickLaunchIcon('udapp')
.createContract(['12'])
@ -64,7 +65,7 @@ module.exports = {
})
},
'Record more than one contract #flaky': function (browser: NightwatchBrowser) {
'Record more than one contract #group1 #flaky': function (browser: NightwatchBrowser) {
// deploy 2 contracts (2 different ABIs), save the record, reexecute and test one of the function.
browser
.click('*[data-id="deployAndRunClearInstances"]')
@ -98,7 +99,7 @@ module.exports = {
},
'Run with live "mode"': function (browser: NightwatchBrowser) {
'Run with live "mode" #group1': function (browser: NightwatchBrowser) {
let addressRef: string
browser.addFile('scenario_live_mode.json', { content: JSON.stringify(liveModeScenario, null, '\t') })
.addFile('scenario_live_mode_storage.sol', { content: testStorageForLiveMode })

Loading…
Cancel
Save