Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Jun 8, 2022
1 parent 8adc8be commit f2ce49e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ describe('VizType control', () => {

cy.contains('View all charts').click();

cy.get('button').contains('Evolution').click(); // change categories
cy.get('[role="button"]').contains('Line Chart').click({ force: true });
cy.get('button').contains('Select').click({ force: true });
cy.get('.ant-modal-content').within(() => {
cy.get('button').contains('Evolution').click(); // change categories
cy.get('[role="button"]').contains('Line Chart').click();
cy.get('button').contains('Select').click();
});

cy.get('button[data-test="run-query-button"]').click();
cy.verifySliceSuccess({
Expand Down

0 comments on commit f2ce49e

Please sign in to comment.