mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
test(e2e): drive the bottom sheet on WebKit with an iPhone profile
A webkit-iphone project runs one spec: drag, spring back, flick, scroll before drag, a slider sideways, the three closes, focus return, the page's scroll position and pull-to-refresh. CI installs WebKit beside Chromium.
This commit is contained in:
1 parent
55211c0e69
commit
72e6fd6620
3 files changed
+504
-1
No files matched your search
@@ -81,7 +81,9 @@ jobs:
|
||||
restore-keys: |
|
||||
playwright-${{ runner.os }}-
|
||||
|
||||
- run: pnpm exec playwright install --with-deps chromium
|
||||
# WebKit for the one phone spec that needs Safari's engine
|
||||
# (`bottom-sheet.spec.ts`, the `webkit-iphone` project).
|
||||
- run: pnpm exec playwright install --with-deps chromium webkit
|
||||
|
||||
# `pnpm build` (not bare `next build`): the prebuild hook generates
|
||||
# the versioned service-worker stamp AND the static i18n catalog
|
||||
|
||||
Reference in new issue
Block a user