Skip to content

Commit 16a7aa8

Browse files
committed
Merge branch 'main' into release/v0.22.0
2 parents b24a54f + 9e0007a commit 16a7aa8

File tree

3 files changed

+272
-159
lines changed

3 files changed

+272
-159
lines changed

CHANGELOG.md

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,116 @@
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+
1114
# v0.19.1 (Mon Jul 15 2024)
2115

3116
#### 🐛 Bug Fix

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storybook/test-runner",
3-
"version": "0.19.1",
3+
"version": "0.21.3",
44
"description": "Test runner for Storybook stories",
55
"keywords": [
66
"storybook-addons",
@@ -78,11 +78,11 @@
7878
"@babel/preset-react": "^7.18.6",
7979
"@babel/preset-typescript": "^7.18.6",
8080
"@storybook/addon-coverage": "^1.0.0",
81-
"@storybook/addon-essentials": "next",
82-
"@storybook/addon-interactions": "next",
83-
"@storybook/react": "next",
84-
"@storybook/react-vite": "next",
85-
"@storybook/test": "next",
81+
"@storybook/addon-essentials": "^8.0.0",
82+
"@storybook/addon-interactions": "^8.0.0",
83+
"@storybook/react": "^8.0.0",
84+
"@storybook/react-vite": "^8.0.0",
85+
"@storybook/test": "^8.0.0",
8686
"@types/jest": "^29.0.0",
8787
"@types/node": "^16.4.1",
8888
"@types/node-fetch": "^2.6.11",
@@ -104,7 +104,7 @@
104104
"react": "^17.0.1",
105105
"react-dom": "^17.0.1",
106106
"read-pkg-up": "^7.0.1",
107-
"storybook": "next",
107+
"storybook": "^8.0.0",
108108
"tempy": "^1.0.1",
109109
"ts-dedent": "^2.0.0",
110110
"ts-jest": "^29.0.0",

0 commit comments

Comments
 (0)