Skip to content

Commit 4cde821

Browse files
committed
feat: add Playwright E2E tests to CI workflow for Next.js 16
- Add dedicated step to run Playwright E2E tests in CI - Configure tests to run only for next-app-16-0-3 matrix entry - Set PLAYWRIGHT_BASE_URL environment variable to localhost:3055
1 parent 7cadc4d commit 4cde821

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ jobs:
7878
SKIP_BUILD: true
7979
NEXT_TEST_APP: ${{ matrix.next-test-app }}
8080

81+
- name: Run Playwright E2E tests (Next 16 only)
82+
if: matrix.next-test-app == 'next-app-16-0-3'
83+
run: pnpm test:e2e
84+
env:
85+
PLAYWRIGHT_BASE_URL: http://localhost:3055
86+
8187
- name: Code Coverage Comments
8288
if: github.event_name == 'pull_request'
8389
uses: kcjpop/coverage-comments@v2.2

0 commit comments

Comments
 (0)