Skip to content
Discussion options

You must be logged in to vote

This sounds useful to have. Can you create a feature request?

If this is only for filtering error output, we can port createDOMElementFilter plugin from https://github.com/testing-library/dom-testing-library/blob/a86c54ccda5242ad8dfc1c70d31980bdbf96af7f/src/pretty-dom.js#L85-L86

Testing library uses is as getByText, but that part might not work unless playwright supports similar features.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ezzatron
Comment options

@ezzatron
Comment options

Answer selected by ezzatron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants