feat(locator): add hasNot to filter
Merged
21
19d ago+164+164+012345678901234567890123456789-54-54-01234567890123456789
What and why
locator.filter({ hasNot })drops matches whose subtree resolves a locator, the counterpart ofhas.- Same scoping rules as
has; works on the web and mobile engines and the generic resolver. - Docs, skill references and a changeset updated.
Issue
Fixes #1292
Verified
Ran it locally: yes
pnpm check, e2e unit tests and mobile tests pass.- Web integration tests (Chromium) not run; web passes
hasNotstraight to Playwright.
Checklist
- Changeset added
- Docs updated
- Contract change:
tests/types/sdk-types.tsupdated - Engine contract change: changesets for
e2e,@e2e-dev/web, and@e2e-dev/mobile