Skip to content

docs(e2e): move the capas gfi comment - #84

Merged
fjlopez merged 1 commit into
devfrom
cleanup/rt-3-wrong-comments
Oct 15, 2026
Merged

fjlopez merged 1 commit into
devfrom
cleanup/rt-3-wrong-comments

Conversation

@fjlopez

@fjlopez fjlopez commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Why

The Capas GFI note sat on identifyAtMapCenter, which already documents the map-center callback. The toggle it describes is enableCapasGfi. The save_baseline comment described a format check the loop does not make. The loop always writes id and baseline_code.

What changed

  • Moved the Capas GFI note to the line above enableCapasGfi.
  • Deleted the format-detection comment in save_baseline. The docstring still names both accepted shapes.

Scope

Comment placement only. This leaves function bodies, the is_ancestor handler, and the narrating-comment sweep for the next change.

Blast Radius

Readers of the viewer helper and the baseline writer. Runtime behavior is unchanged.

Verification

  • python3 -m unittest discover -s tools/tests -p 'test_*.py' finished OK, 46 tests, one skip (filesystem is case-insensitive). None of those tests asked for a database.
  • npx playwright test --list listed 61 tests in 23 files. Playwright was listed, not executed.

The Capas GFI note sat on identifyAtMapCenter, which already documents
the map-center callback. The toggle it describes is enableCapasGfi.
The save_baseline comment described a format branch the loop does not take.
@fjlopez
fjlopez changed the base branch from cleanup/rt-2-dead-code to dev October 15, 2026 09:51
@fjlopez

fjlopez commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

Reopening so CI runs against dev.

@fjlopez fjlopez closed this Oct 15, 2026
@fjlopez fjlopez reopened this Oct 15, 2026
@fjlopez
fjlopez merged commit 0137abe into dev Oct 15, 2026
8 of 14 checks passed
@fjlopez
fjlopez deleted the cleanup/rt-3-wrong-comments branch October 15, 2026 13:36
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