-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
TriagedIssue has been routed to backlog. This is not a commitment to have it prioritized by the team.Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.pkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorypkg/runnerThis is due to an issue in the packages/runner directoryThis is due to an issue in the packages/runner directorytype: unexpected behaviorUser expected result, but got anotherUser expected result, but got another
Description
Current behavior
Some components (for CT) and websites (for E2E) throw a ResizeObserver
error when visited/mounted in Cypress' AUT, but not when accessed regularly. This seems to be a Chrome specific issue. Sometimes, this causes my test to fail when running in Cypress.
This now-closed PR contains more info about the error and some discussion.
Desired behavior
Do not error in Cypress.
Test code to reproduce
https://github.com/lmiller1990/resize-observer-error
See README.md for details. This is an example using Cypress 9.x. Same error in CT and E2E.
Cypress Version
9.x, probably older
Other
Google "ResizeObserver Cypress", this issue has been around for a long time, at least since 4.x.
NiklasPor, DeyLak, damian-krupa, zbjornson, straurob and 2 more
Metadata
Metadata
Assignees
Labels
TriagedIssue has been routed to backlog. This is not a commitment to have it prioritized by the team.Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.pkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorypkg/runnerThis is due to an issue in the packages/runner directoryThis is due to an issue in the packages/runner directorytype: unexpected behaviorUser expected result, but got anotherUser expected result, but got another