diff --git a/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts b/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts index 3c195c99cd..c96f702339 100644 --- a/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts +++ b/apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts @@ -244,13 +244,14 @@ module.exports = { .waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000) .waitForElementPresent('#solidityUnittestsOutput div[class^="testPass"]', 60000) .waitForElementContainsText('#solidityUnittestsOutput', 'tests/hhLogs_test.sol', 60000) - .assert.containsText('#journal > div:nth-child(3) > span', 'Before all:') - .assert.containsText('#journal > div:nth-child(3) > span', 'Inside beforeAll') - .assert.containsText('#journal > div:nth-child(4) > span', 'Check sender:') - .assert.containsText('#journal > div:nth-child(4) > span', 'msg.sender is 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4') - .assert.containsText('#journal > div:nth-child(5) > span', 'Check int logs:') - .assert.containsText('#journal > div:nth-child(5) > span', '10 20') - .assert.containsText('#journal > div:nth-child(5) > span', 'Number is 25') + .pause(2000) + .assert.containsText('#journal > div:nth-child(4) > span', 'Before all:') + .assert.containsText('#journal > div:nth-child(4) > span', 'Inside beforeAll') + .assert.containsText('#journal > div:nth-child(5) > span', 'Check sender:') + .assert.containsText('#journal > div:nth-child(5) > span', 'msg.sender is 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4') + .assert.containsText('#journal > div:nth-child(6) > span', 'Check int logs:') + .assert.containsText('#journal > div:nth-child(6) > span', '10 20') + .assert.containsText('#journal > div:nth-child(6) > span', 'Number is 25') .openFile('tests/hhLogs_test.sol') .removeFile('tests/hhLogs_test.sol', 'workspace_new') },