Closed
Description
Many tests in are failing in click.spec.ts
, hover.spec.ts
, and mouse.spec.ts
when I run them locally in the Cypress Test Runner using the yarn run cypress open
command. Please see the screenshots below.
All tests pass in headless mode.
The reason for the headed failures are that the top offset of the element is expected to be an integer but the actual value has a decimal of usually 0.1875.
Is this issue reproducible? Is it a serious issue?
The fix seems quite easy and works well for me locally. We can just change the Cypress comparison to allow for the small deviation. It seems like a relatively safe change.
Metadata
Metadata
Assignees
Labels
No labels