@dargmuesli/nuxt-vio-testing 23.0.0-beta.5 → 23.0.0-beta.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.
@@ -7,9 +7,8 @@ declare const createDefaultPage: (page: Page) => {
7
7
  isLoading?: boolean;
8
8
  }) => Promise<void>;
9
9
  };
10
- declare const vioTest: import("@playwright/test").TestType<import("@playwright/test").PlaywrightTestArgs & import("@playwright/test").PlaywrightTestOptions & {
10
+ export declare const vioTest: import("@playwright/test").TestType<import("@playwright/test").PlaywrightTestArgs & import("@playwright/test").PlaywrightTestOptions & {
11
11
  defaultPage: ReturnType<typeof createDefaultPage>;
12
12
  _autoSnapshotSuffix: unknown;
13
13
  }, import("@playwright/test").PlaywrightWorkerArgs & import("@playwright/test").PlaywrightWorkerOptions>;
14
- //#endregion
15
- export { vioTest };
14
+ //#endregion
@@ -1,7 +1,7 @@
1
1
  import { Page } from "playwright-core";
2
2
  //#region e2e/utils/constants.d.ts
3
- declare const TIMEOUT = 60000;
4
- declare const PAGE_READY: ({ page, options }: {
3
+ export declare const TIMEOUT = 60000;
4
+ export declare const PAGE_READY: ({ page, options }: {
5
5
  page: Page;
6
6
  options?: {
7
7
  cookieControl?: boolean;
@@ -9,6 +9,5 @@ declare const PAGE_READY: ({ page, options }: {
9
9
  isLoading?: boolean;
10
10
  };
11
11
  }) => Promise<void>;
12
- declare const SITE_URL: string;
13
- //#endregion
14
- export { PAGE_READY, SITE_URL, TIMEOUT };
12
+ export declare const SITE_URL: string;
13
+ //#endregion
@@ -1,16 +1,15 @@
1
1
  import { Page } from "@playwright/test";
2
2
  //#region e2e/utils/tests.d.ts
3
- declare const testA11y: (url: string) => void;
4
- declare const testMetadata: ({ page, path, title }: {
3
+ export declare const testA11y: (url: string) => void;
4
+ export declare const testMetadata: ({ page, path, title }: {
5
5
  page: Page;
6
6
  path: string;
7
7
  title: string;
8
8
  }) => Promise<void>;
9
- declare const testOgImage: (paths: {
9
+ export declare const testOgImage: (paths: {
10
10
  static?: Record<string, string>;
11
11
  dynamic?: Record<string, string>;
12
12
  }) => void;
13
- declare const testPageLoad: (url: string, status?: number) => void;
14
- declare const testVisualRegression: (url: string, plain?: boolean) => void;
15
- //#endregion
16
- export { testA11y, testMetadata, testOgImage, testPageLoad, testVisualRegression };
13
+ export declare const testPageLoad: (url: string, status?: number) => void;
14
+ export declare const testVisualRegression: (url: string, plain?: boolean) => void;
15
+ //#endregion
@@ -101,13 +101,6 @@ const testMetadata = async ({ page, path, title }) => {
101
101
  value: "twitter:image"
102
102
  }]
103
103
  },
104
- {
105
- tag: "meta",
106
- attributes: [{
107
- key: "name",
108
- value: "twitter:image:src"
109
- }]
110
- },
111
104
  {
112
105
  tag: "meta",
113
106
  attributes: [{
@@ -118,16 +111,6 @@ const testMetadata = async ({ page, path, title }) => {
118
111
  value: "1200"
119
112
  }]
120
113
  },
121
- {
122
- tag: "meta",
123
- attributes: [{
124
- key: "name",
125
- value: "twitter:image:width"
126
- }, {
127
- key: "content",
128
- value: "1200"
129
- }]
130
- },
131
114
  {
132
115
  tag: "meta",
133
116
  attributes: [{
@@ -138,16 +121,6 @@ const testMetadata = async ({ page, path, title }) => {
138
121
  value: "600"
139
122
  }]
140
123
  },
141
- {
142
- tag: "meta",
143
- attributes: [{
144
- key: "name",
145
- value: "twitter:image:height"
146
- }, {
147
- key: "content",
148
- value: "600"
149
- }]
150
- },
151
124
  {
152
125
  tag: "meta",
153
126
  attributes: [{
package/package.json CHANGED
@@ -2,22 +2,22 @@
2
2
  "devDependencies": {
3
3
  "@axe-core/playwright": "4.13.0",
4
4
  "@eslint/js": "10.0.1",
5
- "@playwright/test": "1.62.1",
5
+ "@playwright/test": "1.64.0",
6
6
  "@types/lodash-es": "4.17.12",
7
- "@types/node": "24.13.3",
7
+ "@types/node": "24.19.1",
8
8
  "cross-env": "10.1.0",
9
- "eslint": "10.8.1",
9
+ "eslint": "10.12.0",
10
10
  "eslint-config-prettier": "10.1.8",
11
11
  "eslint-plugin-prettier": "5.5.6",
12
12
  "lodash-es": "4.18.1",
13
- "playwright-core": "1.62.1",
14
- "tsdown": "0.22.14",
13
+ "playwright-core": "1.64.0",
14
+ "tsdown": "0.23.0",
15
15
  "typescript": "6.0.3",
16
- "typescript-eslint": "8.67.0",
16
+ "typescript-eslint": "8.71.1",
17
17
  "ufo": "1.6.4"
18
18
  },
19
19
  "engines": {
20
- "node": "24"
20
+ "node": "^24.15.0"
21
21
  },
22
22
  "exports": {
23
23
  "./e2e/fixtures/vioTest": {
@@ -56,7 +56,7 @@
56
56
  "url": "git+https://github.com/dargmuesli/vio.git"
57
57
  },
58
58
  "type": "module",
59
- "version": "23.0.0-beta.5",
59
+ "version": "23.0.0-beta.6",
60
60
  "scripts": {
61
61
  "build": "tsdown",
62
62
  "build:watch": "tsdown --watch",
@@ -66,8 +66,8 @@
66
66
  "lint:ts": "tsc --noEmit",
67
67
  "test:e2e": "playwright test",
68
68
  "test:e2e:docker:br": "pnpm run test:e2e:docker:build && pnpm run test:e2e:docker:run",
69
- "test:e2e:docker:build": "sudo docker build -t test-e2e_development --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) --target test-e2e_development ..",
70
- "test:e2e:docker:run": "sudo docker run --add-host=app.localhost:127.0.0.1 --rm -v \"$PWD/..:/srv/app\" -v \"jonas-thelemann_playwright_data:/srv/app/node_modules\" -v \"$(pnpm store path):/srv/.pnpm-store\" test-e2e_development",
69
+ "test:e2e:docker:build": "./scripts/docker.sh build -t test-e2e_development --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) --target test-e2e_development ..",
70
+ "test:e2e:docker:run": "./scripts/docker.sh run --add-host=app.localhost:127.0.0.1 --rm -v \"$PWD/..:/srv/app\" -v \"jonas-thelemann_playwright_data:/srv/app/node_modules\" -v \"$(pnpm store path):/srv/.pnpm-store\" test-e2e_development",
71
71
  "test:e2e:docker:server:dev": "pnpm run test:e2e:docker:br pnpm run --dir tests test:e2e:server:dev",
72
72
  "test:e2e:docker:server:dev:update": "pnpm run test:e2e:docker:server:dev --update-snapshots",
73
73
  "test:e2e:docker:server:node": "pnpm run test:e2e:docker:br pnpm run --dir tests test:e2e:server:node",