Files
Adam Shiervani a6d56d7820 fix(e2e): re-read caps_lock LED state each retry iteration (#1319)
The retry loop captured initialCaps once before entering the loop.
If a try-tap failed to reach the host but the undo-tap in the catch
block succeeded, the host's actual caps state diverged from
initialCaps. Every subsequent iteration then toggled in the wrong
direction, guaranteeing the 15s deadline was exhausted.

Fix: re-read the LED state at the top of each iteration so the
expected value always reflects reality.

Made-with: Cursor
2026-03-23 17:22:42 +01:00
..
2024-12-29 21:27:42 +01:00