Testing

Direction-aware keyboard test

Check that controls remain reachable in logical source order in both directions.

Formal Syntax & Structure

react syntaxreact
await page.keyboard.press("Tab")

Working Example

Example Snippetreact
await expect(button).toBeFocused()
React Reference