Skip to content

Tech: Automated tests for Editor Mode (keyboard + a11y) #68

@GitAddRemote

Description

@GitAddRemote

Epic: #58

Goal

Prevent regressions in Editor Mode’s keyboard-first workflow and accessibility behavior.

Acceptance Criteria

  • Tests cover:
    • Debounced filtering updates the option list (Location combobox).
    • Arrow keys move the highlighted option; Enter selects highlighted option.
    • Invalid location (no matches) blocks save and shows subtle error state.
    • Quantity validation: integer-only, >= 1; warning shown when >= 100,000; hard cap enforced in UI.
    • Focus progression: Location → Quantity → Save → next row Location, including pagination boundary.
    • Save failure keeps focus on the same row and allows retry.
  • Accessibility checks where feasible:
    • Proper labeling/roles for combobox/input.
    • Focus order/tab order remains intact.

Technical Notes

Definition of Done

  • Automated tests implemented for the behaviors above; failing tests reproduce regressions reliably.
  • A11y/keyboard paths verified; tab order unaffected.
  • Tests run in CI and pass; lint/typecheck/CI clean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityAccessibility (a11y), keyboard navigation, screen readersenhancementNew feature or requestfrontendFrontend app and dashboardinventoryInventory system featureskeyboardKeyboard-first interactionstech-storyTechnical implementation storytestingAutomated tests

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions