Skip to content

Integrate ID scanner to get Student ID

License and Copyright Notice

By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).

Pre-checklist

  • [] I have searched for, and did not find, an existing issue at the top-level.

The top level issue is linked here. This lower-level issue was created to link the merge request. https://gitlab.com/LibreFoodPantry/modules/visitmodule-tp/checkout/Plan/-/issues/9

Stories

Story 1: As a student, I want scan my ID so that I quickly checkout.

Story 2: As an employee, I want to have the option to type an ID or have the student scan their ID.

Ready checklist

  • Independent (of other issues in flow)
  • Negotiable (and negotiated)
  • Valuable (the value to an identified role has been identified)
  • Estimable (the size of this story has been estimated using /weight value or the menu on the right)
  • Small (can be completed in 50% or less of a single iteration)
  • Testable (has testable acceptance criteria)

Also

  • Appropriate role labels have been applied (e.g., role:*).
  • Relevant activity labels have been applied (e.g., activity:*).
  • Linked to related issues, epics, and milestones.

Diagrams

Acceptance Criteria

Scenario: Student scans ID to checkout
  Given a checkout event
  When the id is scanned
  Then the formatted student ID is entered
Scenario: Employee enters student's ID to checkout
  Given a checkout event
  When the id is entered manually
  Then any scanner data is ignored

Template Version 2.0.0