Storybook Testing Library
Storybook integration for Testing Library, instrumented for use with the Interactions addon.
For documentation, check the Storybook docs
In Storybook 8, this package functionality has been integrated to a new package called @storybook/test, which uses Vitest APIs for an improved experience. When upgrading to Storybook 8 with 'npx storybook@latest upgrade', you will get prompted and will get an automigration for the new package. Please migrate when you can.
Instrumented version of Testing Library for Storybook Interactions
Storybook integration for Testing Library, instrumented for use with the Interactions addon.
For documentation, check the Storybook docs
:tada: This release contains work from a new contributor! :tada:
Thank you, Valentin Palkovic (@valentinpalkovic), for all your work!
:tada: This release contains work from a new contributor! :tada:
Thank you, Vanessa Yuen (@vanessayuenn), for all your work!
@storybook/testing-library
now uses @testing-library/dom
version 9 and @testing-library/user-event
version 14! 🎉
To refer to new features and bugfixes and you can check them in the user-event release page and testing-library dom release page.
@storybook/testing-library
now uses @testing-library/dom
version 9 and @testing-library/user-event
version 14! 🎉
To refer to new features and bugfixes and you can check them in the user-event release page and testing-library dom release page.
future
npm tag to next
#44 (@yannbf):tada: This release contains work from a new contributor! :tada:
Thank you, Kasper Peulen (@kasperpeulen), for all your work!
waitFor
interceptable and don't override interval/timeout #23 (@ghengeveld @yannbf)Unfortunately @storybook/testing-library
had to downgrade @testing-library/user-event
to version 13. User event v14 is working ok for most projects, but projects using Svelte, Vue, HTML and Web components break because of an issue in one of user-event's dependencies.
If you are not affected by this problem and want to use @storybook/testing-library
with user-event v14, you can use the @storybook/testing-library@beta
version.
@storybook/testing-library
now uses @testing-library/user-event
version 14! 🎉
There are several new features and bugfixes and you can check them in the user-event release page.
:tada: This release contains work from new contributors! :tada:
Thanks for all your work!
:heart: Yann Braga (@yannbf)
:heart: Gert Hengeveld (@ghengeveld)
:heart: Jean-Michel FRANCOIS (@jmfrancois)
:heart: Michael Shilman (@shilman)
main