From dc6e0d97e2f195fd99fa2810740e2d9ecb3db3be Mon Sep 17 00:00:00 2001 From: filip mertens Date: Thu, 7 Apr 2022 17:03:25 +0200 Subject: [PATCH] clear input --- apps/remix-ide-e2e/src/tests/search.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/tests/search.test.ts b/apps/remix-ide-e2e/src/tests/search.test.ts index 5f201651bf..2f7596a4e4 100644 --- a/apps/remix-ide-e2e/src/tests/search.test.ts +++ b/apps/remix-ide-e2e/src/tests/search.test.ts @@ -46,7 +46,7 @@ module.exports = { browser .waitForElementVisible('*[data-id="search_use_regex"]').click('*[data-id="search_use_regex"]') .waitForElementVisible('*[id="search_input"]') - .clearValue('*[id="search_input"]') + .clearValue('*[id="search_input"]').pause(2000) .setValue('*[id="search_input"]', '^contract').sendKeys('*[id="search_input"]', browser.Keys.ENTER).pause(3000) .waitForElementContainsText('*[data-id="search_results"]', '3_BALLOT.SOL', 60000) .waitForElementContainsText('*[data-id="search_results"]', '2_OWNER.SOL', 60000)