Skip to content

Commit 96d422f

Browse files
fix
1 parent 970136f commit 96d422f

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/actions/e2e-tests/action.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,18 @@ runs:
127127
key: playwright-${{ inputs.browser }}-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('openaev-front/yarn.lock') }}
128128
- name: Install Playwright browsers (${{ inputs.browser }} + chromium for setup)
129129
if: steps.playwright-cache.outputs.cache-hit != 'true'
130-
run: yarn playwright install --with-deps chromium ${{ inputs.browser }}
130+
run: |
131+
BROWSER="${{ inputs.browser }}"
132+
[[ "$BROWSER" == "edge" ]] && BROWSER="msedge"
133+
yarn playwright install --with-deps chromium $BROWSER
131134
shell: bash
132135
working-directory: openaev-front
133136
- name: Install Playwright system dependencies (cache hit)
134137
if: steps.playwright-cache.outputs.cache-hit == 'true'
135-
run: yarn playwright install-deps chromium ${{ inputs.browser }}
138+
run: |
139+
BROWSER="${{ inputs.browser }}"
140+
[[ "$BROWSER" == "edge" ]] && BROWSER="msedge"
141+
yarn playwright install-deps chromium $BROWSER
136142
shell: bash
137143
working-directory: openaev-front
138144

0 commit comments

Comments
 (0)