Skip to content

Commit

Permalink
βš—οΈ πŸš€ (e2e): add sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
thlmenezes committed Aug 16, 2022
1 parent 15125ee commit 74e5745
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ jobs:
yarn workspaces focus @labfaz/e2e
npx playwright install --with-deps
- name: Capture Vercel preview URL
- run: sleep 180
- name: Waiting for 200 from the Vercel Preview
uses: patrickedqvist/[email protected]
id: vercelPreview
uses: aaron-binary/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
max_timeout: 120

- name: πŸ₯’πŸŽ­ Run E2E Tests
run: yarn workspace @labfaz/e2e test:all
env:
BROWSER_URL: ${{ steps.vercelPreview.outputs.vercel_preview_url }}
BROWSER_URL: ${{ steps.vercelPreview.outputs.url }}
1 change: 1 addition & 0 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
- name: Create report directory
run: mkdir -p ${{ github.workspace }}/tmp/artifacts

- run: sleep 180
- name: Waiting for 200 from the Vercel Preview
uses: patrickedqvist/[email protected]
id: vercelPreview
Expand Down

0 comments on commit 74e5745

Please sign in to comment.