|
|
|
@ -164,9 +164,10 @@ module.exports = { |
|
|
|
|
'Should print hardhat logs #group4 #flaky': function (browser: NightwatchBrowser) { |
|
|
|
|
browser |
|
|
|
|
.click('*[data-id="terminalClearConsole"]') // clear the terminal
|
|
|
|
|
.addFile('printHardhatlog.sol', { content: hardhatLog }).pause(2000) |
|
|
|
|
.addFile('printHardhatlog.sol', { content: hardhatLog }).pause(4000) |
|
|
|
|
.saveScreenshot('./reports/screenshots/hardhatLog.png') |
|
|
|
|
.openFile('printHardhatlog.sol') |
|
|
|
|
.openFile('printHardhatlog.sol').pause(4000) |
|
|
|
|
.saveScreenshot('./reports/screenshots/hardhatLog_2.png') |
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
|
.waitForElementVisible('[for="autoCompile"]') |
|
|
|
|
.click('[for="autoCompile"]') |
|
|
|
|