From f748adf623901f2bb1e98ae68cf7084d97775ae1 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Wed, 27 Jul 2022 14:51:34 +0200 Subject: [PATCH] turn on flaky --- .circleci/config.yml | 2 +- apps/remix-ide-e2e/src/tests/search.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 988b8940ea..5449860cc0 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.2.3 jobs: diff --git a/apps/remix-ide-e2e/src/tests/search.test.ts b/apps/remix-ide-e2e/src/tests/search.test.ts index da0674ee44..c75f782406 100644 --- a/apps/remix-ide-e2e/src/tests/search.test.ts +++ b/apps/remix-ide-e2e/src/tests/search.test.ts @@ -164,13 +164,13 @@ module.exports = { browser.assert.ok(content.includes("Storage' contract"), 'should replace text ok') }) }, - 'Should hide button when edited content is the same #group2': function (browser: NightwatchBrowser) { + 'Should hide button when edited content is the same #group2 #flaky': function (browser: NightwatchBrowser) { browser.waitForElementVisible('*[data-id="remixIdeSidePanel"]') .addFile('test.sol', { content: '123' }) .click('*[plugin="search"]').waitForElementVisible('*[id="search_input"]') + .waitForElementVisible('*[data-id="toggle_replace"]').click('*[data-id="toggle_replace"]') .clearValue('*[id="search_input"]') .setValue('*[id="search_input"]', '123').sendKeys('*[id="search_input"]', browser.Keys.ENTER) - .waitForElementVisible('*[data-id="toggle_replace"]').click('*[data-id="toggle_replace"]') .clearValue('*[id="search_replace"]') .setValue('*[id="search_replace"]', '456').pause(1000) .click('*[data-id="confirm_replace_label"]').pause(500)