@public-ui/visual-tests 2.0.3 → 2.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/visual-tests",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": "https://github.com/public-ui/kolibri",
@@ -19,8 +19,8 @@
19
19
  "kolibri-visual-test": "src/index.js"
20
20
  },
21
21
  "dependencies": {
22
- "@playwright/test": "1.40.1",
23
- "@public-ui/sample-react": "2.0.3",
22
+ "@playwright/test": "1.41.1",
23
+ "@public-ui/sample-react": "2.0.4",
24
24
  "axe-playwright": "1.2.3",
25
25
  "portfinder": "1.0.32",
26
26
  "serve": "14.2.1"
@@ -28,12 +28,12 @@
28
28
  "devDependencies": {
29
29
  "@babel/eslint-parser": "7.23.3",
30
30
  "@babel/plugin-syntax-import-attributes": "7.23.3",
31
- "@babel/preset-env": "7.23.7",
31
+ "@babel/preset-env": "7.23.8",
32
32
  "depcheck": "1.4.7",
33
33
  "eslint": "8.56.0",
34
34
  "eslint-plugin-no-loops": "0.3.0",
35
- "knip": "3.11.0",
36
- "prettier": "3.1.1"
35
+ "knip": "3.13.2",
36
+ "prettier": "3.2.4"
37
37
  },
38
38
  "files": [
39
39
  "playwright.config.js",
@@ -309,6 +309,11 @@ ROUTES.set('table/with-pagination', {
309
309
  skipFailures: false,
310
310
  },
311
311
  });
312
+ ROUTES.set('table/pagination-position', {
313
+ axe: {
314
+ skipFailures: false,
315
+ },
316
+ });
312
317
  ROUTES.set('tabs/basic', {
313
318
  axe: {
314
319
  skipFailures: false,
@@ -63,7 +63,7 @@ ROUTES.forEach((options, route) => {
63
63
  }
64
64
  await expect(page).toHaveScreenshot({
65
65
  fullPage: true,
66
- maxDiffPixelRatio: 0.025,
66
+ maxDiffPixelRatio: 0.01,
67
67
  ...options,
68
68
  });
69
69
  });