diff --git a/apps/remix-ide-e2e/src/tests/search.test.ts b/apps/remix-ide-e2e/src/tests/search.test.ts index f0cc787924..fac4d1796a 100644 --- a/apps/remix-ide-e2e/src/tests/search.test.ts +++ b/apps/remix-ide-e2e/src/tests/search.test.ts @@ -49,10 +49,11 @@ module.exports = { .clearValue('*[id="search_input"]') .setValue('*[id="search_input"]', 'Contract').pause(1000) .elements('css selector','.search_plugin_search_line', (res) => { - Array.isArray(res.value) && browser.assert.equal(res.value.length, 6) + Array.isArray(res.value) && browser.assert.equal(res.value.length, 9) }) .waitForElementContainsText('*[data-id="search_results"]', 'DEPLOY_ETHERS.JS', 60000) - .waitForElementContainsText('*[data-id="search_results"]', 'DEPLOY_WEB3.JS', 60000) + .waitForElementContainsText('*[data-id="search_results"]', 'DEPLOY_WEB3.JS', 60000) + .waitForElementContainsText('*[data-id="search_results"]', 'STORAGE.TEST.JS', 60000) .waitForElementContainsText('*[data-id="search_results"]', 'scripts', 60000) }, 'Should find matchword': function (browser: NightwatchBrowser) { diff --git a/apps/remix-ide-e2e/src/tests/terminal.test.ts b/apps/remix-ide-e2e/src/tests/terminal.test.ts index 0f90f84199..5a6e588226 100644 --- a/apps/remix-ide-e2e/src/tests/terminal.test.ts +++ b/apps/remix-ide-e2e/src/tests/terminal.test.ts @@ -121,13 +121,13 @@ module.exports = { }, 'Run tests using Mocha script and check result logging in the terminal #group4': function (browser: NightwatchBrowser) { browser - .addFile('scripts/storage.test.js', { content: storageMochaTests }) + .addFile('scripts/storage2.test.js', { content: storageMochaTests }) .pause(1000) .openFile('contracts/1_Storage.sol') .clickLaunchIcon('solidity') .click('*[data-id="compilerContainerCompileBtn"]') .pause(1000) // compile Storage - .executeScript('remix.execute(\'scripts/storage.test.js\')') + .executeScript('remix.execute(\'scripts/storage2.test.js\')') .pause(1000) .waitForElementContainsText('*[data-id="terminalJournal"]', 'Running tests....') .waitForElementContainsText('*[data-id="terminalJournal"]', 'storage contract Address:')