Testing & Reliability
Stability and Waits
Apply waits intentionally while preserving deterministic and replayable behavior.
Stability Guidelines
- Prefer OpenSteer high-level actions first; they already include stability handling.
- Use explicit waits only for transition boundaries or asynchronous UI updates.
- Keep waits deterministic and tied to user-visible cues.
- Re-snapshot before counter-based actions after significant page changes.
Wait
waitForText(text: string, options?: { timeout?: number }): Promise<void>
Wait for text to appear on the page. Default timeout is 30 seconds.
await opensteer.waitForText('Welcome back')
await opensteer.waitForText('Order confirmed', { timeout: 10000 })
Covered Features
cli:wait-forcli:wait-selectorsdk:gotosdk:waitForText
