auto_exec_v2
yann300 3 years ago
parent 48fa25b5fb
commit ca1cf72103
  1. 2
      apps/remix-ide-e2e/src/tests/plugin_api.ts
  2. 4
      apps/remix-ide-e2e/src/tests/terminal.test.ts

@ -358,7 +358,7 @@ module.exports = {
.scrollAndClick('[data-id="pluginManagerComponentActivateButtonhardhat-provider"]')
.clickLaunchIcon('udapp')
.click('*[data-id="Hardhat Provider"]')
.modalFooterOKClick('hardhat-provider')
.modalFooterOKClick('hardhatprovider')
.waitForElementContainsText('*[data-id="settingsNetworkEnv"]', 'Custom') // e.g Custom (1337) network
.clickLaunchIcon('localPlugin')
.useXpath()

@ -193,13 +193,13 @@ module.exports = {
.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
.addFile('storage.sol', { content: scriptAutoExec.contract } )
.addFile('scripts/deploy_storage.js', { content: scriptAutoExec.script } )
.openFile('storage.sol')
.sendKeys('body', [browser.Keys.CONTROL, 'e'])
.journalChildIncludes('147', { shouldHaveOnlyOneOccurence: true })
.journalLastChildIncludes('147')
}
}

Loading…
Cancel
Save