Skip to content

feat: Print link to the Testing-Library playground when getBy* queries fail#852

Open
mathiassoeholm wants to merge 13 commits intotesting-library:mainfrom
mathiassoeholm:pr/playground-link-in-error-message
Open

feat: Print link to the Testing-Library playground when getBy* queries fail#852
mathiassoeholm wants to merge 13 commits intotesting-library:mainfrom
mathiassoeholm:pr/playground-link-in-error-message

Conversation

@mathiassoeholm
Copy link
Copy Markdown

@mathiassoeholm mathiassoeholm commented Dec 19, 2020

What:

Adds a link to the Testing-Library playground, when getBy* queries fail, as requested in #837.

Why:

It adds awareness of the playground, which might help in making a better query.

How:

Changes the default getElementError function.

Checklist:

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants