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
7 changes: 7 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ jobs:
- name: Run E2E tests on ${{ matrix.project }}
run: npx playwright test --project ${{ matrix.project }}
continue-on-error: ${{ matrix.project == 'webkit' }}
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results-${{ matrix.project }}
path: test-results

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scripts": {
"start": "vite --host localhost --port 3000 --open",
"serve": "vite --host",
"build": "cross-env NODE_OPTIONS=--max_old_space_size=4096 vite build --outDir build/v0.1.0",
"build": "cross-env NODE_OPTIONS=--max_old_space_size=4096 vite build --outDir build",
"build-no-minify": "cross-env NO_MINIFY=true npm run build",
"test": "jest --coverage",
"eslint": "eslint src/* ",
Expand Down Expand Up @@ -66,4 +66,4 @@
"typescript": "^5.0.2",
"vite": "^4.2.1"
}
}
}
3 changes: 2 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ const viewportOverride: ViewportSize = {

const config: PlaywrightTestConfig = {
testDir: 'test-e2e',
retries: 0,
retries: 1,
use: {
headless: true,
ignoreHTTPSErrors: true,
trace: 'retain-on-failure',
// video: 'on-first-retry',
launchOptions: {
// slowMo: 250,
Expand Down