@public-ui/visual-tests 2.0.4 → 2.0.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 +1 -1
- package/package.json +8 -8
- package/playwright.config.js +2 -2
- package/tests/sample-app.routes.js +5 -0
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"depcheck": "1.4.7",
|
|
28
28
|
"eslint": "8.51.0",
|
|
29
29
|
"eslint-config-prettier": "9.1.0",
|
|
30
|
-
"eslint-plugin-html": "
|
|
30
|
+
"eslint-plugin-html": "8.0.0",
|
|
31
31
|
"eslint-plugin-jsdoc": "48.0.2",
|
|
32
32
|
"eslint-plugin-json": "3.1.0",
|
|
33
33
|
"eslint-plugin-no-loops": "0.3.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/visual-tests",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": "https://github.com/public-ui/kolibri",
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
"kolibri-visual-test": "src/index.js"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@playwright/test": "1.41.
|
|
23
|
-
"@public-ui/sample-react": "2.0.
|
|
24
|
-
"axe-playwright": "
|
|
22
|
+
"@playwright/test": "1.41.2",
|
|
23
|
+
"@public-ui/sample-react": "2.0.6",
|
|
24
|
+
"axe-playwright": "2.0.1",
|
|
25
25
|
"portfinder": "1.0.32",
|
|
26
26
|
"serve": "14.2.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@babel/eslint-parser": "7.23.
|
|
29
|
+
"@babel/eslint-parser": "7.23.10",
|
|
30
30
|
"@babel/plugin-syntax-import-attributes": "7.23.3",
|
|
31
|
-
"@babel/preset-env": "7.23.
|
|
31
|
+
"@babel/preset-env": "7.23.9",
|
|
32
32
|
"depcheck": "1.4.7",
|
|
33
33
|
"eslint": "8.56.0",
|
|
34
34
|
"eslint-plugin-no-loops": "0.3.0",
|
|
35
|
-
"knip": "
|
|
36
|
-
"prettier": "3.2.
|
|
35
|
+
"knip": "5.0.1",
|
|
36
|
+
"prettier": "3.2.5"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
|
39
39
|
"playwright.config.js",
|
package/playwright.config.js
CHANGED
|
@@ -12,9 +12,9 @@ console.log('Serving React Sample app:', URL);
|
|
|
12
12
|
*/
|
|
13
13
|
export default defineConfig({
|
|
14
14
|
testDir: './tests',
|
|
15
|
-
snapshotDir: path.join(process.env.KOLIBRI_CWD, 'snapshots'),
|
|
15
|
+
snapshotDir: path.join(process.env.KOLIBRI_CWD ?? '', 'snapshots'),
|
|
16
16
|
// snapshotPathTemplate: '',
|
|
17
|
-
outputDir: path.join(process.env.KOLIBRI_CWD, 'test-results'),
|
|
17
|
+
outputDir: path.join(process.env.KOLIBRI_CWD ?? '', 'test-results'),
|
|
18
18
|
/* Run tests in files in parallel */
|
|
19
19
|
fullyParallel: true,
|
|
20
20
|
/* Fail the build on CI if you accidentally left test.only in the source code. */
|