-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Describe the feature you'd like:
When I'm writing my tests I often find myself in a state when I need to know what's going on on the page. To accomplish this I usually write something like this: getByText('something that for sure is not on the page'). This way I have an error and the HTML is shown. I think it would be useful to expose a debug method that does more or less the same thing.
Suggested implementation:
I guess we can reuse the same code used to show error messages
Describe alternatives you've considered:
I tried to console.log(container.innerHTML) but it's all on the same line and hard to follow.
Teachability, Documentation, Adoption, Migration Strategy:
Metadata
Metadata
Assignees
Labels
No labels