Skip to content

Commit

Permalink
Increasing timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry authored and mergatron[bot] committed Oct 10, 2024
1 parent 785a4c5 commit d6243c8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/framer-motion/cypress/integration/drag-to-reorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,19 @@ describe("Drag to reorder", () => {
const delta = 20
chain = chain
.trigger("pointerdown", 360, baseY, { force: true })
.wait(50)
.wait(150)

steps.forEach((step) => {
Array.from({ length: Math.abs(step) }).forEach(() => {
const y = step > 0 ? delta : -delta
chain = chain
.trigger("pointermove", 360, baseY + y, { force: true })
.wait(100)
.wait(150)
})
})
return chain
.trigger("pointerup", 360, baseY, { force: true })
.wait(100)
.wait(150)
}

const chain = checkBox(
Expand Down

0 comments on commit d6243c8

Please sign in to comment.