@public-ui/visual-tests 3.0.8 → 3.0.9-rc.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/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ Add the following npm scripts to the theme's `package.json`:
|
|
|
45
45
|
{
|
|
46
46
|
"scripts": {
|
|
47
47
|
"test": "THEME_MODULE=src/index THEME_EXPORT=THEME_NAME kolibri-visual-test",
|
|
48
|
-
"test
|
|
48
|
+
"test:update:e2e": "THEME_MODULE=src/index THEME_EXPORT=THEME_NAME kolibri-visual-test --update-snapshots=changed"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
```
|
|
@@ -61,6 +61,6 @@ Add the following npm scripts to the theme's `package.json`:
|
|
|
61
61
|
Run the tests with `npm test`. The first time, this will create a new folder `snapshots` which is supposed to be committed to the repository.
|
|
62
62
|
In the following runs, new screenshots will be compared to this reference.
|
|
63
63
|
|
|
64
|
-
To update the reference screenshots call `npm run test
|
|
64
|
+
To update the reference screenshots call `npm run test:update`.
|
|
65
65
|
|
|
66
66
|
For details on theming see the [default theme README](../../themes/default/README.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/visual-tests",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9-rc.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"axe-html-reporter": "2.2.11",
|
|
30
30
|
"portfinder": "1.0.38",
|
|
31
31
|
"serve": "14.2.5",
|
|
32
|
-
"@public-ui/sample-react": "3.0.
|
|
32
|
+
"@public-ui/sample-react": "3.0.9-rc.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@babel/eslint-parser": "7.28.5",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@playwright/test": "1.57.0",
|
|
39
39
|
"eslint": "8.57.1",
|
|
40
40
|
"knip": "5.71.0",
|
|
41
|
-
"prettier": "3.7.
|
|
41
|
+
"prettier": "3.7.4",
|
|
42
42
|
"prettier-plugin-organize-imports": "4.3.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|