From d0b621a9a8cbff01218a3938497569e31243da25 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Wed, 27 Jul 2022 14:45:29 +0200 Subject: [PATCH] add pause --- apps/remix-ide-e2e/src/tests/terminal.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/tests/terminal.test.ts b/apps/remix-ide-e2e/src/tests/terminal.test.ts index 19472f0730..aea1727cc2 100644 --- a/apps/remix-ide-e2e/src/tests/terminal.test.ts +++ b/apps/remix-ide-e2e/src/tests/terminal.test.ts @@ -164,7 +164,9 @@ module.exports = { 'Should print hardhat logs #group4 #flaky': function (browser: NightwatchBrowser) { browser .click('*[data-id="terminalClearConsole"]') // clear the terminal - .addFile('printHardhatlog.sol', { content: hardhatLog }) + .addFile('printHardhatlog.sol', { content: hardhatLog }).pause(2000) + .saveScreenshot('./reports/screenshots/hardhatLog.png') + .openFile('printHardhatlog.sol') .clickLaunchIcon('solidity') .waitForElementVisible('[for="autoCompile"]') .click('[for="autoCompile"]')