Skip to content

Commit f5b6b02

Browse files
committed
Test Playwright start time before running tests
1 parent 00786cb commit f5b6b02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
shot-scraper install
3131
shot-scraper install -b firefox
3232
shot-scraper install -b webkit
33+
- name: Test Playwright startup time
34+
run: |
35+
time python -c "from playwright.sync_api import sync_playwright; p = sync_playwright().start(); b = p.chromium.launch(); b.close(); p.stop(); print('OK')"
3336
- name: Run tests
3437
run: |
3538
pytest -vv

0 commit comments

Comments
 (0)