mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-17 17:21:48 +00:00
Fix docker prober
This commit is contained in:
@@ -103,7 +103,7 @@
|
|||||||
"test:visual": "playwright test --project=visual",
|
"test:visual": "playwright test --project=visual",
|
||||||
"test:visual:update": "playwright test --project=visual --update-snapshots",
|
"test:visual:update": "playwright test --project=visual --update-snapshots",
|
||||||
"test:visual:ui": "playwright test --project=visual --ui",
|
"test:visual:ui": "playwright test --project=visual --ui",
|
||||||
"test:probers": "playwright test --config=playwright.prober.config.ts",
|
"test:probers": "playwright test --config=playwright.prober.config.ts gh-pages-gedcom.spec.ts wikitree.spec.ts wikitree-cors-gedcom.spec.ts",
|
||||||
"check:all": "prettier --check \"{src,tests}/**/*.{ts,tsx,json}\" && npm run lint && npm run build && npm test && tsc -p tests/tsconfig.json --noEmit && npm run test:e2e && npm run test:visual"
|
"check:all": "prettier --check \"{src,tests}/**/*.{ts,tsx,json}\" && npm run lint && npm run build && npm test && tsc -p tests/tsconfig.json --noEmit && npm run test:e2e && npm run test:visual"
|
||||||
},
|
},
|
||||||
"homepage": ".",
|
"homepage": ".",
|
||||||
|
|||||||
@@ -25,11 +25,6 @@ export default defineConfig({
|
|||||||
projects: [
|
projects: [
|
||||||
{
|
{
|
||||||
name: 'prober',
|
name: 'prober',
|
||||||
// docker.spec.ts is excluded from local runs (npm run test:probers)
|
|
||||||
// because it requires a running Docker container. The CI workflow
|
|
||||||
// explicitly passes docker.spec.ts as an argument, which overrides
|
|
||||||
// testIgnore.
|
|
||||||
testIgnore: 'docker.spec.ts',
|
|
||||||
use: {
|
use: {
|
||||||
...devices['Desktop Chrome'],
|
...devices['Desktop Chrome'],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user