Skip to content

Commit 5733e6b

Browse files
fix: playwright reported and output path
1 parent e20e617 commit 5733e6b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
npm run db:seed
6969
7070
- name: Run Playwright tests
71-
run: npx playwright test --reporter=github
71+
run: npx playwright test --reporter=html
7272

7373
- uses: actions/upload-artifact@v4
7474
if: ${{ !cancelled() }}

playwright.config.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ export default defineConfig({
4949
// },
5050

5151
/* Test against mobile viewports. */
52-
{
53-
name: "Mobile Chrome",
54-
use: { ...devices["Pixel 5"] },
55-
},
52+
// {
53+
// name: "Mobile Chrome",
54+
// use: { ...devices["Pixel 5"] },
55+
// },
5656
// {
5757
// name: 'Mobile Safari',
5858
// use: { ...devices['iPhone 12'] },
@@ -69,6 +69,8 @@ export default defineConfig({
6969
// },
7070
],
7171

72+
outputDir: 'playwright-report',
73+
7274
/* Run your local dev server before starting the tests */
7375
webServer: {
7476
command: "npm run dev:e2e",

0 commit comments

Comments
 (0)