Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

document.body refers to the spec iframe instead of the app iframe #122

@smclt30p

Description

@smclt30p
  • 1.11.1
  • Linux

For example, if you use Clockpicker within a Vue SFC, the clockpicker attaches to the Spec iframe instead of the App iframe because document.body points to the spec iframe, and not the app iframe. This is caused by the following statement:

$(document.body).append(popup);

Thus, Cypress tests fail that are querying anything that is dynamically added to the body. document.body does not point to the app iframe, but the spec iframe.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions