Skip to content

Commit

Permalink
Try running Playwright with dependent services
Browse files Browse the repository at this point in the history
  • Loading branch information
david-mears-2 committed Aug 1, 2024
1 parent dd6c7bf commit d1c4f09
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run deps
run: scripts/run-dependencies
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
- name: Install Playwright browsers
run: npx playwright install --with-deps && npx playwright install msedge
- name: Run Playwright tests
run: npm run test:e2e
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Test
run: npm run test:unit:coverage
- name: Upload coverage to codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v4.5.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: jameel-institute/daedalus-web-app
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Run server-side rendering tests:
npm run test:ssr
```

Run full-stack tests:
Run full-stack tests (having your dev dependencies already running):
```bash
npm run test:e2e
```
Expand Down

0 comments on commit d1c4f09

Please sign in to comment.