Repository navigation
docs(migrate): map Cypress blur to the shipped locator API - #2064
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
No issues found across 1 file
Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.
View guided diff | Re-trigger cubic
okwasniewski
left a comment
Member
There was a problem hiding this comment.
[claude-opus-5-5] automated review on behalf of @okwasniewski
Checked at aaa222b against main 5acb822.
Correct: blur() is on the screen locator (#1919), web only, the same scope as Cypress. The Playwright guide already lists it. Note that it merged after 0.24.0 and ships with 0.25.0 (#1974). The docs follow main, so that's consistent with the Playwright guide.
Nits
docs/migrate/cypress.mdx:124- other rows in this table end with "elsebrowser.evaluate". Keep that wording (hover(),dragTo(),scrollIntoView(); elsebrowser.evaluate) rather than adding "for other synthetic events use".
Verified
pnpm docs:checkpasses (translation warnings only, best effort). Docs-only, no changeset needed.- CI: all check runs green (incl. test matrix 22.22.3/22/24.8.0/24/26), no conflict with main.
kdy1
approved these changes
Nov 23, 2026
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.
Problem
The Cypress migration guide still lists
.blur()under Planned / What e2e doesn't have yet, suggestingpress('Tab')as a workaround. This is outdated: the e2e web locator's.blur()shipped in #1919 on 20 November 2026. Migrators can use the supported operation directly.Changes
.blur()to the identically named e2e locator method in the command translation table..blur()from the unsupported/planned event row without altering the still-planned.trigger()or scrolling APIs.Verified
.blur()as implemented.