|
| 1 | +# v0.21.3 (Thu Feb 20 2025) |
| 2 | + |
| 3 | +#### 🐛 Bug Fix |
| 4 | + |
| 5 | +- fix: Use StoryFinished event if available [#548](https://github.com/storybookjs/test-runner/pull/548) ([@valentinpalkovic](https://github.com/valentinpalkovic)) |
| 6 | + |
| 7 | +#### Authors: 1 |
| 8 | + |
| 9 | +- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic)) |
| 10 | + |
| 11 | +--- |
| 12 | + |
| 13 | +# v0.21.2 (Tue Feb 18 2025) |
| 14 | + |
| 15 | +#### 🐛 Bug Fix |
| 16 | + |
| 17 | +- Revert "Fix a11y compatibility with Storybook 8.5 and above" [#546](https://github.com/storybookjs/test-runner/pull/546) ([@valentinpalkovic](https://github.com/valentinpalkovic)) |
| 18 | + |
| 19 | +#### Authors: 1 |
| 20 | + |
| 21 | +- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic)) |
| 22 | + |
| 23 | +--- |
| 24 | + |
| 25 | +# v0.21.1 (Mon Feb 17 2025) |
| 26 | + |
| 27 | +#### 🐛 Bug Fix |
| 28 | + |
| 29 | +- Fix a11y compatibility with Storybook 8.5 and above [#536](https://github.com/storybookjs/test-runner/pull/536) ([@valentinpalkovic](https://github.com/valentinpalkovic)) |
| 30 | + |
| 31 | +#### Authors: 2 |
| 32 | + |
| 33 | +- Jeppe Reinhold ([@JReinhold](https://github.com/JReinhold)) |
| 34 | +- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic)) |
| 35 | + |
| 36 | +--- |
| 37 | + |
| 38 | +# v0.21.0 (Fri Dec 20 2024) |
| 39 | + |
| 40 | +#### 🚀 Enhancement |
| 41 | + |
| 42 | +- Release 0.21.0 [#527](https://github.com/storybookjs/test-runner/pull/527) ([@kaelig](https://github.com/kaelig) [@guspan-tanadi](https://github.com/guspan-tanadi) [@yannbf](https://github.com/yannbf)) |
| 43 | +- Feature: Add --listTests flag from Jest [#521](https://github.com/storybookjs/test-runner/pull/521) ([@kaelig](https://github.com/kaelig)) |
| 44 | + |
| 45 | +#### 🐛 Bug Fix |
| 46 | + |
| 47 | +- style(README): highlight Markdown Note section [#523](https://github.com/storybookjs/test-runner/pull/523) ([@guspan-tanadi](https://github.com/guspan-tanadi)) |
| 48 | +- Fix: Handle RSC errors [#526](https://github.com/storybookjs/test-runner/pull/526) ([@yannbf](https://github.com/yannbf)) |
| 49 | + |
| 50 | +#### Authors: 3 |
| 51 | + |
| 52 | +- Guspan Tanadi ([@guspan-tanadi](https://github.com/guspan-tanadi)) |
| 53 | +- Kaelig Deloumeau-Prigent ([@kaelig](https://github.com/kaelig)) |
| 54 | +- Yann Braga ([@yannbf](https://github.com/yannbf)) |
| 55 | + |
| 56 | +--- |
| 57 | + |
| 58 | +# v0.20.1 (Mon Dec 02 2024) |
| 59 | + |
| 60 | +#### 🐛 Bug Fix |
| 61 | + |
| 62 | +- Release 0.20.1 [#520](https://github.com/storybookjs/test-runner/pull/520) ([@yannbf](https://github.com/yannbf)) |
| 63 | +- Fix postVisit hook issue [#519](https://github.com/storybookjs/test-runner/pull/519) ([@yannbf](https://github.com/yannbf)) |
| 64 | + |
| 65 | +#### Authors: 1 |
| 66 | + |
| 67 | +- Yann Braga ([@yannbf](https://github.com/yannbf)) |
| 68 | + |
| 69 | +--- |
| 70 | + |
| 71 | +# v0.20.0 (Thu Nov 28 2024) |
| 72 | + |
| 73 | +### Release Notes |
| 74 | + |
| 75 | +#### Feature: Run postVisit on failures ([#494](https://github.com/storybookjs/test-runner/pull/494)) |
| 76 | + |
| 77 | +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: |
| 78 | + |
| 79 | +```ts |
| 80 | +const config: TestRunnerConfig = { |
| 81 | + async postVisit(_page, context) { |
| 82 | + if(context.hasFailure) { |
| 83 | + console.log('problems!') |
| 84 | + // do a snapshot, write a log, or anything you like |
| 85 | + } |
| 86 | + }, |
| 87 | +} |
| 88 | +``` |
| 89 | + |
| 90 | +--- |
| 91 | + |
| 92 | +#### 🚀 Enhancement |
| 93 | + |
| 94 | +- Release 0.20.0 [#518](https://github.com/storybookjs/test-runner/pull/518) ([@yannbf](https://github.com/yannbf) [@shilman](https://github.com/shilman)) |
| 95 | +- Feature: Run postVisit on failures [#494](https://github.com/storybookjs/test-runner/pull/494) ([@yannbf](https://github.com/yannbf)) |
| 96 | +- Release 0.20.0 [#514](https://github.com/storybookjs/test-runner/pull/514) ([@yannbf](https://github.com/yannbf) runner@fv-az773-358.an51pne1gm2ejjnmkprpigk40g.dx.internal.cloudapp.net) |
| 97 | +- Align with Storybook 8.2 core package layout [#512](https://github.com/storybookjs/test-runner/pull/512) ([@yannbf](https://github.com/yannbf)) |
| 98 | + |
| 99 | +#### 📝 Documentation |
| 100 | + |
| 101 | +- Fix tags docs [#497](https://github.com/storybookjs/test-runner/pull/497) ([@shilman](https://github.com/shilman) [@yannbf](https://github.com/yannbf)) |
| 102 | + |
| 103 | +#### Authors: 6 |
| 104 | + |
| 105 | +- Michael Shilman ([@shilman](https://github.com/shilman)) |
| 106 | +- shilman (runner@fv-az1567-4.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net) |
| 107 | +- shilman (runner@fv-az2031-358.rag0t2s20xiu3oejmeweyzhkrf.bx.internal.cloudapp.net) |
| 108 | +- shilman (runner@fv-az738-609.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net) |
| 109 | +- shilman (runner@fv-az773-358.an51pne1gm2ejjnmkprpigk40g.dx.internal.cloudapp.net) |
| 110 | +- Yann Braga ([@yannbf](https://github.com/yannbf)) |
| 111 | + |
| 112 | +--- |
| 113 | + |
1 | 114 | # v0.19.1 (Mon Jul 15 2024) |
2 | 115 |
|
3 | 116 | #### 🐛 Bug Fix |
|
0 commit comments