Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmotta committed Aug 1, 2023
1 parent c6b15bb commit f1ba885
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/boxed-expression-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/boxed-expression-component/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand All @@ -44,7 +45,6 @@ export default defineConfig({
{
name: "chromium",
use: { ...devices["Desktop Chrome"], permissions: ["clipboard-read"] },
fullyParallel: true,
},

// {
Expand Down
13 changes: 13 additions & 0 deletions packages/playwright-base/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"]
}

0 comments on commit f1ba885

Please sign in to comment.