From 16c45865a2e0d501be3acb48f60cd2fc08e9fc36 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 18 Oct 2024 13:07:29 +0530 Subject: [PATCH] fix search e2e --- apps/remix-ide-e2e/src/tests/search.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/search.test.ts b/apps/remix-ide-e2e/src/tests/search.test.ts index 905aa839f6..a9d516e82a 100644 --- a/apps/remix-ide-e2e/src/tests/search.test.ts +++ b/apps/remix-ide-e2e/src/tests/search.test.ts @@ -24,7 +24,7 @@ module.exports = { .waitForElementContainsText('*[data-id="search_results"]', 'sender.voted') .waitForElementContainsText('*[data-id="search_results"]', 'read') .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, 7) }) }, 'Should find text with exclude #group1': function (browser: NightwatchBrowser) { @@ -34,7 +34,7 @@ module.exports = { .clearValue('*[id="search_include"]').pause(2000) .setValue('*[id="search_include"]', '**').sendKeys('*[id="search_include"]', browser.Keys.ENTER).pause(4000) .elements('css selector', '.search_plugin_search_line', (res) => { - Array.isArray(res.value) && browser.assert.equal(res.value.length, 62) + Array.isArray(res.value) && browser.assert.equal(res.value.length, 63) }) .setValue('*[id="search_exclude"]', ',contracts/**').sendKeys('*[id="search_exclude"]', browser.Keys.ENTER).pause(4000) .elements('css selector', '.search_plugin_search_line', (res) => {