chore(deps): update dependency @storybook/test-runner to ^0.20.0 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@storybook/test-runner | devDependencies | minor | ^0.10.0 -> ^0.20.0 |
Release Notes
storybookjs/test-runner (@storybook/test-runner)
v0.20.1
🐛 Bug Fix
Authors: 1
- Yann Braga (@yannbf)
v0.20.0
Release Notes
Refactor: Align with Storybook 8.2 core package layout
This is a structural change that shouldn't really affect you. As long as you have the storybook
dependency in your app (which you should), you're good! This change makes it so that the test-runner deduplicates Storybook dependencies, and therefore, slims down your node_modules size.
#494)
Feature: Run postVisit on failures (The test-runner's postVisit hook now runs even if there are failures. This allows you to, for instance, take snapshots on component failures. You can check whether the test has failed via the hasFailure
property in the context passed to the hook:
const config: TestRunnerConfig = {
async postVisit(_page, context) {
if(context.hasFailure) {
console.log('problems!')
// do a snapshot, write a log, or anything you like
}
},
}
🚀 Enhancement
- Feature: Run postVisit on failures #494 (@yannbf)
- Align with Storybook 8.2 core package layout #512 (@yannbf)
📝 Documentation
Authors: 6
v0.19.1
🐛 Bug Fix
- Release 0.19.1 #493 (@paulgv @yannbf)
- fix(deps): upgrade
@storybook/csf
to v0.1.11 #491 (@paulgv)
Authors: 2
v0.19.0
🚀 Enhancement
- Release 0.19.0 #486 (@yannbf filip.witosz+textace@gmail.com @ysgk)
- Feat: Add errorMessageFormatter #468 (@yannbf filip.witosz+textace@gmail.com)
🐛 Bug Fix
- Fix: Combine tags correctly when transforming story files #485 (@yannbf)
- Fix contents of eject functionality #483 (@yannbf)
- Unpin @swc/core from 1.5.7 #481 (@ysgk)
Authors: 3
- @ysgk
- Foxhoundn (@Foxhoundn)
- Yann Braga (@yannbf)
v0.18.2
🐛 Bug Fix
- Release 0.18.2 #476 (@shilman @valentinpalkovic @yannbf)
- Fix 8.1.4+ support for v5 index.json #475 (@shilman @yannbf)
- Pin
@swc/core
to 1.5.7 #474 (@shilman)
Authors: 3
- Michael Shilman (@shilman)
- Valentin Palkovic (@valentinpalkovic)
- Yann Braga (@yannbf)
v0.18.1
🐛 Bug Fix
- Release 0.18.1 #466 (@yannbf)
- Fix Windows support in coverage generation #461 (@yannbf)
- Fix getStoryContext type #462 (@yannbf)
- Fix: Skip requiring a main.js file in index.json mode #464 (@yannbf)
Authors: 1
- Yann Braga (@yannbf)
v0.18.0
🚀 Enhancement
- Release 0.18.0 #458 (@skratchdot @yannbf)
- Fix coverage reports, add lcov as extra reporter #456 (@yannbf)
🐛 Bug Fix
- add
--testTimeout
cli option from jest #409 (@skratchdot @yannbf)
Authors: 2
- ◬ (@skratchdot)
- Yann Braga (@yannbf)
v0.17.0
🚀 Enhancement
- Release 0.17.0 #438 (@JReinhold @shilman @valentinpalkovic @yannbf @ndelangen)
- Support Storybook 8 #429 (@yannbf)
- Support unhandled rendering errors #421 (@yannbf)
🐛 Bug Fix
- Prebundle dependencies #431 (@yannbf)
- Update internal example to Storybook 8 #430 (@yannbf)
- swap storybook/jest to storybook/test #427 (@ndelangen)
- Add MR template #428 (@yannbf)
- Fix build step #425 (@valentinpalkovic)
- Remove --prerelease from sb upgrade CI #423 (@JReinhold)
- Support stories with meta id for permalinking #419 (@yannbf)
📝 Documentation
- Docs: Add remark regarding pnp support #432 (@yannbf)
- docs: replace postRender(deprecated) with postVisit #418 (@junkisai)
Authors: 6
- Jeppe Reinhold (@JReinhold)
- Junki Saito (@junkisai)
- Michael Shilman (@shilman)
- Norbert de Langen (@ndelangen)
- Valentin Palkovic (@valentinpalkovic)
- Yann Braga (@yannbf)
v0.16.0
🚀 Enhancement
🐛 Bug Fix
- Filter duplicated error messages in browser logs #405 (@yannbf)
- Fix sync issues between tests #404 (@yannbf)
- Refactor: Extract the setup page scripts into a separate file #403 (@yannbf)
- Docs: Adds feedback form to migration documentation #402 (@jonniebigodes)
- Bump
jest-playwright-preset
fromv3.0.1
tov4.0.0
#400 (@kemuridama) - Improve type safety and code quality #383 (@bryanjtc @yannbf)
- Refactor: Improve internal code #378 (@bryanjtc @yannbf)
Authors: 4
- @jonniebigodes
- Bryan Thomas (@bryanjtc)
- Ryo Ochiai (@kemuridama)
- Yann Braga (@yannbf)
v0.15.2
🐛 Bug Fix
- Remove Node 14 from engines field #353 (@legobeat @yannbf)
- Docs: Add react native remark to troubleshooting section #398 (@yannbf)
- Fix "Browser has been closed" crash on uncaught page errors #397 (@yannbf)
- Clarify difference between skipped and excluded tags #396 (@IanVS @yannbf)
- Refactor: Rename "render" hooks to "visit" hooks #394 (@yannbf)
- Docs: Update tags documentation #393 (@yannbf)
Authors: 3
- @legobeat
- Ian VanSchooten (@IanVS)
- Yann Braga (@yannbf)
v0.15.1
🐛 Bug Fix
Authors: 2
v0.15.0
🚀 Enhancement
🐛 Bug Fix
- fix: switch
checkStorybook
to useGET
method #385 (@stramel) - Chore: update wait-on and lockfile #389 (@yannbf)
- Add storyshots migration guides #380 (@yannbf @shilman @jonniebigodes)
Authors: 4
- @jonniebigodes
- Michael Shilman (@shilman)
- Michael Stramel (@stramel)
- Yann Braga (@yannbf)
v0.14.1
🐛 Bug Fix
Authors: 1
- Yann Braga (@yannbf)
v0.14.0
🚀 Enhancement
- Feature: Support .story files #376 (@yannbf)
- BREAKING: Upgrade Jest to v29 #348 (@yannbf @legobeat)
- BREAKING: Bump minimum Node.js version to ^14.15.0 #354 (@legobeat)
- Add waitForPageReady utility #361 (@yannbf)
🐛 Bug Fix
- Documentation: restructure docs and include more recipes #373 (@yannbf)
- Run nyc with correct packager manager command #364 (@ferdinandhummel-gph @yannbf)
- deps/devDeps: bump semver to latest [CVE-2022-25883] #349 (@legobeat)
- Make userAgent configurable #342 (@jaknas)
- devDeps: Bump auto from v10 to v11 #346 (@legobeat)
- CI: Fix yarn 2 issue #352 (@yannbf)
- chore: set
engines.node
to>=12.0.0
#351 (@legobeat) - Maintenance: Update to yarn berry #344 (@yannbf)
- Maintenance: Remove csf upgrade in nightly check #343 (@yannbf)
🏠 Internal
- chore: disable yarn telemetry by default #350 (@legobeat)
- chore: dedupe dependency versions in
yarn.lock
#347 (@legobeat)
📝 Documentation
Authors: 4
- @ferdinandhummel-gph
- @legobeat
- Jakub Naskręski (@jaknas)
- Yann Braga (@yannbf)
v0.13.0
🚀 Enhancement
- Add ability to fail on console errors #321 (@work933k @yannbf)
- Support importing stories from separate packages #339 (@yannbf)
🐛 Bug Fix
- Maintenance: Update storybook example to vite and typescript #340 (@yannbf)
- Add coverage directory option #272 (@ferdinandhummel-gph @yannbf)
Authors: 3
- @ferdinandhummel-gph
- @work933k
- Yann Braga (@yannbf)
v0.12.0
🚀 Enhancement
🐛 Bug Fix
- maintenance: remove no-manager-cache flag in example storybook #331 (@MH4GF)
- Fix extra args not being passed to jest #322 (@zyulyaev @yannbf)
- Fix empty coverage report #324 (@bryanjtc @yannbf)
- docs: fix github actions example for shard usage #320 (@MH4GF)
Authors: 5
- Bryan Thomas (@bryanjtc)
- Hirotaka Miyagi (@MH4GF)
- Nikita Zyulyaev (@zyulyaev)
- Valentin Palkovic (@valentinpalkovic)
- Yann Braga (@yannbf)
v0.11.0
🚀 Enhancement
- Release 0.11.0 #318 (@bryanjtc @yannbf @ndelangen @unshame @valentinpalkovic @vanessayuenn)
- Bundle with tsup and replace babel-jest #250 (@bryanjtc @yannbf @ndelangen)
🐛 Bug Fix
- Change dependencies from
future
npm tag tonext
#315 (@yannbf) - fix: nyc command with shard option #257 (@bryanjtc @yannbf)
- Improve ejected config types #297 (@yannbf)
- fix: Remove last reference to regenerator-runtime #303 (@bryanjtc)
- fix(test-storybook): Fix test-runner-jest.config.js file not being found in STORYBOOK_CONFIG_DIR on Windows #296 (@unshame)
- Upgrade glob to v10 #299 (@valentinpalkovic)
Authors: 6
- Bryan Thomas (@bryanjtc)
- Norbert de Langen (@ndelangen)
- UnShame (@unshame)
- Valentin Palkovic (@valentinpalkovic)
- Vanessa Yuen (@vanessayuenn)
- Yann Braga (@yannbf)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.