name: ET-005 Unit Toggle Test Plan
tests:
  - id: TP-01
    title: Default unit is km
    steps:
      - Clear localStorage
      - Load page
    expected: All distances shown in km

  - id: TP-02
    title: Toggle to miles
    steps:
      - Click km/mi button
    expected: All distances recalculated to miles

  - id: TP-03
    title: Persistence
    steps:
      - Switch to miles
      - Reload page
    expected: Miles still selected after reload

  - id: TP-04
    title: Toggle back to km
    steps:
      - While in miles mode, click button
    expected: Distances back in km

  - id: TP-05
    title: Mobile responsive
    steps:
      - Open on 375px viewport
    expected: Button visible and clickable