Skip to content

docs(migrate): map Cypress blur to the shipped locator API - #2064

Merged
kdy1 merged 1 commit into
e2e-inc:mainfrom
DivyamTalwar:docs/cypress-blur-shipped
Nov 23, 2026
Merged

kdy1 merged 1 commit into
e2e-inc:mainfrom
DivyamTalwar:docs/cypress-blur-shipped

Conversation

@DivyamTalwar

@DivyamTalwar DivyamTalwar commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The Cypress migration guide still lists .blur() under Planned / What e2e doesn't have yet, suggesting press('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

  • Map Cypress .blur() to the identically named e2e locator method in the command translation table.
  • Remove .blur() from the unsupported/planned event row without altering the still-planned .trigger() or scrolling APIs.

Verified

View guided diff

@github-actions github-actions Bot added the size:XS Up to 9 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 22, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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 "else browser.evaluate". Keep that wording (hover(), dragTo(), scrollIntoView(); else browser.evaluate) rather than adding "for other synthetic events use".

Verified

  • pnpm docs:check passes (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.

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 22, 2026
@kdy1
kdy1 added this pull request to the merge queue Nov 23, 2026
Merged via the queue into e2e-inc:main with commit 369c427 Nov 23, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:XS Up to 9 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants