Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,18 @@ jobs:
- name: Run tests
run: pnpm test

- name: Upload test results
- name: Upload test report
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: tests-report
path: tests/.report/
retention-days: 30

- name: Upload test results
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: tests-results
path: tests/.results/
retention-days: 30
5 changes: 3 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import { defineConfig } from '@playwright/test';

export default defineConfig({
testDir: 'tests',
reporter: [['html', { outputFolder: 'tests/.report' }]],
outputDir: 'tests/.results',
workers: process.env.CI ? 1 : undefined,
retries: 1,
use: { trace: 'on-first-retry' },
reporter: [['html', { outputFolder: 'tests/.report' }]],
outputDir: 'tests/.results',
webServer: [
{
cwd: 'examples/chat-room',
Expand Down
Loading