Releases: storybookjs/test-runner
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)
v0.20.0-next.0
v0.19.1
v0.19.1-next.0
v0.19.0
π Enhancement
- Release 0.19.0 #486 (@yannbf @Foxhoundn @ysgk)
- Feat: Add errorMessageFormatter #468 (@yannbf @Foxhoundn)
π 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.19.0-next.0
π Enhancement
- Feat: Add errorMessageFormatter #468 (@yannbf [email protected])
π Bug Fix
Authors: 2
- Foxhoundn (@Foxhoundn)
- Yann Braga (@yannbf)