Skip to content

Commit e5871a4

Browse files
authored
Merge pull request #1279 from ethereum/debuggertests
debugger test fix
2 parents 8430bab + 6908f71 commit e5871a4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ module.exports = {
178178
.click('*[data-id="debuggerTransactionStartButton"]') // start debugging
179179
.pause(2000)
180180
.getEditorValue((content) => {
181-
browser.assert.ok(content.indexOf('if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }') !== -1, 'current displayed content is not a generated source')
181+
browser.assert.ok(content.indexOf('if slt(sub(dataEnd, headStart), 32)') !== -1, 'current displayed content is not a generated source')
182182
})
183183
.click('*[data-id="debuggerTransactionStartButton"]')
184184
},
@@ -210,7 +210,10 @@ module.exports = {
210210
},
211211

212212
'Should start debugging using remix debug nodes (rinkeby)': function (browser: NightwatchBrowser) {
213-
browser.addFile('useDebugNodes.sol', sources[5]['useDebugNodes.sol']) // compile contract
213+
browser
214+
.clickLaunchIcon('solidity')
215+
.setSolidityCompilerVersion('soljson-v0.8.4+commit.c7e474f2.js')
216+
.addFile('useDebugNodes.sol', sources[5]['useDebugNodes.sol']) // compile contract
214217
.clickLaunchIcon('udapp')
215218
.click('*[data-id="settingsWeb3Mode"]') // select web3 provider with debug nodes URL
216219
.clearValue('*[data-id="modalDialogCustomPromptText"]')

0 commit comments

Comments
 (0)