executable-stories-formatters 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +43 -6
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +39 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +38 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/templates/astro-thin/executable-stories.config.mjs +19 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "executable-stories-formatters",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Cucumber-compatible report formats (HTML, Markdown, JUnit XML, Cucumber JSON) for executable-stories test results.",
|
|
5
5
|
"author": "Jag Reehal <jag@jagreehal.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"yaml": "^2.9.0",
|
|
63
63
|
"react": "^19.2.7",
|
|
64
64
|
"react-dom": "^19.2.7",
|
|
65
|
-
"executable-stories-react": "0.
|
|
65
|
+
"executable-stories-react": "0.7.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@faker-js/faker": "^10.4.0",
|
|
@@ -32,6 +32,25 @@ export default defineExecutableStories({
|
|
|
32
32
|
// { name: 'api', label: 'API', source: '../apps/api/reports/raw-run.json' },
|
|
33
33
|
// ],
|
|
34
34
|
|
|
35
|
+
// Audience lenses (optional): each view mounts a filtered, re-grouped index
|
|
36
|
+
// at its own URL — same tests, a different lens per audience. Tag scenarios
|
|
37
|
+
// in your tests (e.g. tags: ['audience:stakeholder']) and filter on them:
|
|
38
|
+
// views: [
|
|
39
|
+
// { base: '/for/product', include: { tags: ['audience:stakeholder'] }, groupBy: 'tag' },
|
|
40
|
+
// { base: '/for/design', include: { tags: ['storyboard'] } },
|
|
41
|
+
// { base: '/for/support', include: { tags: ['support'] } },
|
|
42
|
+
// ],
|
|
43
|
+
|
|
44
|
+
// Journeys are on by default at /journeys: tag scenarios with
|
|
45
|
+
// `journey:<id>:<order>` (e.g. tags: ['journey:guest-checkout:1']) and each
|
|
46
|
+
// id becomes an ordered multi-scenario walkthrough page.
|
|
47
|
+
// journeysBase: '/journeys',
|
|
48
|
+
|
|
49
|
+
// The UI-state catalog is on by default at /states: tag scenarios with
|
|
50
|
+
// `state:<name>` (plus optional `viewport:mobile` / `viewport:desktop`) and
|
|
51
|
+
// they appear as a thumbnail grid, viewport variants side by side.
|
|
52
|
+
// statesBase: '/states',
|
|
53
|
+
|
|
35
54
|
// Theme the story pages (optional). `preset` picks a built-in palette
|
|
36
55
|
// ('default' | 'terminal' | 'minimal' | 'vibrant'); `accent` is a shorthand;
|
|
37
56
|
// `tokens` overrides any individual token (accent, pass, fail, warn, fg,
|