Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Custom Function Matcher isn't matching #374

Open
Labels
bugSomething isn't working
@Fullchee

Description

Bug Report 🐛

Custom Function Matcher doesn't seem to work in the Testing Playground

Image

To Reproduce ✔️

https://testing-playground.com/gist/141dafaa518e99351341c78747a75eed/f98b347bd2906d644a4571e9b17b50f6c9e59d02

Given the HTML

<p>Hello <strong>World</strong></p>

should this query be able to select Hello World

screen.getByText(
 (_, element) => element.textContent === 'Hello World'
);

However, the playground isn't catching it

Expected behavior 🤔

It should be able to match Hello World

Your Environment 💻

  • browser: Chrome
  • os: Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /