Medlar/docs/tests/S022-control-screens.md

2 KiB

S022 Control screens: checks

Run the app with a throwaway home. Doubts first.

Doubts

  • Never compiled-and-run: layout of the toolbar below 640 px (switch hidden?) and of the sheet tabs.
  • Week grid drag erase rule and keyboard focus lock may fight the window's own arrow keys.
  • Countdown actions (suspend, shutdown) only against a fake logind.

HIGH

  1. Click Low/Medium/High in the toolbar: mode changes, limit applies to a running download.
  2. Click snail: toggles; clicking again returns to the old mode.
  3. Open the sheet (tune button), Speed tab: drag the dial, shown speed follows on a log scale; far right says No limit.
  4. Type 500 in the field with KB/s, then switch to MB/s: value converts, limit stays.
  5. Queues tab: add a queue, name it, save; it appears with live totals.
  6. Drag a queue card by its handle; order persists after restart. Up/down buttons do the same.
  7. Select tasks, press "Move the n selected here" on a queue: tasks move to it.
  8. Queue editor: paint hours in the week grid, save; outside them the queue does not start tasks.
  9. When done tab: choose Quit, arm with 5 s; when all finish a countdown dialog shows; Cancel stays, waiting runs Quit.
  10. A failed download blocks the action unless "Also when one failed" is on.

MED

  1. Week tab: paint a block as High, wait until/set clock into it: limits switch to High's limit.
  2. Keyboard in the week grid: arrows move, Space paints, Shift+arrow paints while moving.
  3. Details tab on a task shows the share text for each priority; Only says others wait.
  4. Run a program: argument list runs without a shell; failure is shown as a plain message.

LOW

  1. While downloading, the system is kept awake (check inhibitor via loginctl); lock released when idle.
  2. Idle with the sheet closed draws no frames.
  3. Disabled actions (not possible here) are labelled.

Results (S041)

1-17: not run: screen or by-hand checks, no harness written. Logic behind 8, 11, 14 (hours, zone, run) is covered by crates/core/tests/control.rs and queues.rs (S021 checks 3-4, 12-18, pass).