Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Apr 28, 2023
1 parent 2a12bd8 commit 5f6262a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const drillBy = (targetDrillByColumn: string, isLegacy = false) => {
.find('[role="menuitem"]')
.contains(new RegExp(`^${targetDrillByColumn}$`))
.first()
.click();
.click({ force: true });

if (isLegacy) {
return cy.wait('@legacyData');
Expand Down Expand Up @@ -103,7 +103,7 @@ const testEchart = (
cy.wrap($canvas)
.scrollIntoView()
.trigger(
'mousemove',
'mouseover',
drillClickCoordinates[0][0],
drillClickCoordinates[0][1],
)
Expand Down Expand Up @@ -148,7 +148,7 @@ const testEchart = (
cy.wrap($canvas)
.scrollIntoView()
.trigger(
'mousemove',
'mouseover',
drillClickCoordinates[1][0],
drillClickCoordinates[1][1],
)
Expand Down Expand Up @@ -617,7 +617,7 @@ describe('Drill by modal', () => {
// click 'boy'
cy.wrap($canvas)
.scrollIntoView()
.trigger('mousemove', 70, 93)
.trigger('mouseover', 70, 93)
.rightclick(70, 93);

drillBy('name').then(intercepted => {
Expand Down Expand Up @@ -652,7 +652,7 @@ describe('Drill by modal', () => {
// click second query
cy.wrap($canvas)
.scrollIntoView()
.trigger('mousemove', 510, 356)
.trigger('mouseover', 510, 356)
.rightclick(510, 356);

drillBy('ds').then(intercepted => {
Expand Down

0 comments on commit 5f6262a

Please sign in to comment.