You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit da2b62c
Browse filesBrowse the repository at this point in the historyBrowse files
Desktop testing: migrate stories and split CI input lanes (#4466)
* WDIO descriptor and desktopIt helper
* Select and account for desktop WDIO cases by input lane
Finish part 1 of the input-lane work started in f5a90cd. Cases declare
how they run with desktopIt, and a run selects the cases that apply to its
input lane, platform and scope and accounts for everything it excludes.
desktop-driver
- Add pure case selection and click-mode resolution, and move the
requirement preflight and click-mode helpers here.
- Add the authoring/input leaf export so config-loading code can import
scope helpers from source without the authoring index.
desktop-test
- Report the lane: a lane run is incomplete when it has skipped or
undeclared-unsupported results, an empty selection or nothing executed.
- Add the Jasmine adapter (desktop-test/jasmine) with desktopIt and
desktopDescribe, plus config-level test scopes and --input.
storybook-desktop
- Add --input accessible|physical to storybook test, driver and smoke.
The lane comes from the flag, DESKTOP_INPUT or the attached driver.
- Select cases before they run, resolve declared gaps, assess each
cohort, and reject direct input calls in declared cases at extraction.
- Fail closed when an accessible lane attaches to a driver that does not
mask keyboard, physical click and wheel input.
native-core and apps/E2E
- Migrate the native-core Callout and FocusZone tests and
ButtonV1.spec.win.ts to desktopIt.
Update the package references and add patch changesets.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Migrate desktop story tests to declared input lanes
Replace remaining component story runtime skips with desktopIt requirements, platform scopes and declared gaps. Carry the Win32 preview fixes from #4431 and split accessible and advisory physical Storybook CI lanes without changing aggregate PR requirements.
Co-authored-by: Srividya Ramaswamy <sriramas@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Declare every component and primitive story test with `desktopIt`, so each case states the input it needs, the endpoints it runs on, and its known gaps instead of skipping at run time, and remove the internal `requireDesktopFocus` story helper.
Close the upstream Storybook HTTP listener and its open connections when the legacy channel service stops, so lingering keep-alive or reconnect sockets cannot keep the channel process alive past its shutdown budget.
Scroll the Win32 story preview inside its viewport and remount the preview for each navigation generation, so story tests start from a fresh, reachable preview.
0 commit comments