Visitar URL original
ref(tests): Replace waitFor with find in RTL by matejminar · Pull Request #29544 · getsentry/sentry · GitHub
Skip to content

ref(tests): Replace waitFor with find in RTL - #29544

Merged
matejminar merged 2 commits into
masterfrom
ref/rtl-findBy
Oct 25, 2021
Merged

matejminar merged 2 commits into
masterfrom
ref/rtl-findBy

Conversation

@matejminar

Copy link
Copy Markdown
Member

There's a recommendation to use find* to query for something that may not be available right away.

Those two are basically equivalent (find* queries even use waitFor under the hood), but the find* is simpler and the error message we get will be better.

@matejminar
matejminar requested review from a team October 25, 2021 15:11
@matejminar
matejminar merged commit 7c2964e into master Oct 25, 2021
@matejminar
matejminar deleted the ref/rtl-findBy branch October 25, 2021 15:41
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 10, 2021

This branch was successfully deployed

2 active deployments
Preview – sentry — 90d6d445 Deployed Oct 25, 2021 by vercel[bot]
Preview – storybook — 90d6d445 Deployed Oct 25, 2021 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants