Skip to content

Commit

Permalink
Fixes Cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Jan 28, 2022
1 parent 7408280 commit 4ab76ab
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe('Advanced analytics', () => {
cy.login();
cy.intercept('POST', '/superset/explore_json/**').as('postJson');
cy.intercept('GET', '/superset/explore_json/**').as('getJson');
cy.intercept('GET', '/superset/explore/**').as('getExplore');
});

it('Create custom time compare', () => {
Expand All @@ -41,6 +42,7 @@ describe('Advanced analytics', () => {
cy.get('button[data-test="run-query-button"]').click();
cy.wait('@postJson');
cy.reload();
cy.wait('@getExplore');
cy.verifySliceSuccess({
waitAlias: '@postJson',
chartSelector: 'svg',
Expand Down

0 comments on commit 4ab76ab

Please sign in to comment.