You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the tests that use clock.install(), will fail because the return value of Date.now() is not an integer
Additional context
Having Date.now() return a float value will affect the test ecosystem if the Js from the AUT will try to use the return value of Date.now() as an integer.
Note that from my runs i have noticed that only the tests that use page.waitForTimeout() might cause the issue to appear.
Environment
System:
OS: macOS Sonoma 14.5
CPU: Apple M1 Pro
Binaries:
Node: v20.9.0
npm: 10.1.0
npmPackages:
@playwright/test: 1.45.1
The text was updated successfully, but these errors were encountered:
Version
1.45.1
Steps to reproduce
Expected behavior
All tests should pass
Actual behavior
Some of the tests that use clock.install(), will fail because the return value of Date.now() is not an integer
Additional context
Having Date.now() return a float value will affect the test ecosystem if the Js from the AUT will try to use the return value of Date.now() as an integer.
Note that from my runs i have noticed that only the tests that use page.waitForTimeout() might cause the issue to appear.
Environment
The text was updated successfully, but these errors were encountered: