fix(cypress): wait for filterValues request (#10884)
This commit is contained in:
parent
2a6bcbb1eb
commit
045335a687
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue