Skip to content

test(web): retry the zoomfade hover until a painted cell answers - #767

Merged
efiten merged 1 commit into
masterfrom
test/zoomfade-hover-retry
Oct 31, 2026
Merged

efiten merged 1 commit into
masterfrom
test/zoomfade-hover-retry

Conversation

@efiten

@efiten efiten commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Closes #766

What changes

web/e2e/zoomfade.spec.js ("the pointer reads the cell drawn in full"): the pointer move now repeats inside expect(...).toPass() until .ch-hover is visible, then checks 14 pts as before. This is the same pattern clickMapAt (e2e/fixtures.js:89) uses. Test-only change, so no changelog entry.

Verified

  • The test, 60 runs with 8 workers: 60 passed. Before, on master: 12 of 60 failed, the failures shown were element(s) not found on .ch-hover.
  • zoomfade.spec.js in full: all passed. eslint clean.

Not done

  • No new map hook for "layer painted". Retrying is the existing pattern in this suite.

https://claude.ai/code/session_01TDXX3ZV8LEdZgVTNFYFvZi

The test moved the pointer once, as soon as the source held the cells.
Under load the layer had not painted them yet and no hover appeared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TDXX3ZV8LEdZgVTNFYFvZi
@efiten
efiten merged commit 9331dfa into master Oct 31, 2026
6 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 31, 2026
efiten pushed a commit that referenced this pull request Oct 31, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>app: 1.32.1</summary>

##
[1.32.1](app-v1.32.0...app-v1.32.1)
(2026-10-31)


### Bug Fixes

* **web:** a callout with its control in the menu sends the tour copy
into the panel
([#760](#760))
([8592da6](8592da6))
* **web:** keep the bar's labels on one line at tablet widths
([#759](#759))
([f27390c](f27390c))
</details>

<details><summary>server: 1.11.1</summary>

##
[1.11.1](server-v1.11.0...server-v1.11.1)
(2026-10-31)


### Performance Improvements

* **server,web:** one point query per hex refresh for both cell sizes
([#755](#755))
([78868fc](78868fc))
</details>

<details><summary>web: 1.28.1</summary>

##
[1.28.1](web-v1.28.0...web-v1.28.1)
(2026-10-31)


### Bug Fixes

* **web:** a callout with its control in the menu sends the tour copy
into the panel
([#760](#760))
([8592da6](8592da6))
* **web:** a registry answer from before a role change, or an older
failure, no longer moves the attributor
([#769](#769))
([087377d](087377d))
* **web:** date a registry slice from when it was asked for
([#765](#765))
([77badec](77badec))
* **web:** keep the bar's labels on one line at tablet widths
([#759](#759))
([f27390c](f27390c))


### Performance Improvements

* **server,web:** one point query per hex refresh for both cell sizes
([#755](#755))
([78868fc](78868fc))


### Code Refactoring

* **web:** drop the name-redraw hold, MapLibre never closes a popup on
redraw ([#770](#770))
([ba9a9b0](ba9a9b0))


### Tests

* **web:** release the mocked resolver when the popup is open, not after
600 ms ([#762](#762))
([2abc959](2abc959))
* **web:** retry the zoomfade hover until a painted cell answers
([#767](#767))
([9331dfa](9331dfa))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

web: the zoomfade hover e2e moves the pointer before the cells are drawn

1 participant