@public-ui/visual-tests 1.7.4 → 1.7.6-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 CHANGED
@@ -23,7 +23,7 @@ Add the following npm scripts to the theme's `package.json`:
23
23
  {
24
24
  "scripts": {
25
25
  "test": "THEME_MODULE=src/index THEME_EXPORT=THEME_NAME kolibri-visual-test",
26
- "test-update": "THEME_MODULE=src/index THEME_EXPORT=THEME_NAME kolibri-visual-test --update-snapshots"
26
+ "test-update": "THEME_MODULE=src/index THEME_EXPORT=THEME_NAME kolibri-visual-test --update-snapshots theme-snapshots.spec.js"
27
27
  }
28
28
  }
29
29
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/visual-tests",
3
- "version": "1.7.4",
3
+ "version": "1.7.6-rc.0",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": "https://github.com/public-ui/kolibri",
@@ -19,20 +19,20 @@
19
19
  "kolibri-visual-test": "src/index.js"
20
20
  },
21
21
  "dependencies": {
22
- "@playwright/test": "1.38.1",
23
- "@public-ui/sample-react": "1.7.4",
22
+ "@playwright/test": "1.39.0",
23
+ "@public-ui/sample-react": "1.7.6-rc.0",
24
24
  "axe-playwright": "1.2.3",
25
25
  "portfinder": "1.0.32",
26
26
  "serve": "14.2.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@babel/eslint-parser": "7.22.15",
30
- "@babel/plugin-syntax-import-attributes": "7.22.5",
31
- "@babel/preset-env": "7.22.20",
32
- "depcheck": "1.4.6",
33
- "eslint": "8.50.0",
29
+ "@babel/eslint-parser": "7.23.3",
30
+ "@babel/plugin-syntax-import-attributes": "7.23.3",
31
+ "@babel/preset-env": "7.23.3",
32
+ "depcheck": "1.4.7",
33
+ "eslint": "8.53.0",
34
34
  "eslint-plugin-no-loops": "0.3.0",
35
- "knip": "2.30.0",
35
+ "knip": "2.40.1",
36
36
  "prettier": "3.0.3"
37
37
  },
38
38
  "files": [
@@ -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. */
@@ -263,11 +263,6 @@ ROUTES.set('pagination/basic', {
263
263
  skipFailures: false,
264
264
  },
265
265
  });
266
- ROUTES.set('popover/basic', {
267
- axe: {
268
- skipFailures: false,
269
- },
270
- });
271
266
  ROUTES.set('progress/basic', {
272
267
  axe: {
273
268
  skipFailures: false,