|
|
|
@ -21,10 +21,15 @@ module.exports = { |
|
|
|
|
.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"]') |
|
|
|
|
.frameParent() |
|
|
|
|
.waitForElementContainsText('*[data-shared="tooltipPopup"]', 'Vyper repository cloned', 60000) |
|
|
|
|
.saveScreenshot('./reports/screenshots/vyper_api_test_should_clone_the_vyper_repo.png') |
|
|
|
|
.waitForElementVisible({ |
|
|
|
|
selector:"//*[@data-id='workspacesSelect' and contains(.,'vyper-lang')]", |
|
|
|
|
locateStrategy: 'xpath', |
|
|
|
|
timeout: 60000 |
|
|
|
|
}) |
|
|
|
|
.openFile('examples') |
|
|
|
|
.openFile('examples/auctions') |
|
|
|
|
.openFile('examples/auctions/blind_auction.vy') |
|
|
|
|