|
|
@ -193,13 +193,13 @@ module.exports = { |
|
|
|
.assert.visible('*[data-id="autoCompletePopUpAutoCompleteItem"]') |
|
|
|
.assert.visible('*[data-id="autoCompletePopUpAutoCompleteItem"]') |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
'Should run a script right after compilation #group5': function (browser: NightwatchBrowser) { |
|
|
|
'Should run a script right after compilation #group6': function (browser: NightwatchBrowser) { |
|
|
|
browser |
|
|
|
browser |
|
|
|
.addFile('storage.sol', { content: scriptAutoExec.contract } ) |
|
|
|
.addFile('storage.sol', { content: scriptAutoExec.contract } ) |
|
|
|
.addFile('scripts/deploy_storage.js', { content: scriptAutoExec.script } ) |
|
|
|
.addFile('scripts/deploy_storage.js', { content: scriptAutoExec.script } ) |
|
|
|
.openFile('storage.sol') |
|
|
|
.openFile('storage.sol') |
|
|
|
.sendKeys('body', [browser.Keys.CONTROL, 'e']) |
|
|
|
.sendKeys('body', [browser.Keys.CONTROL, 'e']) |
|
|
|
.journalChildIncludes('147', { shouldHaveOnlyOneOccurence: true }) |
|
|
|
.journalLastChildIncludes('147') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|