-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: document.body
null
causes exceptions when testing with cypress
#266
Comments
@d-led tested it with your repository, but cannot reproduce it. Screen.Recording.2023-01-12.at.09.16.55.mov |
@danielleroux did you hover over the steps? visit, get, click, etc |
@d-led i think this issue is more related to cypress ui not to ix. |
as a clarification: cypress mounts a DOM snapshot when hovering over a step. One can see it as a cypress issue or a robustness issue of ix. Cypress is a major UI automation tool and it's likely that users of ix will use it. I've looked at the code, and specifically this event listener is set up on the Other parts of ix seem to work fine with cypress |
@danielleroux superb. glad to hear! |
What happened?
Problem
when testing an Angular Ix app with Cypress (e2e) and hovering over the test steps, the cypress-controlled browser throws exceptions in popover.util.ts:L37 or may hang.
Full reproduction step by step in a minimal repo: https://github.com/d-led/angular-ix-cypress#cypress-e2e-documentbody-is-null-in-popoverdestroy-bug-reproduction
What type of frontend frameware are you seeing the problem on?
Angular
Which version of iX do you use?
v1.2.1
Code to produce this issue.
https://github.com/d-led/angular-ix-cypress
The text was updated successfully, but these errors were encountered: