Skip to content

Commit

Permalink
add more debugging info to failure output
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Tyler <[email protected]>
  • Loading branch information
jazzsequence and pwtyler authored Aug 1, 2024
1 parent 22c3022 commit 4e9d827
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,8 @@ jobs:
SUBDOMAIN_URL_TEST=$(curl -s -o /dev/null -w "%{http_code}" ${{ env.SUBDOMAIN_URL }})
if [ $SITE_URL_TEST -ne 200 ] || [ $SUBDOMAIN_URL_TEST -ne 200 ]; then
echo "One or more site URLs are not returning a 200 status code. Exiting."
echo "${{ env.SITE_URL }} - ${SITE_URL_TEST}"
echo "${{ env.SUBDOMAIN_URL }} - ${SUBDOMAIN_URL_TEST}"
exit 1
fi
- name: Run Playwright tests on main site
Expand Down

0 comments on commit 4e9d827

Please sign in to comment.