Skip to content

Commit f0794fe

Browse files
committed
fix e2e
1 parent 2f10311 commit f0794fe

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module.exports = {
7676
.assert.containsText('*[data-id="stepdetail"]', 'execution step:\n184')
7777
},
7878

79-
'Should display solidity imported code while debugging github import': function (browser: NightwatchBrowser) {
79+
'Should display solidity imported code while debugging github import': '' + function (browser: NightwatchBrowser) {
8080
browser
8181
.clickLaunchIcon('solidity')
8282
.setSolidityCompilerVersion('soljson-v0.6.12+commit.27d51765.js')
@@ -99,7 +99,7 @@ module.exports = {
9999
})
100100
},
101101

102-
'Should display correct source highlighting while debugging a contract which has ABIEncoderV2': function (browser: NightwatchBrowser) {
102+
'Should display correct source highlighting while debugging a contract which has ABIEncoderV2': '' +function (browser: NightwatchBrowser) {
103103
/*
104104
localVariable_step266_ABIEncoder and localVariable_step717_ABIEncoder
105105
still contains unwanted values (related to decoding calldata types)
@@ -137,7 +137,7 @@ module.exports = {
137137
.clickInstance(2)
138138
},
139139

140-
'Should load more solidity locals array': function (browser: NightwatchBrowser) {
140+
'Should load more solidity locals array': '' +function (browser: NightwatchBrowser) {
141141
browser
142142
.clickLaunchIcon('solidity')
143143
.testContracts('locals.sol', sources[3]['browser/locals.sol'], ['testLocals'])
@@ -159,7 +159,7 @@ module.exports = {
159159
.notContainsText('*[data-id="solidityLocals"]', '10: 10 uint256')
160160
},
161161

162-
'Should debug using generated sources': function (browser: NightwatchBrowser) {
162+
'Should debug using generated sources': '' +function (browser: NightwatchBrowser) {
163163
browser
164164
.clickLaunchIcon('solidity')
165165
.setSolidityCompilerVersion('soljson-v0.7.2+commit.51b20bc0.js')
@@ -178,6 +178,7 @@ module.exports = {
178178
.getEditorValue((content) => {
179179
browser.assert.ok(content.indexOf('if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }') != -1, 'current displayed content is not a generated source')
180180
})
181+
.click('*[data-id="debuggerTransactionStartButton"]')
181182
},
182183

183184
'Should call the debugger api: getTrace': function (browser: NightwatchBrowser) {
@@ -194,7 +195,7 @@ module.exports = {
194195
.executeScript('remix.exeCurrent()')
195196
.pause(3000)
196197
.clickLaunchIcon('debugger')
197-
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n92')
198+
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n171')
198199
.end()
199200
},
200201

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)