Skip to content

Commit e7d0e0c

Browse files
authored
Merge pull request #130 from Lazztech/shosh-playwright
Shosh playwright
2 parents df34a5f + ebaaa4c commit e7d0e0c

7 files changed

Lines changed: 916 additions & 1807 deletions

File tree

.github/workflows/playwright.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Playwright Tests
2+
on:
3+
push:
4+
branches: [ main, master ]
5+
pull_request:
6+
branches: [ main, master ]
7+
jobs:
8+
test:
9+
timeout-minutes: 60
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: lts/*
16+
- name: Install dependencies
17+
run: npm ci
18+
- name: Install Playwright Browsers
19+
run: npx playwright install --with-deps
20+
- name: Run Playwright tests
21+
run: npx playwright test
22+
- uses: actions/upload-artifact@v4
23+
if: ${{ !cancelled() }}
24+
with:
25+
name: playwright-report
26+
path: playwright-report/
27+
retention-days: 30

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,11 @@ resources/android/splash
4040
resources/ios/icon
4141
resources/ios/splash
4242
resources/windows/icon
43-
resources/windows/splash
43+
resources/windows/splash
44+
45+
# Playwright
46+
/test-results/
47+
/playwright-report/
48+
/blob-report/
49+
/playwright/.cache/
50+
/playwright/.auth/

0 commit comments

Comments
 (0)