Skip to content

Commit

Permalink
Fixes E2E test
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Nov 9, 2022
1 parent c9f8796 commit 82d6eca
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,14 +409,14 @@ describe('Drill to detail modal', () => {

cy.get("[data-test-viz-type='world_map'] svg").then($canvas => {
cy.wrap($canvas).scrollIntoView().rightclick(70, 150);
openModalFromChartContext('Drill to detail by United States');
cy.getBySel('filter-val').should('contain', 'United States');
openModalFromChartContext('Drill to detail by USA');
cy.getBySel('filter-val').should('contain', 'USA');
closeModal();
});
cy.get("[data-test-viz-type='world_map'] svg").then($canvas => {
cy.wrap($canvas).scrollIntoView().rightclick(200, 140);
openModalFromChartContext('Drill to detail by Slovakia');
cy.getBySel('filter-val').should('contain', 'Slovakia');
openModalFromChartContext('Drill to detail by SLV');
cy.getBySel('filter-val').should('contain', 'SLV');
});
});
});
Expand Down

0 comments on commit 82d6eca

Please sign in to comment.