Add tests for the bootctl passphrase entry UI and TKey-based LUKS
unlock flow:
- check_passphrase(): Tests the passphrase textline widget, verifying
character input, backspace handling, and passphrase retrieval
- prepare_tkey_test(): Sets up the TKey emulator with a test pubkey
and configures app mode to test replugging scenarios
- try_tkey_unlock(): Tests the complete TKey unlock flow including
passphrase entry and LUKS partition decryption
- bootctl_logic_tkey: Full integration test for TKey-based encrypted
boot with mouse click interactions
Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
The bootctl tests are currently disabled due to some image
incompatibilities: the multi UI uses one image and the simple UI uses a
different one.
Update the logic to switch between these logos when the layout changes.
For now, use the U-Boot logo in both cases.
Signed-off-by: Simon Glass <simon.glass@canonical.com>
Add a test which switches between the simple and the mouse-based UI.
For now the tests are not enabled, due to an integration problem which
causes bootflow_efi() to detect and invalid free()
Signed-off-by: Simon Glass <sjg@chromium.org>