Repository navigation
Add Locator.BlurAsync for web elements (tester-army/e2e#1919) - #2054
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls2e22FiWWXZ7dbPtTiZjf
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 52 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls2e22FiWWXZ7dbPtTiZjf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
Locator.BlurAsync(): removes focus from the matched web element (port of e2e-inc/e2e#1919, commit e88153b).Value
Tests can blur a field (e.g. to trigger validation on blur) without tabbing or clicking elsewhere. Web only: device engines do not declare
blur, so it fails withUNSUPPORTED_CAPABILITYthere.Upstream parity
Verdict: complete except the two items under "Not ported".
LocatorAction.Blur,BlurAsync(Locator),EngineActionKinds.KnownLocator(upstreamKNOWN_LOCATOR_ACTION_KINDS;Locatorstays the SPI v1 list), manifest validatesactionsagainst it[...Locator, "blur"]and dispatches blur via the prototype'sblur(instance overrides bypassed; HTMLElement, SVGElement, MathMLElement),NODE_STALEwhen detachedUpstream tests and local match
ControlsTests.Blur_removes_focus_only_from_the_matched_nodeControlsTests.Blur_works_on_an_input_matched_by_its_current_valueControlsTests.Blur_removes_focus_from_MathML_matched_by_labelLocatorEngine/LocatorBlurTestsSurfaceOfTests.Declares_support_for_blur_on_web(session-levelActionKinds, the port has no handle)EngineProtocolTests.Partial_Describes_an_engine...(still partial: no describeEngine)schema/fixtures/engine-manifest-v1.invalid.json(existing schema-fixture test)Not ported
code-surface.ts: port has no run_code surface: Port mcp-code-parse blur member list (tester-army/e2e#1919) #2052package.jsonpeer ranges, changeset): npm-only.Closes #2027
Tests run (net10.0, Chromium): Controls, LocatorBlur, SurfaceOf, EngineProtocol, SchemaFixtures, DefineEngine all pass. No agent-affecting change, so the full real-model suite was not run.
Generated by Claude Code