Skip to content

Commit

Permalink
Update playwright.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NameFILIP authored Oct 23, 2023
1 parent 846d86f commit f47c51e
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Playwright Tests
on:
schedule:
# Run every day at 4pm UTC
- cron: "25 17 * * *"
- cron: "45 17 * * *"
jobs:
test:
timeout-minutes: 60
Expand All @@ -16,6 +16,18 @@ jobs:
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Echo info
env:
FIRST_NAME: ${{ secrets.FIRST_NAME }}
LAST_NAME: ${{ secrets.LAST_NAME }}
NUMBER_OF_TICKETS: ${{ secrets.NUMBER_OF_TICKETS }}
EMAIL: ${{ secrets.EMAIL }}
DOB_MONTH: ${{ secrets.DOB_MONTH }}
DOB_DAY: ${{ secrets.DOB_DAY }}
DOB_YEAR: ${{ secrets.DOB_YEAR }}
ZIP: ${{ secrets.ZIP }}
COUNTRY: ${{ secrets.COUNTRY }}
run: echo "first name is: $FIRST_NAME (${{ env.FIRST_NAME }})"
- name: Run Playwright tests
env:
FIRST_NAME: ${{ secrets.FIRST_NAME }}
Expand All @@ -27,8 +39,7 @@ jobs:
DOB_YEAR: ${{ secrets.DOB_YEAR }}
ZIP: ${{ secrets.ZIP }}
COUNTRY: ${{ secrets.COUNTRY }}
run: echo "first name is: $FIRST_NAME (${{ env.FIRST_NAME }})" && npx playwright test
# run: npx playwright test
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down

0 comments on commit f47c51e

Please sign in to comment.