Skip to content

waitForElement causes test to hang indefinitely in codesandbox #357

Closed
@afholderman

Description

@afholderman
  • react-testing-library version: 5.8.0
  • react version: 16.8.0
  • node version:
  • npm (or yarn) version:

Relevant code or config:

CodeSandbox repo: https://codesandbox.io/s/8y48jm7rn8

Problem description:

Attempting to use waitForElement in CodeSandbox causes the test to hang indefinitely. In an actual project the issue presented differently with waitForElement never successfully finding the element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions