Skip to content

isVisible() is not a function #436

Closed
@Prior99

Description

@Prior99

Version

1.0.0-beta.11

Reproduction link

https://codesandbox.io/s/mo2r2y6j09

Steps to reproduce

Use the function isVisible() according to the documentation.

What is expected?

The test utilities check whether an element in the wrapper is visible.

What is actually happening?

A TypeError occurs:

TypeError: el.find(...).visible is not a function

This is related to #327, the method indeed exists but is called visible() and not isVisible().

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