Commit 3dab1da5 authored by Nate Wienert's avatar Nate Wienert Committed by GitHub

fix: cypress flaky token details test (#7193)

improve cypress test
parent 6ec9bb73
...@@ -11,6 +11,10 @@ describe('Token explore filter', () => { ...@@ -11,6 +11,10 @@ describe('Token explore filter', () => {
function searchFor(filter: string) { function searchFor(filter: string) {
cy.get('[data-cy="explore-tokens-search-input"]').clear().type(filter).type('{enter}') cy.get('[data-cy="explore-tokens-search-input"]').clear().type(filter).type('{enter}')
// wait for it to finish the filtered render
cy.get('[data-cy="token-name"]').first().contains(filter, {
matchCase: false,
})
} }
it('should filter correctly by dao search term', () => { it('should filter correctly by dao search term', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment