diff --git a/.github/workflows/percy.yml b/.github/workflows/percy.yml index d68d0c24f..6a46fd3f4 100644 --- a/.github/workflows/percy.yml +++ b/.github/workflows/percy.yml @@ -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 }} diff --git a/percy/percy.test.js b/percy/percy.test.js index 0344b4696..0c7799ed6 100644 --- a/percy/percy.test.js +++ b/percy/percy.test.js @@ -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')]" )