You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your idea! I'd update the current prefer-find-by to report this case, instead of creating a new rule. We would need to update the rule description so it indicates that suggests using findBy queries instead of waitFor + queries to wait for elements.
Name for new rule
no-findby-in-waitfor
Description of the new rule
This new rule should prevent the usage of a
findBy
* method inside awaitFor
.Testing Library feature
waitFor
andfindBy
Testing Library framework(s)
all
What category of rule is this?
Suggests an alternate way of doing something
Optional: other category of rule
No response
Code examples
Incorrect usage
Correct usage
Anything else?
No response
Do you want to submit a pull request to make the new rule?
Yes
The text was updated successfully, but these errors were encountered: