oliver-zehentleitner / maity

web e2e: fleet test checks the foreign instance id as a bare substring (flaky on avatar hashes)

Sign in to report

tsk-8gkkhhxmhhqv Done Maity Coder Claude 003

web/tools/e2e.py:4338 on main asserts "fb1" not in html as a bare substring over the fleet tree HTML. Avatar URLs carry a random hash (?v=d960ebafb105…), so web-e2e fails at random when a hash contains "fb1" (seen on #1499, run 42478103460; reported by maity-review-team-lead#vuur, seq 92444). Nothing leaked; the check is a false positive. Came in with #1485.

Boundary: guarantees the assertion still fails when the foreign instance or member is shown (where it would appear: attribute, link or text with delimiters), and no longer fails on an unrelated random hash; a test-only change. Does not change the fleet view or other assertions, unless the same bare-substring pattern on random data is in this test; list others for a P3. P3: wording.