Releases: storybookjs/test-runner
v0.21.0
π Enhancement
- Release 0.21.0 #527 (@kaelig @guspan-tanadi @yannbf)
- Feature: Add --listTests flag from Jest #521 (@kaelig)
π Bug Fix
- style(README): highlight Markdown Note section #523 (@guspan-tanadi)
- Fix: Handle RSC errors #526 (@yannbf)
Authors: 3
- Guspan Tanadi (@guspan-tanadi)
- Kaelig Deloumeau-Prigent (@kaelig)
- Yann Braga (@yannbf)
v0.21.0-next.1
v0.21.0-next.0
v0.20.2-next.0
v0.20.1
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.
Feature: Run postVisit on failures (#494)
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.20.0-next.2
Release Notes
Feature: Run postVisit on failures (#494)
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
Authors: 1
- Yann Braga (@yannbf)
v0.20.0-next.1
π Enhancement
- Release 0.20.0 #514 (@yannbf runner@fv-az773-358.an51pne1gm2ejjnmkprpigk40g.dx.internal.cloudapp.net)
- Release 0.19.0 #486 (@yannbf [email protected] @ysgk)
π Bug Fix
- Release 0.19.1 #493 (@paulgv @yannbf)
- Release 0.18.2 #476 (@shilman @valentinpalkovic @yannbf)
- Release 0.18.1 #466 (@yannbf)
Authors: 10
- @ysgk
- Foxhoundn ([email protected])
- Michael Shilman (@shilman)
- Paul Gascou-Vaillancourt (@paulgv)
- shilman (runner@fv-az1567-4.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net)
- shilman (runner@fv-az2031-358.rag0t2s20xiu3oejmeweyzhkrf.bx.internal.cloudapp.net)
- shilman (runner@fv-az738-609.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net)
- shilman (runner@fv-az773-358.an51pne1gm2ejjnmkprpigk40g.dx.internal.cloudapp.net)
- Valentin Palkovic (@valentinpalkovic)
- Yann Braga (@yannbf)