Skip to content

Add waitForElementToBeRemoved API #375

@mdjastrzebski

Description

@mdjastrzebski

Describe the Feature

RTL contains a waitForElementToBeRemoved method for detecting if some element has been removed asynchronously (e.g. with animation). This type of query is not very straigthforward using existing waitFor method.

Possible Implementations

Implement waitForElementToBeRemoved based on RTL's implementation. Note it seems that you can use getBy, getAllBy as well as queryBy and queryAllBy with it.

Related Issues

N/A

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