@dargmuesli/nuxt-vio-testing 21.0.0-beta.1 → 21.0.0-beta.2
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/e2e/utils/constants.ts +2 -3
- package/package.json +11 -11
- package/playwright.config.ts +1 -1
package/e2e/utils/constants.ts
CHANGED
|
@@ -36,6 +36,5 @@ export const PAGE_READY = async ({
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
export const SITE_URL =
|
|
39
|
-
process.env.
|
|
40
|
-
process.env.
|
|
41
|
-
`https://${process.env.HOST || 'localhost'}:${process.env.PORT || '3000'}`
|
|
39
|
+
process.env.NUXT_PUBLIC_I18N_BASE_URL ||
|
|
40
|
+
`http${process.env.NITRO_SSL_CERT ? 's' : ''}://${process.env.HOST || 'localhost'}:${process.env.PORT || '3000'}`
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"devDependencies": {
|
|
3
3
|
"@axe-core/playwright": "4.11.0",
|
|
4
|
-
"@eslint/js": "9.39.
|
|
4
|
+
"@eslint/js": "9.39.2",
|
|
5
5
|
"@playwright/test": "1.57.0",
|
|
6
|
-
"@types/node": "24.10.
|
|
6
|
+
"@types/node": "24.10.4",
|
|
7
7
|
"cross-env": "10.1.0",
|
|
8
|
-
"eslint": "9.39.
|
|
8
|
+
"eslint": "9.39.2",
|
|
9
9
|
"eslint-config-prettier": "10.1.8",
|
|
10
10
|
"eslint-plugin-prettier": "5.5.4",
|
|
11
|
-
"lodash-es": "4.17.
|
|
11
|
+
"lodash-es": "4.17.22",
|
|
12
12
|
"typescript": "5.9.3",
|
|
13
|
-
"typescript-eslint": "8.
|
|
14
|
-
"ufo": "1.6.
|
|
13
|
+
"typescript-eslint": "8.52.0",
|
|
14
|
+
"ufo": "1.6.2"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": "24"
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
"test:e2e": "playwright test",
|
|
43
43
|
"test:e2e:docker:br": "pnpm run test:e2e:docker:build && pnpm run test:e2e:docker:run",
|
|
44
44
|
"test:e2e:docker:build": "sudo docker build -t test-e2e_development --build-arg UID=$(id -u) --build-arg GID=$(id -g) --target test-e2e_development ..",
|
|
45
|
-
"test:e2e:docker:run": "sudo docker run --rm -v \"$PWD/..:/srv/app\" -v \"$(pnpm store path):/srv/.pnpm-store\" test-e2e_development",
|
|
45
|
+
"test:e2e:docker:run": "sudo docker run --rm -v \"$PWD/..:/srv/app\" -v \"jonas-thelemann_playwright_data:/srv/app/node_modules\" -v \"$(pnpm store path):/srv/.pnpm-store\" test-e2e_development",
|
|
46
46
|
"test:e2e:docker:server:dev": "pnpm run test:e2e:docker:br pnpm --dir tests run test:e2e:server:dev",
|
|
47
47
|
"test:e2e:docker:server:dev:update": "pnpm run test:e2e:docker:server:dev --update-snapshots",
|
|
48
48
|
"test:e2e:docker:server:node": "pnpm run test:e2e:docker:br pnpm --dir tests run test:e2e:server:node",
|
|
49
49
|
"test:e2e:docker:server:node:update": "pnpm run test:e2e:docker:server:node --update-snapshots",
|
|
50
50
|
"test:e2e:docker:server:static": "pnpm run test:e2e:docker:br pnpm --dir tests run test:e2e:server:static",
|
|
51
51
|
"test:e2e:docker:server:static:update": "pnpm run test:e2e:docker:server:static --update-snapshots",
|
|
52
|
-
"test:e2e:server:dev": "cross-env
|
|
53
|
-
"test:e2e:server:node": "cross-env NODE_ENV=production NUXT_PUBLIC_I18N_BASE_URL=
|
|
54
|
-
"test:e2e:server:static": "cross-env NODE_ENV=production PORT=3002
|
|
52
|
+
"test:e2e:server:dev": "cross-env NUXT_PUBLIC_I18N_BASE_URL=http://localhost:3000 PORT=3000 VIO_SERVER=dev pnpm run test:e2e",
|
|
53
|
+
"test:e2e:server:node": "cross-env NODE_ENV=production NUXT_PUBLIC_I18N_BASE_URL=https://localhost:3001 PORT=3001 VIO_SERVER=node pnpm run test:e2e",
|
|
54
|
+
"test:e2e:server:static": "cross-env NODE_ENV=production PORT=3002 NUXT_PUBLIC_I18N_BASE_URL=https://localhost:3002 VIO_SERVER=static pnpm run test:e2e"
|
|
55
55
|
},
|
|
56
56
|
"type": "module",
|
|
57
|
-
"version": "21.0.0-beta.
|
|
57
|
+
"version": "21.0.0-beta.2"
|
|
58
58
|
}
|
package/playwright.config.ts
CHANGED
|
@@ -92,7 +92,7 @@ export default defineConfig({
|
|
|
92
92
|
},
|
|
93
93
|
ignoreHTTPSErrors: true, // TODO: remove once tests run without it
|
|
94
94
|
timeout: process.env.NODE_ENV === 'production' ? 10000 : 100000,
|
|
95
|
-
url:
|
|
95
|
+
url: SITE_URL,
|
|
96
96
|
reuseExistingServer: !process.env.CI,
|
|
97
97
|
},
|
|
98
98
|
|