Table of Contents

Method WaitForPanelOnScreen

Namespace
GrindFest
Assembly
GrindFest.dll

WaitForPanelOnScreen(string, float)

Same question as AssertPanelOnScreen(string), asked as a WAIT.

Placement is one bridge tick behind "the panel is displayed": the JS state that holds left/top updates a frame after display flips, and UI Toolkit then has to lay the element out. A test that asserts in the same tick is measuring the harness's frame timing, not the product - measured 2026-09-20, both UiClickThroughTests did exactly that and read the 9999 fallback. It still fails, with a timeout and the panel's rect, when the panel never arrives.

protected IEnumerator WaitForPanelOnScreen(string panelId, float timeout = 3)

Parameters

panelId string
timeout float

Returns

IEnumerator