Skip to content

find is deprecated, findComponent fails #1643

Closed
@cyberalien

Description

@cyberalien

Subject of the issue

Function find() was deprecated, but there is no viable alternative.

Steps to reproduce

Replaced find() with findComponent() as per deprecation notice.

Expected behaviour

Renaming function should not change its behavior, tests should continue to run.

Actual behaviour

Tests started to fail with this error: You cannot chain findComponent off a DOM element. It can only be used on Vue Components.

How to continue testing DOM elements created by Vue component after find() is gone?

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