From 7b716ad61eac09b56b1155f00e2cdbe504f34464 Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 18 Jun 2021 14:10:43 +0200 Subject: [PATCH] fix e2e --- apps/remix-ide-e2e/src/tests/ballot.test.ts | 9 ++++++--- apps/remix-ide-e2e/src/tests/debugger.spec.ts | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/ballot.test.ts b/apps/remix-ide-e2e/src/tests/ballot.test.ts index b44b17746e..aa6d507120 100644 --- a/apps/remix-ide-e2e/src/tests/ballot.test.ts +++ b/apps/remix-ide-e2e/src/tests/ballot.test.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 } } diff --git a/apps/remix-ide-e2e/src/tests/debugger.spec.ts b/apps/remix-ide-e2e/src/tests/debugger.spec.ts index 78406a7b8d..0baeee65b3 100644 --- a/apps/remix-ide-e2e/src/tests/debugger.spec.ts +++ b/apps/remix-ide-e2e/src/tests/debugger.spec.ts @@ -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() } }