Skip to content

Commit

Permalink
update playwright to 1.38.1 and setup workflow to download chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-thibodeau committed Sep 26, 2023
1 parent 9267e1b commit 893f2af
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 294 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/e2e-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
node-version: 20

- name: Install
run: npm ci
run: |
npm ci
npx playwright install --with-deps chromium
- name: Test
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/e2e-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
node-version: 20

- name: Install
run: npm ci
run: |
npm ci
npx playwright install --with-deps chromium
- name: Test
env:
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ jobs:
node-version: 20

- name: Install
run: npm ci
run: |
npm ci
npx playwright install --with-deps chromium
- name: Test
env:
Expand All @@ -188,8 +190,10 @@ jobs:
with:
node-version: 20.5.1

- name: Install dependencies
run: npm ci
- name: Install
run: |
npm ci
npx playwright install --with-deps chromium
- name: start openfin
run: npm run _e2e:openfin:run --manifest_url=https://openfin.env.reactivetrader.com/pull/${{ github.event.number }}/config/rt-fx.json
Expand Down Expand Up @@ -218,8 +222,10 @@ jobs:
with:
node-version: 20.5.1

- name: Install dependencies
run: npm ci
- name: Install
run: |
npm ci
npx playwright install --with-deps chromium
- name: start openfin
run: npm run _e2e:openfin:run --manifest_url=https://openfin.env.reactivetrader.com/pull/${{ github.event.number }}/config/rt-credit.json
Expand Down
12 changes: 12 additions & 0 deletions packages/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ There seems to be some issues with storybook cache on some machines, we can solv

How to run e2e tests against the web

Install chromium if not already installed

```sh
npx playwright install --with-deps chromium
```

```sh
npm start
```
Expand All @@ -204,6 +210,12 @@ arguments: --headed (launches a browser visible to the user) and --workers=1 to

How to run e2e tests against openfin

Install chromium if not already installed

```sh
npx playwright install --with-deps chromium
```

```sh
npm run openfin:dev
npm run openfin:start:launcher
Expand Down
Loading

0 comments on commit 893f2af

Please sign in to comment.