Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

ci: the WebKit interaction lane covers the modal outlet (#10018)

Cindy Zhang5f9481f3e025
diff --git a/.github/scripts/ci-interaction-webkit.test.mjs b/.github/scripts/ci-interaction-webkit.test.mjs
index 25f2e513ee..7b2600abda 100644
--- a/.github/scripts/ci-interaction-webkit.test.mjs
+++ b/.github/scripts/ci-interaction-webkit.test.mjs
@@ -346,6 +346,10 @@ describe('WebKit interaction proof routing', () => {
// The gesture host asks the Layer module's input hold about each touch,
// so the gesture specs' fixture bundles it.
'packages/core/src/Layer/inputHold.ts',
+ // The input hold is moving to read the modal outlet's host checks, which
+ // brings the outlet into the gesture fixtures and the pager bundle; the
+ // scope covers it before that import lands.
+ 'packages/core/src/Layer/modalOutlet.ts',
'packages/core/src/hooks/useMenuPress.ts',
'packages/core/src/hooks/menuPressGesture.ts',
'packages/core/src/hooks/useLongPress.ts',
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 62dfb4b889..9ce9e7dd29 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2669,7 +2669,7 @@ jobs:
id: scope
uses: ./.test-scope/.github/actions/test-scope
with:
- paths: '^(packages/core/src/gestures/|packages/core/src/motion/|packages/core/src/internal/touch|packages/core/src/utils/(press|touch|primaryClick|isApplePlatform|flatTree|inputStream|clickGuard|selectionLock|coarsePointer|sharedResizeObserver|scrollView)|packages/core/src/privateAttributes/(hapticSwitch|reducedMotion)\.stylex\.ts$|packages/core/src/Layer/inputHold\.ts$|packages/core/src/hooks/(useMenuPress|menuPress|useLongPress|usePressFeedback|isRtlElement|useIsomorphicLayoutEffect|useAttachment|usePager|__tests__/(usePager|pagerBundle))|internal/interaction-harness/|internal/a11y-spec/|playwright\.interaction\.config\.ts$|packages/themes/[^/]+/src/|apps/storybook/|\.github/workflows/ci\.yml$|package\.json$|pnpm-lock\.yaml$|\.github/scripts/(playwright-legs|a11y-pr-contracts)\.mjs$|scripts/lib/duration-split\.mjs$|\.github/playwright-leg-durations\.json$|\.github/actions/test-scope/|.*\.interaction\.browser\.spec\.ts$)'
+ paths: '^(packages/core/src/gestures/|packages/core/src/motion/|packages/core/src/internal/touch|packages/core/src/utils/(press|touch|primaryClick|isApplePlatform|flatTree|inputStream|clickGuard|selectionLock|coarsePointer|sharedResizeObserver|scrollView)|packages/core/src/privateAttributes/(hapticSwitch|reducedMotion)\.stylex\.ts$|packages/core/src/Layer/(inputHold|modalOutlet)\.ts$|packages/core/src/hooks/(useMenuPress|menuPress|useLongPress|usePressFeedback|isRtlElement|useIsomorphicLayoutEffect|useAttachment|usePager|__tests__/(usePager|pagerBundle))|internal/interaction-harness/|internal/a11y-spec/|playwright\.interaction\.config\.ts$|packages/themes/[^/]+/src/|apps/storybook/|\.github/workflows/ci\.yml$|package\.json$|pnpm-lock\.yaml$|\.github/scripts/(playwright-legs|a11y-pr-contracts)\.mjs$|scripts/lib/duration-split\.mjs$|\.github/playwright-leg-durations\.json$|\.github/actions/test-scope/|.*\.interaction\.browser\.spec\.ts$)'
outside-pull-request: skip
requires-head-file: playwright.interaction.config.ts
# Lists the changed files, so the planner adds a changed spec.