Skip to content

Commit

Permalink
Fixing syntax for the daily run
Browse files Browse the repository at this point in the history
  • Loading branch information
amankumarrr committed Mar 26, 2024
1 parent 9d373bf commit 3354cd5
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/daily-image-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ on:
workflow_dispatch:

env:
test_to_run: "images"
deploy_url: "https://ssw.com.au"
reporter: "--reporter='./ui-tests/reporter.ts'"
DEPLOY_URL: "https://ssw.com.au"
TESTS_TO_RUN: "images"
REPORTER: "--reporter='./ui-tests/reporter.ts'"

defaults:
run:
shell: pwsh

jobs:
check-broken-images:
name: Run Playwright Tests
uses: ./.github/workflows/template-ui-tests.yml
with:
deploy_url: ${{ env.deploy_url }}
tests_to_run: ${{ env.test_to_run }}
reporter: ${{ env.reporter }}
runs-on: ubuntu-latest
steps:
- name: Run Playwright Tests
uses: ./.github/workflows/template-ui-tests.yml
with:
deploy_url: ${{ inputs.DEPLOY_URL }}
tests_to_run: ${{ env.TESTS_TO_RUN }}
reporter: ${{ env.REPORTER }}

0 comments on commit 3354cd5

Please sign in to comment.