fix: click on test row directly (#7424)

This commit is contained in:
Charles Bachmeier 2023-10-05 11:08:39 -07:00 committed by GitHub
parent 9db5fd104a
commit 0752314d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,7 +65,7 @@ describe('Universal search bar', () => {
cy.get(getTestSelector('searchbar-token-row-ETHEREUM-NATIVE')) cy.get(getTestSelector('searchbar-token-row-ETHEREUM-NATIVE'))
// Validate that we go to the searched/selected result. // 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') cy.url().should('contain', 'tokens/ethereum/NATIVE')
} }
) )