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 8574d22
Browse filesBrowse the repository at this point in the historyBrowse files
Desktop testing: declare and select WDIO cases by input lane, platform and scope (#4464)
* 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>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add modality-aware desktop test descriptors: `desktopIt` and `desktopDescribe` declare `requires`, `input`, `platforms`, `scope`, and known gaps for Storybook cases and, through `desktop-test/jasmine`, WebdriverIO Jasmine specs. `--input accessible|physical` (or `DESKTOP_INPUT`) runs one input lane, selects the cases that apply, masks the host for the accessible lane, and reports the lane and what it excluded.
Declare the Callout and FocusZone desktop tests with `desktopIt` and `requires`, so each runs in the input lane it needs and the Win32 Tab-exit gap is declared instead of skipped at run time.
0 commit comments