Skip to content

test(e2e): wait for follow camera to settle in hidden puck test - #4435

Merged
mfazekas merged 1 commit into
mainfrom
test/e2e-hidden-puck-follow-settle
Nov 4, 2026
Merged

mfazekas merged 1 commit into
mainfrom
test/e2e-hidden-puck-follow-settle

Conversation

@mfazekas

@mfazekas mfazekas commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Description

The hidden puck test asserted a single sample two location updates after enabling follow, which races the follow camera animation toward the moving puck on slow CI simulators (main run https://github.com/rnmapbox/maps/actions/runs/41707982256: heading error 20.16 vs < 20; #4434 run https://github.com/rnmapbox/maps/actions/runs/41785311434: center off by 0.00024 vs < 0.0002). It now waits, up to the existing 15s puckStateWhen timeout, for the camera center and heading to come within the same tolerances.

Locally on an iOS simulator (Release build) it passed 5/5. With followUserLocation={false} in the fixture it still fails (center stays at the origin, heading 0).

Checklist

  • I've read CONTRIBUTING.md
  • I updated the doc/other generated code with running yarn generate in the root folder
  • I have tested the new feature on /example app.
    • In V11 mode/ios
    • In New Architecture mode/ios
    • In V11 mode/android
    • In New Architecture mode/android
  • I added/updated a sample - if a new feature was implemented (/example)

@mfazekas
mfazekas merged commit 70faed6 into main Nov 4, 2026
10 checks passed
@mfazekas
mfazekas deleted the test/e2e-hidden-puck-follow-settle branch November 4, 2026 09:00

This branch was previously deployed

1 inactive deployment
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.

1 participant