pull/5370/head
yann300 3 years ago committed by joseph izang
parent d6a32e373f
commit ffb400a1e4
  1. 9
      apps/remix-ide-e2e/src/tests/ballot.test.ts
  2. 2
      apps/remix-ide-e2e/src/tests/debugger.spec.ts

@ -121,7 +121,8 @@ const stateCheck = {
chairperson: {
value: '0xCA35B7D915458EF540ADE6068DFE2F44E8FA733C',
type: 'address',
constant: false
constant: false,
immutable: false
},
voters: {
value: {
@ -148,7 +149,8 @@ const stateCheck = {
}
},
type: 'mapping(address => struct Ballot.Voter)',
constant: false
constant: false,
immutable: false
},
proposals: {
value: [
@ -168,7 +170,8 @@ const stateCheck = {
],
length: '0x1',
type: 'struct Ballot.Proposal[]',
constant: false
constant: false,
immutable: false
}
}

@ -228,7 +228,7 @@ module.exports = {
.waitForElementVisible('*[data-id="solidityLocals"]', 60000)
.pause(10000)
.checkVariableDebug('soliditylocals', { num: { value: '2', type: 'uint256' } })
.checkVariableDebug('soliditystate', { number: { value: '0', type: 'uint256', constant: false } })
.checkVariableDebug('soliditystate', { number: { value: '0', type: 'uint256', constant: false, immutable: false } })
.end()
}
}

Loading…
Cancel
Save