Skip to content

Commit

Permalink
remove playwright install from workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-thibodeau committed Oct 4, 2023
1 parent ab1db26 commit d44b9e9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/e2e-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ jobs:
node-version: 20

- name: Install
run: |
npm ci
npx playwright install
run: npm ci


- name: Test
env:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/e2e-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
node-version: 20

- name: Install
run: |
npm ci
npx playwright install
run: npm ci

- name: Test
env:
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ jobs:
node-version: 20

- name: Install
run: |
npm ci
npx playwright install
run: npm ci

- name: Test
env:
Expand Down Expand Up @@ -191,9 +189,7 @@ jobs:
node-version: 20.5.1

- name: Install
run: |
npm ci
npx playwright install
run: npm ci

- 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 @@ -223,9 +219,7 @@ jobs:
node-version: 20.5.1

- name: Install
run: |
npm ci
npx playwright install
run: npm ci

- 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
3 changes: 2 additions & 1 deletion packages/client/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const config: PlaywrightTestConfig = {
{
name: "chrome",
use: {
...devices["Desktop Chrome"],
...devices["Desktop Chrome"],
channel: 'chrome',
//Artifacts
screenshot: "only-on-failure",
video: "retain-on-failure",
Expand Down

0 comments on commit d44b9e9

Please sign in to comment.