From 8ec75da0f653a6ffd5a5da79f218ed8f4133cfd0 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Fri, 16 Sep 2022 14:35:56 +0200 Subject: [PATCH] flaky debugger --- .circleci/config.yml | 2 +- apps/remix-ide-e2e/src/tests/debugger.test.ts | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9a1af8c1af..262066c28c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ version: 2.1 parameters: run_flaky_tests: type: boolean - default: false + default: true orbs: browser-tools: circleci/browser-tools@1.4.0 node: circleci/node@5.0.2 diff --git a/apps/remix-ide-e2e/src/tests/debugger.test.ts b/apps/remix-ide-e2e/src/tests/debugger.test.ts index 0f1ff1a7e3..c9c75dc7a6 100644 --- a/apps/remix-ide-e2e/src/tests/debugger.test.ts +++ b/apps/remix-ide-e2e/src/tests/debugger.test.ts @@ -12,12 +12,10 @@ module.exports = { return sources }, - 'addfiletest #group10': function (browser: NightwatchBrowser) { - browser.addFile('test.sol', sources[0]['blah.sol']) - }, - - 'Should launch debugger #group1': function (browser: NightwatchBrowser) { + 'Should launch debugger #group1 #flaky': function (browser: NightwatchBrowser) { browser.addFile('blah.sol', sources[0]['blah.sol']) + .clickLaunchIcon('solidity').click('*[data-id="compilerContainerCompileBtn"]') + .saveScreenshot('./reports/screenshots/debugger.png') .clickLaunchIcon('udapp') .waitForElementPresent('*[title="Deploy - transact (not payable)"]', 65000) .click('*[title="Deploy - transact (not payable)"]')