-
|
See This is something I miss coming from Testing Library. In our projects at work we would configure As an example, we have an embedded SVG at the top of the output in some cases, and every test failure looks something like this: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
This sounds useful to have. Can you create a feature request? If this is only for filtering error output, we can port Testing library uses is as |
Beta Was this translation helpful? Give feedback.
This sounds useful to have. Can you create a feature request?
If this is only for filtering error output, we can port
createDOMElementFilterplugin from https://github.com/testing-library/dom-testing-library/blob/a86c54ccda5242ad8dfc1c70d31980bdbf96af7f/src/pretty-dom.js#L85-L86Testing library uses is as
getByText, but that part might not work unless playwright supports similar features.