@digital-commons-official/codeceptjs-storyboard 0.4.4 → 0.4.6
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/README.md +6 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -96,7 +96,9 @@ Relative paths start at the directory containing `codecept.conf.js`. The plugin
|
|
|
96
96
|
}
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-
Supported object keys are `bg`, `card`, `slot`, `text`, `dim`, `accent`, `badge`, `codeBg`, `given`, `when`, `then`, `fail`, `sans` and `mono`.
|
|
99
|
+
Supported object keys are `bg`, `card`, `slot`, `text`, `dim`, `accent`, `badge`, `codeBg`, `given`, `when`, `then`, `fail`, `sans` and `mono`.
|
|
100
|
+
CSS uses `--sb-<key>`, except `codeBg` becomes `--sb-code-bg`, and the fonts use `--sb-font-sans` and `--sb-font-mono`.
|
|
101
|
+
Omitted values keep their defaults. Colours accept hex, named colours, `rgb()` and `hsl()` values; fonts accept installed font family names and fallback lists.
|
|
100
102
|
|
|
101
103
|
Only these properties are read. Imports, external fonts and arbitrary CSS rules are not embedded. The SVG works offline; install the same fonts on machines where matching typography matters. Themes change the labels and cards around captured frames; the screenshot pixels stay unchanged.
|
|
102
104
|
|
|
@@ -194,7 +196,9 @@ task code # linters (MegaLinter)
|
|
|
194
196
|
|
|
195
197
|
The e2e suite is the plugin's own dogfood: every scenario is a storyboard rendered by the plugin under test, committed under `tests/e2e/storyboards/`.
|
|
196
198
|
|
|
197
|
-
The [installation storyboard](tests/e2e/storyboards/06-installation/storyboard-consumer.svg) packs the current source, installs the tarball into a fresh project, and runs the README configuration verbatim.
|
|
199
|
+
The [installation storyboard](tests/e2e/storyboards/06-installation/storyboard-consumer.svg) packs the current source, installs the tarball into a fresh project, and runs the README configuration verbatim.
|
|
200
|
+
It checks CodeceptJS 4.2.0, Playwright 1.63.0 and VisualHelper 1.3.5 in Chromium.
|
|
201
|
+
It opens the generated `index.html` and SVG, repeats the run with strict baselines, then proves that a changed page fails on its exact sentence.
|
|
198
202
|
|
|
199
203
|
The [consumer manifest](tests/e2e/consumer/package.json) pins those tools and overrides vulnerable transitive dependencies. Its lockfile makes the test repeatable. This verifies that combination; the wider peer dependency ranges are not a tested version matrix. The complete installation and run logs are kept in `tests/e2e/_output/consumer-install.log`.
|
|
200
204
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digital-commons-official/codeceptjs-storyboard",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "Storyboard plugin for CodeceptJS: one Gherkin sentence = one card = one pixel baseline, and every scenario renders itself as a single SVG storyboard",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"codeceptjs": ">=4.0.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@digital-commons-official/codeceptjs-visual-helper": "1.3.
|
|
34
|
+
"@digital-commons-official/codeceptjs-visual-helper": "1.3.11",
|
|
35
35
|
"codeceptjs": "4.2.0",
|
|
36
36
|
"playwright": "1.63.0",
|
|
37
37
|
"standard": "^17.1.2",
|