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
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.
The text was updated successfully, but these errors were encountered:
Yes, I do think there is not a problem, especially for this plugin which is trying to take the value through the cypress UI that renders the app in iframe. I actually don't know how to make it more stable, so using closeTo is a way to go.
Many tests in are failing in
click.spec.ts
,hover.spec.ts
, andmouse.spec.ts
when I run them locally in the Cypress Test Runner using theyarn 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.
The text was updated successfully, but these errors were encountered: