testing-library / testing-playground

Simple and complete DOM testing playground that encourage good testing practices.
https://testing-playground.com
MIT License
788 stars 62 forks source link

add an menu with a few markup presets #133

Open smeijer opened 4 years ago

smeijer commented 4 years ago

This would enable users to play with different cases in an easy way.

Think of:

More?


Blocked by #152

smeijer commented 4 years ago

Can be build on top of #152, just add a couple of gist ids 🙂

aganglada commented 3 years ago

@smeijer should we create those gists under the @testing-library organisation? (So they don't get lost, or deleted by mistake)

I will give this a shot once you confirm this 😃

smeijer commented 3 years ago

@aganglada, testing-playground has its own bot account to hosts gists.

If you create a playground and copy the share url, the gist is automatically saved. Post the link (share url) to that playground here, and we can decide which ones are worth to add as preset. 😊

smeijer commented 3 years ago

BTW, when working on this, remember that it's also possible to make things interactive. It's possible to add <script type="javascript">... </script> to the markup area. That can create awesome cases!