Skip to content

Commit c66bf7a

Browse files
VIA-598 AJ/DB Change conditionals in E2E action to handle string datatype
1 parent ce31259 commit c66bf7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/actions/run-e2e-tests/action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,28 +52,28 @@ runs:
5252
key: ${{ runner.os }}-playwright-${{ steps.cache_key_values.outputs.week_num }}-${{ steps.cache_key_values.outputs.playwright_version }}-${{ hashFiles('**/playwright.config*') }}
5353

5454
- name: "Install Playwright browsers (Chromium, Firefox)"
55-
if: steps.playwright-cache.outputs.cache-hit != 'true'
55+
if: ${{ steps.playwright-cache.outputs.cache-hit != 'true' }}
5656
shell: bash
5757
working-directory: "./code-for-e2e-tests"
5858
run: |
5959
npx playwright install chromium firefox --with-deps
6060
6161
- name: "Install Playwright browsers (Webkit)"
62-
if: ${{ inputs.cross_browser == true }}
62+
if: ${{ inputs.cross_browser == 'true' }}
6363
shell: bash
6464
working-directory: "./code-for-e2e-tests"
6565
run: |
6666
npx playwright install webkit --with-deps
6767
6868
- name: "Run Playwright tests"
69-
if: ${{ inputs.cross_browser == false }}
69+
if: ${{ inputs.cross_browser == 'false' }}
7070
shell: bash
7171
working-directory: "./code-for-e2e-tests"
7272
run: |
7373
npm run e2e
7474
7575
- name: "Run Playwright tests (cross browser)"
76-
if: ${{ inputs.cross_browser == true }}
76+
if: ${{ inputs.cross_browser == 'true' }}
7777
shell: bash
7878
working-directory: "./code-for-e2e-tests"
7979
run: |

0 commit comments

Comments
 (0)