File tree Expand file tree Collapse file tree
.github/actions/e2e-tests Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments