Timing

Things that change while a test runs: late elements, removed elements, re-rendered lists and buttons that only become usable after a while.

TIM-01Appears after 2 seconds

Press Load results, then wait for the status with page_wait (role status, name empty) or click Open result with a locator timeout above 2000 ms.

ExpectThe wait succeeds after about 2 s; clicking Open result logs TIM-01 opened.

TIM-02Disappears

The banner removes itself 3 seconds after you press Show banner. Wait for it with state hidden.

Expectpage_wait … state:hidden succeeds after about 3 s; TIM-02 removed in the log.

TIM-03Re-rendered list

Observe the list, press Shuffle, then click a node from the old observation.

ExpectUsing the old node returns stale_target; observe again and the click works.

    TIM-04Enabled after a countdown

    The Continue button is disabled for 4 seconds after Start.

    ExpectA click with a short locator timeout fails with timeout; with 6000 ms it succeeds and logs TIM-04 continued.

    TIM-05Moving target

    The button slides for 1.5 seconds after you press Animate. The agent waits for its box to stop moving before clicking.

    ExpectTIM-05 caught; the click lands only after the motion ends.

    TIM-06Far down the page

    The target sits below a tall spacer. Clicking it must scroll it into view first.

    ExpectTIM-06 reached.

    TIM-06The far target

    You scrolled here.