Skip to content

479-P9-P11 counts the byte summary once after a fill: flaky in CI (same class as #518) #552

Closed

Description

@ephico2real2

Parent: #508 (same class as #518). Seen on CI of PR #550 (run 44962140674), 2026-11-21 23:32Z; #550 does not touch the portal.

What is wrong. cmapi-portal-ui/tests/api/portal.test.mjs l.1328, check 479-P9-P11: right after filling the value of additional annotation 1, it counts the text "1 of 50 · 36 of 65536 bytes" once (.count()), before React has re-rendered. CI got 0 instead of 1 at 390 light.

Fix. Wait for the text (locator.waitFor()), then assert it is there once. Scan the suite for other one-shot .count() or innerText() reads that follow a fill, click or press, and give them the same treatment where the value depends on the action.

Proof. The check passes. With the byte counter's update delayed (a temporary mutation), the old check fails and the new one passes.

Activity

  1. added
    bug
    sev:low
    In-Progress
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-Progressbugsev:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions