@public-ui/visual-tests 3.0.2-f97556ada8a20e9abe2dbb519562bad234f7191b.0 → 3.0.2-rc.1

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
@@ -1,5 +1,7 @@
1
1
  # KoliBri - Visual Tests
2
2
 
3
+ Utilities for screenshot based regression testing of KoliBri themes.
4
+
3
5
  [![npm](https://img.shields.io/npm/v/@public-ui/visual-tests)](https://www.npmjs.com/package/@public-ui/components)
4
6
  [![license](https://img.shields.io/npm/l/@public-ui/visual-tests)](https://github.com/public-ui/kolibri/blob/main/LICENSE)
5
7
  [![downloads](https://img.shields.io/npm/dt/@public-ui/visual-tests)](https://www.npmjs.com/package/@public-ui/visual-tests)
@@ -59,3 +61,5 @@ Run the tests with `npm test`. The first time, this will create a new folder `sn
59
61
  In the following runs, new screenshots will be compared to this reference.
60
62
 
61
63
  To update the reference screenshots call `npm run test-update`.
64
+
65
+ 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.2-f97556ada8a20e9abe2dbb519562bad234f7191b.0",
3
+ "version": "3.0.2-rc.1",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "axe-playwright": "2.1.0",
30
30
  "portfinder": "1.0.37",
31
31
  "serve": "14.2.4",
32
- "@public-ui/sample-react": "3.0.2-f97556ada8a20e9abe2dbb519562bad234f7191b.0"
32
+ "@public-ui/sample-react": "3.0.2-rc.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@babel/eslint-parser": "7.27.5",
@@ -78,7 +78,7 @@ ROUTES.forEach((options, route) => {
78
78
  html: true,
79
79
  },
80
80
  },
81
- options?.axe?.skipFailures ?? false,
81
+ true, // options?.axe?.skipFailures ?? false,
82
82
  'html',
83
83
  {
84
84
  outputDirPath: outputPath.replace(/\/[^/]+$/, ''),
@@ -85,6 +85,9 @@ ROUTES.set('badge/button', {
85
85
  },
86
86
  });
87
87
  ROUTES.set('breadcrumb/basic', {
88
+ axe: {
89
+ skipFailures: true,
90
+ },
88
91
  snapshot: {
89
92
  skip: true,
90
93
  },
@@ -244,6 +247,9 @@ ROUTES.set('form/error-list', {
244
247
  },
245
248
  });
246
249
  ROUTES.set('heading/badge', {
250
+ axe: {
251
+ skipFailures: true,
252
+ },
247
253
  snapshot: {
248
254
  skip: true,
249
255
  zoom: {
@@ -252,6 +258,9 @@ ROUTES.set('heading/badge', {
252
258
  },
253
259
  });
254
260
  ROUTES.set('heading/basic', {
261
+ axe: {
262
+ skipFailures: true,
263
+ },
255
264
  snapshot: {
256
265
  viewportSize: {
257
266
  width: 250,
@@ -264,6 +273,9 @@ ROUTES.set('heading/basic', {
264
273
  });
265
274
  ROUTES.set('heading/secondary');
266
275
  ROUTES.set('heading/paragraph', {
276
+ axe: {
277
+ skipFailures: true,
278
+ },
267
279
  snapshot: {
268
280
  skip: true,
269
281
  zoom: {