Skip to main content

Keyboard Shortcuts

playwright-tui is fully keyboard-driven. All shortcuts are available while the dashboard is displayed.

Action Keys

KeyActionNotes
rRerun failed testsUses --last-failed flag. Shows flash notification. Blocked if a run is active.
aRerun all testsStarts a fresh run. Shows flash notification. Blocked if a run is active.
fEnter filter modeType a search string, press Enter to apply or Esc to cancel.
wToggle watch modeAdds --watch to the next Playwright run. Shows on/off flash notification.
sToggle summary panelShows/hides the summary overlay with final stats, failures, and slowest tests.
qQuitSends SIGINT to stop a running process, then exits. If idle, exits immediately.
KeyAction
TabSwitch focus between spec files panel and failures panel
Up / kMove selection up in the focused panel
Down / jMove selection down in the focused panel
EnterExpand/collapse the selected failure card (when failures panel is focused)

Filter Mode

When filter mode is active (triggered by f):

KeyAction
Any printable characterAppend to filter string
Backspace / DeleteRemove last character from filter string
EnterApply filter and exit filter mode
EscCancel filter and restore previous filter state

The filter applies to:

  • Spec files -- matches against file paths
  • Recent activity -- matches against test title, file path, or project name
  • Failures -- matches against test title, file path, project name, or error message

When a filter is active, an asterisk (*) appears next to the [f] indicator in the keybind bar.

Flash Notifications

Several actions trigger brief flash notifications displayed as a colored banner:

ColorMeaning
CyanRerunning all tests
RedRerunning failed tests
GreenWatch mode enabled
YellowWarning (run already in progress, no failed tests, watch mode disabled, stopping)