diff --git a/programs/beekeeper/beekeeper_wasm/package.json b/programs/beekeeper/beekeeper_wasm/package.json index c28f927287..c7dca25c14 100644 --- a/programs/beekeeper/beekeeper_wasm/package.json +++ b/programs/beekeeper/beekeeper_wasm/package.json @@ -9,7 +9,7 @@ "postinstall": "playwright install", "prebuild": "cd ../../.. && husky install programs/beekeeper/beekeeper_wasm/.husky", "build": "tsc", - "test": "unset CI && playwright test --workers 1 --max-failures 1 __tests__", + "test": "unset CI && playwright test --workers 1 --max-failures 1 --project=beekeeper_testsuite", "prepack": "cp ../../../LICENSE.md ./LICENSE.md" }, "license": "SEE LICENSE IN LICENSE.md", diff --git a/programs/beekeeper/beekeeper_wasm/playwright.config.ts b/programs/beekeeper/beekeeper_wasm/playwright.config.ts index 12e365d728..e70bad21e5 100644 --- a/programs/beekeeper/beekeeper_wasm/playwright.config.ts +++ b/programs/beekeeper/beekeeper_wasm/playwright.config.ts @@ -6,6 +6,12 @@ export default defineConfig({ ['junit', { outputFile: 'results.xml' }], ['json', { outputFile: 'results.json' }] ], + projects: [ + { + name: "beekeeper_testsuite", + testDir: "./__tests__/" + } + ], // Run your local dev server before starting the tests webServer: { command: 'npx http-server'