Select some area in Cypress #28630
Replies: 1 comment
-
solved by adding {button: 0} to options for each trigger func. That means were clicking fith left button (1 is middle button and 2 is right button on mouse) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Need to make such logic: I have calendar and i need to test if i cannot overlap few events in here. For this i need to simulate selection with cursor
Thats what i want to see:
cypress.q.mov
And there's what i've tried:
cy.get(
td.fc-timegrid-slot.fc-timegrid-slot-lane[data-time="03:00:00"]) .trigger("mousedown", "topLeft") .trigger("mousemove") .trigger("mouseup", "center");
Beta Was this translation helpful? Give feedback.
All reactions