Skip to content

Commit 85d5e99

Browse files
authored
Merge branch 'main' into codex/inspect-shandoku-codebase-for-rift-mode-mfo0pi
2 parents ce24218 + c00c60b commit 85d5e99

11 files changed

Lines changed: 2015 additions & 6 deletions

.github/workflows/ui-tests.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: ui-tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
playwright:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Setup Node
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
cache: npm
19+
20+
- name: Install dependencies
21+
run: npm ci
22+
23+
- name: Install Playwright browsers
24+
run: npx playwright install --with-deps chromium
25+
26+
- name: Run UI tests
27+
run: npm run test:ui
28+
29+
- name: Upload Playwright artifacts on failure
30+
if: failure()
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: playwright-artifacts
34+
path: |
35+
playwright-report/
36+
test-results/
37+
if-no-files-found: ignore

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
2-
package-lock.json
2+
playwright-report/
3+
test-results/

0 commit comments

Comments
 (0)