testing-playground icon indicating copy to clipboard operation
testing-playground copied to clipboard

add an menu with a few markup presets

Open smeijer opened this issue 5 years ago • 4 comments

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

Think of:

  • a signup form
  • a payment form
  • a modal with a form embedded
  • select boxes
  • todo list

More?


Blocked by #152

smeijer avatar Jun 11 '20 14:06 smeijer

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

smeijer avatar Jun 13 '20 19:06 smeijer

@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 😃

aganglada avatar Nov 14 '20 18:11 aganglada

@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 avatar Nov 14 '20 21:11 smeijer

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!

smeijer avatar Nov 14 '20 21:11 smeijer