Method AssertPanelOnScreen
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
AssertPanelOnScreen(string)
The panel is open AND somewhere the player can see it.
WaitForPanel/IsPanelVisible only ask whether the element is displayed, which is not the same question: a DraggablePanel that failed to position itself sits at x=9999 with a perfectly real rect and passes every one of those checks. Six panels were in that state in the v3 migration and the existing tests all passed, so this is the assertion to use for "did it open".
protected void AssertPanelOnScreen(string panelId)
Parameters
panelIdstring