Skip to content

Commit

Permalink
Fix Playwright report location (#191)
Browse files Browse the repository at this point in the history
Co-authored-by: Vishal <[email protected]>
  • Loading branch information
vishalshrm539 and Vishal authored Sep 19, 2024
1 parent e5fbbd1 commit 9cac1f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"copy-index": "shx cp dist/index.html dist/simpleportal.html && shx cp dist/index.html dist/portal.html && shx cp dist/index.html dist/fullportal.html && shx cp dist/index.html dist/embedded.html",
"test": "node playwright-message.js && playwright test --project=chromium MediaCo/portal MediaCo/embedded",
"test:headed": "playwright test --headed --project=chromium MediaCo/portal MediaCo/embedded",
"test-report": "playwright show-report",
"test-report": "playwright show-report tests/playwright-report",
"build-dev-only": "webpack --mode=development && npm run copy-index",
"build-prod-only": "webpack --mode=production && npm run copy-index",
"lint": "run-p -cl lint:*",
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const config = {
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
reporter: [['html', { outputFolder: 'tests/playwright-report' }]],
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
Expand Down

0 comments on commit 9cac1f9

Please sign in to comment.