diff --git a/superset-frontend/cypress-base/cypress/integration/explore/AdhocFilters.test.ts b/superset-frontend/cypress-base/cypress/integration/explore/AdhocFilters.test.ts index d38a60a6f7..c51da29acd 100644 --- a/superset-frontend/cypress-base/cypress/integration/explore/AdhocFilters.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/explore/AdhocFilters.test.ts @@ -22,6 +22,7 @@ describe('AdhocFilters', () => { cy.server(); cy.route('GET', '/superset/explore_json/**').as('getJson'); cy.route('POST', '/superset/explore_json/**').as('postJson'); + cy.route('GET', '/superset/filter/table/*/name').as('filterValues'); }); it('Set simple adhoc filter', () => { @@ -56,6 +57,8 @@ describe('AdhocFilters', () => { cy.get('input[type=text]').focus().type('name{enter}'); }); + cy.wait('@filterValues'); + cy.get('#filter-edit-popover').within(() => { cy.get('#adhoc-filter-edit-tabs-tab-SQL').click(); cy.get('.ace_content').click();