Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Support for Testing Library Playground Utility #3262

Open
Noriller opened this issue Aug 23, 2023 · 1 comment
Open

Request: Support for Testing Library Playground Utility #3262

Noriller opened this issue Aug 23, 2023 · 1 comment

Comments

@Noriller
Copy link

Issue description or question

Testing Library has this convenience:
https://testing-library.com/docs/dom-testing-library/api-debugging/#screenlogtestingplaygroundurl

This opens the playground with the exact dom that's being tested. If, as you're changing code it would open that somewhere and keep updating... it would greatly speed up testing the frontend.

Today I'm logging the URL, and clicking the link every time I need to see changes.

It could be, perhaps, a tab running like an iframe inside the tests explorer that opens in the browser. Each change changes the value that reloads the page.

@smcenlly
Copy link
Member

Thanks for the feature suggestion. This is something we had briefly considered in the past, but we're not entirely sure how expensive this would be or how much overhead it would add.

Marking as a feature request, and we will evaluate in our future planning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants