pull/5146/head
bunsenstraat 3 months ago
parent 74057bd75f
commit df9a9f48f4
  1. 2
      .circleci/config.yml
  2. 11
      apps/remix-ide-e2e/src/tests/vyper_api.test.ts

@ -3,7 +3,7 @@ version: 2.1
parameters: parameters:
run_flaky_tests: run_flaky_tests:
type: boolean type: boolean
default: false default: true
orbs: orbs:
browser-tools: circleci/browser-tools@1.4.4 browser-tools: circleci/browser-tools@1.4.4
win: circleci/windows@5.0 win: circleci/windows@5.0

@ -17,13 +17,13 @@ module.exports = {
browser.clickLaunchIcon('pluginManager') browser.clickLaunchIcon('pluginManager')
.scrollAndClick('[data-id="pluginManagerComponentActivateButtonvyper"]') .scrollAndClick('[data-id="pluginManagerComponentActivateButtonvyper"]')
.clickLaunchIcon('vyper') .clickLaunchIcon('vyper')
.pause(5000)
// @ts-ignore
.frame(0) .frame(0)
}, },
'Should clone the Vyper repo #group1': function (browser: NightwatchBrowser) { 'Should clone the Vyper repo #group1 #flaky': function (browser: NightwatchBrowser) {
browser.click('button[data-id="add-repository"]') browser
.waitForElementVisible('button[data-id="add-repository"]')
.click('button[data-id="add-repository"]')
.frameParent() .frameParent()
.clickLaunchIcon('filePanel') .clickLaunchIcon('filePanel')
.waitForElementVisible({ .waitForElementVisible({
@ -31,11 +31,10 @@ module.exports = {
locateStrategy: 'xpath', locateStrategy: 'xpath',
timeout: 120000 timeout: 120000
}) })
.currentWorkspaceIs('snekmate')
.waitForElementVisible({ .waitForElementVisible({
selector: "//*[@data-id='treeViewLitreeViewItemsrc' and contains(.,'src')]", selector: "//*[@data-id='treeViewLitreeViewItemsrc' and contains(.,'src')]",
locateStrategy: 'xpath', locateStrategy: 'xpath',
timeout: 1200000 timeout: 120000
}) })
}, },
// 'Add vyper file to run tests #group1': function (browser: NightwatchBrowser) { // 'Add vyper file to run tests #group1': function (browser: NightwatchBrowser) {

Loading…
Cancel
Save