|
|
@ -42,11 +42,14 @@ module.exports = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
'Context menu click to compile blind_auction should succeed #group1': function (browser: NightwatchBrowser) { |
|
|
|
'Context menu click to compile blind_auction should succeed #group1': function (browser: NightwatchBrowser) { |
|
|
|
browser.clickLaunchIcon('vyper') |
|
|
|
browser |
|
|
|
|
|
|
|
.click('*[data-id="treeViewLitreeViewItemexamples/auctions/blind_auction.vy"]') |
|
|
|
|
|
|
|
.rightClick('*[data-id="treeViewLitreeViewItemexamples/auctions/blind_auction.vy"]') |
|
|
|
|
|
|
|
.waitForElementPresent('[data-id="contextMenuItemvyper"]') |
|
|
|
|
|
|
|
.click('[data-id="contextMenuItemvyper"]') |
|
|
|
|
|
|
|
.clickLaunchIcon('vyper') |
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|
.frame(0) |
|
|
|
.frame(0) |
|
|
|
.click('[data-id="remote-compiler"]') |
|
|
|
|
|
|
|
.click('[data-id="compile"]') |
|
|
|
|
|
|
|
.waitForElementVisible({ |
|
|
|
.waitForElementVisible({ |
|
|
|
selector:'[data-id="compilation-details"]', |
|
|
|
selector:'[data-id="compilation-details"]', |
|
|
|
timeout: 120000 |
|
|
|
timeout: 120000 |
|
|
@ -61,7 +64,7 @@ module.exports = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
'Compile blind_auction should success #group1': function (browser: NightwatchBrowser) { |
|
|
|
'Compile blind_auction should success #group1': function (browser: NightwatchBrowser) { |
|
|
|
browser.clickLaunchIcon('vyper') |
|
|
|
browser |
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|
.frame(0) |
|
|
|
.frame(0) |
|
|
|
.click('[data-id="remote-compiler"]') |
|
|
|
.click('[data-id="remote-compiler"]') |
|
|
|