Context:
- Playwright Version: [1.25.0]
- Operating System: [Windows]
- Node.js version: [16.7.1]
- Browser: [e.g. All, Chromium, Firefox, WebKit]
- Extra: [any specific details about your environment]
Code Snippet
---> Below is the workflow I have been using.
`name: Playwright Tests
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install dependencies
run: npm install -g yarn && yarn install && rm -rf node_modules && yarn install --frozen-lockfile
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test --max-failures=10
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 3`
Describe the bug
My playwright tests are getting passed locally but when it is executed through Github Actions it is failing. It is showing Time out error for both web based tests and API tests.


Context:
Code Snippet
---> Below is the workflow I have been using.
`name: Playwright Tests
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
Describe the bug
My playwright tests are getting passed locally but when it is executed through Github Actions it is failing. It is showing Time out error for both web based tests and API tests.