Skip to content

New Feature: Implement Locator.Map tests#3207

Merged
kblok merged 1 commit into
masterfrom
implement-upstream-change-10630
Feb 24, 2026
Merged

New Feature: Implement Locator.Map tests#3207
kblok merged 1 commit into
masterfrom
implement-upstream-change-10630

Conversation

@kblok

@kblok kblok commented Feb 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds test coverage for Locator.Map() functionality, ported from upstream Puppeteer PR #10630
  • The Map method, MappedLocator, and DelegatedLocator implementations already existed in the codebase
  • Creates new LocatorMapTests.cs with 3 tests: basic map, map with throws (retry behavior), and map combined with filter
  • Moves misplaced map test from LocatorFilterTests.cs to the proper test file

Test plan

  • All 3 new LocatorMapTests pass with Chrome/CDP
  • Existing LocatorFilterTests still pass
  • Full locator test suite passes (4/4 tests)

Closes #2269

🤖 Generated with Claude Code

Add tests for Locator.Map functionality ported from upstream PR #10630.
The Map method, MappedLocator, and DelegatedLocator implementations
already existed. This adds the missing test coverage and moves the
misplaced map test from LocatorFilterTests to the new LocatorMapTests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kblok kblok changed the title New Feature: Implement Locator.Map tests (#10630) (#2269) New Feature: Implement Locator.Map tests Feb 23, 2026
@kblok kblok merged commit 39448c7 into master Feb 24, 2026
14 checks passed
@kblok kblok deleted the implement-upstream-change-10630 branch February 24, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Locator.map

1 participant