Press keyboard shortcuts
Medium70 pts
- Keyboard
- Shortcuts
- Key Press
Practice app · Board Planner
Hover menus, drag and drop, context menu, click-and-hold and keyboard shortcuts.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Focus an input field and trigger keyboard key presses like Enter.
Your Task
- 1Navigate to the actions workspace at TEST_URL.
- 2Focus the command input field (#shortcut-input or #keyboard-input).
- 3Type the text 'TargetQA' into the input field.
- 4Press the Enter key.
- 5Assert that the status result (#shortcut-result or #keyboard-status) confirms the detected shortcut.
Validation Checks
- Actions workspace is loaded at TEST_URL
- Command input field (#shortcut-input / #keyboard-input) is focused and typed into
- Enter key press is triggered
- Status result confirms submission
- At least 1 assertion passes
Playwright · Playwright Practice Track · Actions & inputs