Skip to content

Commit

Permalink
Enhance test
Browse files Browse the repository at this point in the history
  • Loading branch information
geido committed Oct 4, 2022
1 parent 5571142 commit 03886f9
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,17 @@ describe('Drill to detail modal', () => {

cy.getBySel('filter-val').should('not.exist');

// TODO(geido): opens the modal by clicking on the trendline
// proved to be flaky, requires deeper investigation
closeModal();

// opens the modal by clicking on the trendline
cy.get("[data-test-viz-type='big_number'] canvas").then($canvas => {
cy.wrap($canvas).scrollIntoView().click(1, 14).rightclick(1, 14);

openModalFromChartContext('Drill to detail by 1965');

// checking the filter
cy.getBySel('filter-val').should('contain', '1965');
});
});
});

Expand Down

0 comments on commit 03886f9

Please sign in to comment.