Skip to content

Commit

Permalink
ci(percy): attempt to resolve timeout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Mar 10, 2022
1 parent 189beec commit 7e8e71a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/percy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
uses: bahmutov/npm-install@v1
- name: Take Percy Snapshots
# Move everything from latest commit back to staged
run: npx percy exec -- npx jest percy/percy.test.js
run: npx percy exec -- npx jest percy/percy.test.js --force-exit
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
1 change: 1 addition & 0 deletions percy/percy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ test('OTP-RR', async () => {
)
await tripPlannerButton.click()
await page.waitForSelector('.batch-routing-panel')
await page.waitForTimeout(3000)
const [viewAllOptionsButton] = await page.$x(
"//button[contains(., 'View all options')]"
)
Expand Down

0 comments on commit 7e8e71a

Please sign in to comment.