pull/5370/head
yann300 4 years ago
parent a59cd8b977
commit b20ab527f9
  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: { chairperson: {
value: '0xCA35B7D915458EF540ADE6068DFE2F44E8FA733C', value: '0xCA35B7D915458EF540ADE6068DFE2F44E8FA733C',
type: 'address', type: 'address',
constant: false constant: false,
immutable: false
}, },
voters: { voters: {
value: { value: {
@ -148,7 +149,8 @@ const stateCheck = {
} }
}, },
type: 'mapping(address => struct Ballot.Voter)', type: 'mapping(address => struct Ballot.Voter)',
constant: false constant: false,
immutable: false
}, },
proposals: { proposals: {
value: [ value: [
@ -168,7 +170,8 @@ const stateCheck = {
], ],
length: '0x1', length: '0x1',
type: 'struct Ballot.Proposal[]', type: 'struct Ballot.Proposal[]',
constant: false constant: false,
immutable: false
} }
} }

@ -228,7 +228,7 @@ module.exports = {
.waitForElementVisible('*[data-id="solidityLocals"]', 60000) .waitForElementVisible('*[data-id="solidityLocals"]', 60000)
.pause(10000) .pause(10000)
.checkVariableDebug('soliditylocals', { num: { value: '2', type: 'uint256' } }) .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() .end()
} }
} }

Loading…
Cancel
Save