Skip to content

Commit ef73a56

Browse files
committed
fix e2e tests
1 parent e2fc020 commit ef73a56

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

apps/remix-ide-e2e/src/tests/vyper_api.test.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,14 @@ module.exports = {
4242
},
4343

4444
'Context menu click to compile blind_auction should succeed #group1': function (browser: NightwatchBrowser) {
45-
browser.clickLaunchIcon('vyper')
45+
browser
46+
.click('*[data-id="treeViewLitreeViewItemexamples/auctions/blind_auction.vy"]')
47+
.rightClick('*[data-id="treeViewLitreeViewItemexamples/auctions/blind_auction.vy"]')
48+
.waitForElementPresent('[data-id="contextMenuItemvyper"]')
49+
.click('[data-id="contextMenuItemvyper"]')
50+
.clickLaunchIcon('vyper')
4651
// @ts-ignore
4752
.frame(0)
48-
.click('[data-id="remote-compiler"]')
49-
.click('[data-id="compile"]')
5053
.waitForElementVisible({
5154
selector:'[data-id="compilation-details"]',
5255
timeout: 120000
@@ -61,7 +64,7 @@ module.exports = {
6164
},
6265

6366
'Compile blind_auction should success #group1': function (browser: NightwatchBrowser) {
64-
browser.clickLaunchIcon('vyper')
67+
browser
6568
// @ts-ignore
6669
.frame(0)
6770
.click('[data-id="remote-compiler"]')

apps/remix-ide/src/remixAppManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ export class RemixAppManager extends PluginManager {
334334
await this.call('filePanel', 'registerContextMenuItem', {
335335
id: 'vyper',
336336
name: 'vyperCompileCustomAction',
337-
label: 'Compile vyper',
337+
label: 'Compile for Vyper',
338338
type: [],
339339
extension: ['.vy'],
340340
path: [],

0 commit comments

Comments
 (0)