diff --git a/.circleci/config.yml b/.circleci/config.yml index afe5c5576b..55755e31e6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 parameters: run_flaky_tests: type: boolean - default: false + default: true orbs: browser-tools: circleci/browser-tools@1.4.4 win: circleci/windows@5.0 diff --git a/apps/remix-ide-e2e/src/tests/vyper_api.test.ts b/apps/remix-ide-e2e/src/tests/vyper_api.test.ts index 1174b58fc6..944420fc64 100644 --- a/apps/remix-ide-e2e/src/tests/vyper_api.test.ts +++ b/apps/remix-ide-e2e/src/tests/vyper_api.test.ts @@ -17,13 +17,13 @@ module.exports = { browser.clickLaunchIcon('pluginManager') .scrollAndClick('[data-id="pluginManagerComponentActivateButtonvyper"]') .clickLaunchIcon('vyper') - .pause(5000) - // @ts-ignore .frame(0) }, - 'Should clone the Vyper repo #group1': function (browser: NightwatchBrowser) { - browser.click('button[data-id="add-repository"]') + 'Should clone the Vyper repo #group1 #flaky': function (browser: NightwatchBrowser) { + browser + .waitForElementVisible('button[data-id="add-repository"]') + .click('button[data-id="add-repository"]') .frameParent() .clickLaunchIcon('filePanel') .waitForElementVisible({ @@ -31,11 +31,10 @@ module.exports = { locateStrategy: 'xpath', timeout: 120000 }) - .currentWorkspaceIs('snekmate') .waitForElementVisible({ selector: "//*[@data-id='treeViewLitreeViewItemsrc' and contains(.,'src')]", locateStrategy: 'xpath', - timeout: 1200000 + timeout: 120000 }) }, // 'Add vyper file to run tests #group1': function (browser: NightwatchBrowser) {