Skip to content

Commit

Permalink
Loosening waapi timings
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 43390ca commit 8d420d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/react/src/tests/waapi-sync.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const App = () => {
syncExplicitAnimation.startTime?.toString() ||
"sync explicit start time not available"
)
}, 300)
}, 500)

return () => {
waapiAnimation.stop()
Expand Down
2 changes: 1 addition & 1 deletion packages/framer-motion/cypress/integration/waapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe("waapi", () => {

it("Should match WAAPI and main thread startTimes, and allow explicitly setting startTime", () => {
cy.visit("?test=waapi-sync")
.wait(700)
.wait(800)
// Automatically recorded startTime should be the same between main thread and WAAPI
.get(".auto-timer")
.should(([waapi, sync]: any) => {
Expand Down

0 comments on commit 8d420d2

Please sign in to comment.