Skip to content

ATS-PFM-CSH-003Reach common actions with keyboard shortcuts — acceptance

Markdown

ATS-PFM-CSH-003

Reach common actions with keyboard shortcuts — acceptance

Markdown
  • DocumentProposed

Planning

Proves capability
CAP-PFM-CSH-003

KindAcceptance test setProduct areaPlatformModuleConsole Shell and NavigationRevision2

Read atreact-console baf6dae3services-platform ad3f6a65

Test Scenarios

4 scenarios proving CAP-PFM-CSH-003; 2 bound to an existing test.

01 Search chords recognize both command modifiersunittest
Proves
BR-CAP-PFM-CSH-003-07
Preconditions
Keyboard events can be evaluated directly.
Steps
Evaluate Command with K, Ctrl with K and the uppercase letter variant.
Expected
All three match the search chord.
Data
Representative keyboard-event inputs.
Bound to
react-console:lib/quick-search/__tests__/shortcut.test.ts#accepts Cmd+K and Ctrl+K, whatever the machine is
react-console:lib/quick-search/__tests__/shortcut.test.ts#accepts an upper-case K, which is what some layouts report
Source
react-console:lib/quick-search/__tests__/shortcut.test.ts#accepts Cmd+K and Ctrl+K, whatever the machine is
02 Unauthorized search leaves the keyboard event alonebrowsernegativeproposed
Proves
BR-CAP-PFM-CSH-003-01
Preconditions
The session lacks search authority.
Steps
Press Ctrl with K and a slash while outside an input.
Expected
No search dialog opens and the command chord is not intercepted.
Data
A mock session without search authority.
Source
react-console:lib/quick-search/__tests__/shortcut.test.ts#accepts Cmd+K and Ctrl+K, whatever the machine is
03 Unrelated key combinations do not match searchunitnegativetest
Proves
BR-CAP-PFM-CSH-003-02
Preconditions
Keyboard events can be evaluated directly.
Steps
Evaluate bare K, shifted K, alternate-modified K and another command-modified letter.
Expected
Every unrelated combination is rejected as a search chord.
Data
Representative keyboard-event inputs.
Bound to
react-console:lib/quick-search/__tests__/shortcut.test.ts#leaves a bare K alone, so typing a name never opens a dialog
react-console:lib/quick-search/__tests__/shortcut.test.ts#leaves Shift+K alone, with or without a modifier
react-console:lib/quick-search/__tests__/shortcut.test.ts#is not fooled by another letter held with the same modifier
Source
react-console:lib/quick-search/__tests__/shortcut.test.ts#leaves a bare K alone, so typing a name never opens a dialog
04 Slash search respects text entrybrowsernegativeproposed
Proves
BR-CAP-PFM-CSH-003-03
Preconditions
The person has search authority.
Steps
Press slash on a list page and then in a text field.
Expected
The first opens search; the field receives a slash without opening search.
Data
A permitted mock session and an editable field.
Source
react-console:components/console/console-provider.tsx:ConsoleProvider

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.