From 0752314d87311d37fd4c6d8ea1484a9a47b075a8 Mon Sep 17 00:00:00 2001 From: Charles Bachmeier Date: Thu, 5 Oct 2023 11:08:39 -0700 Subject: [PATCH] fix: click on test row directly (#7424) --- cypress/e2e/universal-search.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/universal-search.test.ts b/cypress/e2e/universal-search.test.ts index aaddb41f9d..f8335c5646 100644 --- a/cypress/e2e/universal-search.test.ts +++ b/cypress/e2e/universal-search.test.ts @@ -65,7 +65,7 @@ describe('Universal search bar', () => { cy.get(getTestSelector('searchbar-token-row-ETHEREUM-NATIVE')) // Validate that we go to the searched/selected result. - getSearchBar().type('{enter}') + cy.get(getTestSelector('searchbar-token-row-ETHEREUM-NATIVE')).click() cy.url().should('contain', 'tokens/ethereum/NATIVE') } )