Merge branch 'ci/webkit'
This commit is contained in:
20
.github/workflows/e2e.yml
vendored
20
.github/workflows/e2e.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
e2e:
|
e2e:
|
||||||
name: Playwright E2E (chromium-desktop)
|
name: Playwright E2E (chromium + webkit)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Playwright browsers
|
- name: Install Playwright browsers
|
||||||
working-directory: ./e2e
|
working-directory: ./e2e
|
||||||
run: npx playwright install --with-deps chromium
|
run: npx playwright install --with-deps chromium webkit
|
||||||
|
|
||||||
- name: Bring up the test stack
|
- name: Bring up the test stack
|
||||||
working-directory: ./e2e
|
working-directory: ./e2e
|
||||||
@@ -54,6 +54,22 @@ jobs:
|
|||||||
working-directory: ./e2e
|
working-directory: ./e2e
|
||||||
run: npm run test:e2e -- --project=chromium-mobile
|
run: npm run test:e2e -- --project=chromium-mobile
|
||||||
|
|
||||||
|
# iOS Safari is the app's stated primary user (a wedding guest opening a QR link), and
|
||||||
|
# WebKit is the ONLY engine here that reproduces two of its behaviours:
|
||||||
|
# - it enforces X-Frame-Options on the download iframe, so a site-wide `DENY` makes the
|
||||||
|
# keepsake download silently do nothing. Blink hands attachments to the download
|
||||||
|
# manager first and never notices. That shipped once already.
|
||||||
|
# - it abandons a <video> load without a 206 response to its Range probe.
|
||||||
|
# Both regressions are invisible to every Chromium project, so running WebKit is what
|
||||||
|
# actually gates them on a PR rather than on someone remembering to test locally.
|
||||||
|
#
|
||||||
|
# The project is scoped in playwright.config.ts to the journeys a guest walks
|
||||||
|
# (01-auth, 02-upload, 03-feed, 06-export); four IndexedDB-blob tests skip themselves
|
||||||
|
# there — see helpers/webkit.ts for why that is the harness and not the app.
|
||||||
|
- name: Run E2E tests (webkit / iOS)
|
||||||
|
working-directory: ./e2e
|
||||||
|
run: npm run test:e2e -- --project=webkit-iphone
|
||||||
|
|
||||||
- name: Upload Playwright report
|
- name: Upload Playwright report
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user