Skip to content

Commit 5c9eaaa

Browse files
committed
eap(update-ci): Update CI for playwright
1 parent 4362c3e commit 5c9eaaa

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
path: packages/ui/dist
6464

6565
test:
66-
name: Run tests
66+
name: Run tests (Unit + Playwright)
6767
environment: 'test'
6868
runs-on: ubuntu-latest
6969
defaults:
@@ -87,8 +87,14 @@ jobs:
8787
name: ui-build
8888
path: packages/ui/dist
8989

90-
- name: Run test
91-
run: pnpm test
90+
- name: Install Playwright browsers
91+
run: pnpm exec playwright install --with-deps
92+
93+
- name: Build app
94+
run: pnpm build
95+
96+
- name: Run Playwright tests
97+
run: pnpm exec playwright test
9298

9399
translation:
94100
continue-on-error: true

packages/e2e-tests/tests/eap_regis_data.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
username: "admin@togglecorp.com",
3-
password: "kvZYZ&Ry72R5uBA*5k",
3+
password: "kvZYZ&Ry72R5uBY*5k",
44

55
eapForm: {
66
national_society: "Afghan Red Crescent Society",

0 commit comments

Comments
 (0)