Skip to content

Commit e2fc020

Browse files
committed
fixing e2e
1 parent 6cbf72a commit e2fc020

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,25 @@ module.exports = {
4141
.openFile('examples/auctions/blind_auction.vy')
4242
},
4343

44+
'Context menu click to compile blind_auction should succeed #group1': function (browser: NightwatchBrowser) {
45+
browser.clickLaunchIcon('vyper')
46+
// @ts-ignore
47+
.frame(0)
48+
.click('[data-id="remote-compiler"]')
49+
.click('[data-id="compile"]')
50+
.waitForElementVisible({
51+
selector:'[data-id="compilation-details"]',
52+
timeout: 120000
53+
})
54+
.click('[data-id="compilation-details"]')
55+
.frameParent()
56+
.waitForElementVisible('[data-id="copy-abi"]')
57+
.waitForElementVisible({
58+
selector: "//*[@class='variable-value' and contains(.,'highestBidder')]",
59+
locateStrategy: 'xpath',
60+
})
61+
},
62+
4463
'Compile blind_auction should success #group1': function (browser: NightwatchBrowser) {
4564
browser.clickLaunchIcon('vyper')
4665
// @ts-ignore

libs/remix-ui/vyper-compile-details/src/lib/vyper-compile-details.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ interface RemixUiVyperCompileDetailsProps {
1111

1212
export function RemixUiVyperCompileDetails({ payload, theme, themeStyle }: RemixUiVyperCompileDetailsProps) {
1313
const compileResult = payload['compileResult'] ?? {}
14+
console.log('compileResult', compileResult, payload)
1415
const bcode = compileResult.bytecode ? compileResult.bytecode.object : ''
1516
const runtimeBcode = compileResult.runtimeBytecode ? compileResult.runtimeBytecode.object : ''
1617
const ir = compileResult.ir

0 commit comments

Comments
 (0)