You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(keyboard): shared keyboard helpers and an overlay contract test #537
Keyboard tests exist, but each file rolls its own helpers: TabOrderTests.cs:22 defines a private Tab(Window), and the others call KeyPressQwerty / KeyTextInput / RunJobs inline.
Nothing checks that an overlay behaves like a dialog. That is how TaskDialogView shipped with no initial focus, no Esc and no Enter.
Proposal
Shared helpers in tests/LageBuch.Acceptance.Tests: Tab, ShiftTab, Press(Key), Type(string), AssertFocused(control) / AssertFocusWithin(control), each followed by Dispatcher.UIThread.RunJobs().
A contract test, parameterised over every overlay view (About, ConfirmDialog, IncidentDataDialog, OperatorPrompt, PdfExportOptions, TaskDialog, and any added later):
Once the overlay is shown, focus is inside it.
Tab and Shift+Tab never leave it.
Esc runs the cancel path.
After closing, focus is back on the control that opened it.
The test finds overlays by itself, by naming convention or a marker interface, so a new dialog can't skip it.
Activity
feat(shell): global shortcuts and a shortcut overview (#567)