Skip to content

Bug: document.body null causes exceptions when testing with cypress #266

@d-led

Description

@d-led

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

Screenshot 2022-12-20 at 16 50 44

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

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions