diff --git a/packages/boxed-expression-component/package.json b/packages/boxed-expression-component/package.json index c9fd6d2ea00..f81f66bcae5 100644 --- a/packages/boxed-expression-component/package.json +++ b/packages/boxed-expression-component/package.json @@ -17,7 +17,7 @@ "start": "webpack serve -c ./dev-webapp/webpack.config.js --host 0.0.0.0 --env dev", "storybook": "storybook dev -p 6006", "test": "run-script-if --ignore-errors \"$(build-env tests.ignoreFailures)\" --bool \"$(build-env tests.run)\" --then \"jest --silent --verbose --passWithNoTests\"", - "test:e2e": "run-script-if --ignore-errors \"$(build-env integrationTests.ignoreFailures)\" --bool \"$(build-env integrationTests.run)\" --then \"pnpm rimraf ./dist-tests\" \"pnpm test:e2e:run\"", + "test:e2e": "run-script-if --ignore-errors \"$(build-env integrationTests.ignoreFailures)\" --bool \"$(build-env integrationTests.run)\" --then \"pnpm rimraf ./dist-tests\" \"pnpm playwright install --with-deps\" \"pnpm test:e2e:run\"", "test:e2e:open": "pnpm exec playwright show-report dist-tests/reporter", "test:e2e:run": "pnpm exec playwright test" }, diff --git a/packages/boxed-expression-component/playwright.config.ts b/packages/boxed-expression-component/playwright.config.ts index 544bc31fbdd..80529f7c6d3 100644 --- a/packages/boxed-expression-component/playwright.config.ts +++ b/packages/boxed-expression-component/playwright.config.ts @@ -19,6 +19,7 @@ export default defineConfig({ ["github"], ["junit", { outputFile: "./dist-tests/reports/junit-report-e2e.xml" }], ["html", { outputFolder: "./dist-tests/reports/", open: "never" }], + ["list"], ] : [["html", { outputFolder: "./dist-tests/reports/", open: "never" }], ["list"]], /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ @@ -44,7 +45,6 @@ export default defineConfig({ { name: "chromium", use: { ...devices["Desktop Chrome"], permissions: ["clipboard-read"] }, - fullyParallel: true, }, // { diff --git a/packages/playwright-base/tsconfig.json b/packages/playwright-base/tsconfig.json new file mode 100644 index 00000000000..dc1875e28f5 --- /dev/null +++ b/packages/playwright-base/tsconfig.json @@ -0,0 +1,13 @@ +{ + "extends": "@kie-tools/tsconfig/tsconfig.json", + "compilerOptions": { + "module": "esnext", + "moduleResolution": "node", + "declaration": false, + "declarationMap": false, + "resolveJsonModule": true, + "allowSyntheticDefaultImports": true, + "target": "es6" + }, + "include": ["src"] +}