hardhat logs

pull/2868/head
filip mertens 2 years ago
parent 3154504a58
commit 8c49d8481d
  1. 6
      apps/remix-ide-e2e/src/tests/ballot_0_4_14.test.ts
  2. 4
      apps/remix-ide-e2e/src/tests/terminal.test.ts

@ -16,7 +16,7 @@ module.exports = {
'@sources': function () {
return sources
},
'Add Ballot #group1 #group2 #flaky': function (browser: NightwatchBrowser) {
'Add Ballot #group1 #group2': function (browser: NightwatchBrowser) {
browser
.addFile('Untitled.sol', sources[0]['Untitled.sol'])
},
@ -30,12 +30,12 @@ module.exports = {
.verify.elementPresent('[data-id="compilerContainerAutoCompile"]:checked')
},
'Compile Ballot with compiler version 0.4.14 #flaky #group1 #group2': function (browser: NightwatchBrowser) {
'Compile Ballot with compiler version 0.4.14 #group1 #group2': function (browser: NightwatchBrowser) {
browser
.testContracts('Untitled.sol', sources[0]['Untitled.sol'], ['Ballot'])
},
'Deploy Ballot #group1 #flaky': function (browser: NightwatchBrowser) {
'Deploy Ballot #group1': function (browser: NightwatchBrowser) {
browser.pause(500)
.clickLaunchIcon('udapp')
.selectAccount('0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c')

@ -162,8 +162,10 @@ module.exports = {
.waitForElementContainsText('*[data-id="terminalJournal"]', 'Passed: 0')
.waitForElementContainsText('*[data-id="terminalJournal"]', 'Failed: 1')
},
'Should print hardhat logs #group4': function (browser: NightwatchBrowser) {
'Should print hardhat logs #group4 #flaky': function (browser: NightwatchBrowser) {
browser
.addFile('printHardhatlog.sol', { content: hardhatLog })
.clickLaunchIcon('solidity')
.click('*[data-id="terminalClearConsole"]') // clear the terminal
.waitForElementVisible('[for="autoCompile"]')
.click('[for="autoCompile"]')

Loading…
Cancel
Save