Commit Graph

122 Commits

Author SHA1 Message Date
Ioan Bizău
78cb6b185b fix: tests
[no changelog]
2026-02-11 14:47:23 +02:00
matejcik
6e3018509b refactor(python): rework session-based API
Co-authored-by: M1nd3r <petrsedlacek.km@seznam.cz>
Co-authored-by: Roman Zeyde <roman.zeyde@satoshilabs.com>

[no changelog]
2026-02-03 14:47:31 +01:00
Ioan Bizău
9bcf69ecc7 fix(tests): visit menus on all pages
[no changelog]
2026-01-28 16:03:25 +02:00
Ioan Bizău
c1e9277b10 feat: confirm cancel output
[no changelog]
2026-01-12 21:00:53 +02:00
Ioan Bizău
90e30e57ca feat(delizia): swipe to go back on confirm_value
[no changelog]
2026-01-12 21:00:53 +02:00
Ioan Bizău
d14eeca9f7 refactor: drop ConfirmOutputWithAmount
[no changelog]
2026-01-12 21:00:53 +02:00
Ioan Bizău
cee2358126 feat(tests): cancel output flow on amount screen
[no changelog]
2026-01-09 16:34:03 +02:00
Ioan Bizău
a867fa67c3 chore(tests): visit menu items in info flow
[no changelog]
2025-11-25 11:53:05 +02:00
Ioan Bizău
25a0c80a7a chore(tests): add test for back from amount
[no changelog]
2025-11-25 11:53:05 +02:00
Ioan Bizău
da6c667bdd fix(tests,eckhart): visit the whole flow
`press_yes` used to kill the flow so we would never visit the amount
screen.

[no changelog]
2025-11-21 10:35:20 +02:00
Ioan Bizău
c1559ce851 fix(ui): break on unit
[no changelog]
2025-11-05 07:55:31 +02:00
Ioan Bizău
6c389ac5a2 chore(tests): update fixtures
[no changelog]
2025-09-24 19:55:38 +03:00
Ioan Bizău
40a1da775c feat(tests): wipe code setup cancel
[no changelog]
2025-09-24 19:55:38 +03:00
Lukas Bielesch
ed4c675a1e chore(core/eckhart): enable going back in the 1st recovery word
- The flow goes back to the word number selection

[no changelog]
2025-09-16 17:34:10 +02:00
Lukas Bielesch
9e4c86c16f chore(core): ensure dependency between PIN and wipe code 2025-09-16 15:52:24 +02:00
Lukas Bielesch
65b753df89 chore(tests): make go to menu item an action 2025-08-15 12:57:23 +02:00
Ioan Bizău
8805f9ca68 feat(tests): SLIP-24 tests for Bitcoin
* replace Dash and GRS with some coins that we still support
* drop unnecessary input flow (since we will now visit all menus by
default)
* add a test for the most basic use case: Swap with refund address and
extra message
* run tests on all current models
2025-08-07 17:41:20 +02:00
Lukas Bielesch
6e2d44d765 chore(core): use non-breakable space between value and unit 2025-08-06 14:19:34 +02:00
M1nd3r
78ecfb2caa test(python): adjust tests to session-based trezorlib
Co-authored-by: mmilata <85857+mmilata@users.noreply.github.com>
Co-authored-by: romanz <9900+romanz@users.noreply.github.com>
2025-07-31 20:29:05 +02:00
Roman Zeyde
2da88a6a6b test(core): remove extra T3W1 InputFlowPaymentRequestDetails confirmation
[no changelog]
2025-07-24 22:17:33 +03:00
Roman Zeyde
08f375efab test(core): remove extra T3W1 InputFlowSignTxHighFee confirmation
[no changelog]
2025-07-24 22:17:33 +03:00
Roman Zeyde
3018b13b67 feat(core): use new menus for Delizia sign/verify message layout
[no changelog]
2025-07-21 16:21:33 +03:00
Lukas Bielesch
110259ca81 fix(core/delizia): inconsistent brightness in set_brightness flow 2025-07-21 12:57:43 +02:00
Lukas Bielesch
997724a278 chore(core): add missing parameter to set_brightness function 2025-07-21 12:57:43 +02:00
Roman Zeyde
b0cc29cbae test(core): visit Delizia menu items in UI tests
[no changelog]
2025-07-21 10:10:17 +03:00
Roman Zeyde
dfd2c41ec8 test(core): add cancellation test for set_brightness
[no changelog]
2025-07-07 14:55:13 +03:00
Roman Zeyde
34b434dfe9 refactor(core): use generator for default DebugUi.input_flow
[no changelog]
2025-07-02 12:09:42 +03:00
Roman Zeyde
3426a2965b chore(core): remove unneeded debug.read_layout()
[no changelog]
2025-06-30 21:51:21 +03:00
Lukas Bielesch
a56c5448e9 chore(core): new FwUI function for public key 2025-06-30 10:42:08 +02:00
Lukas Bielesch
aa74ab922d chore(core/eckhart): update show_address flow 2025-06-30 10:42:08 +02:00
Lukas Bielesch
a7f6bf5bda chore(core/eckhart): update warnings 2025-06-23 15:48:23 +02:00
Lukas Bielesch
f32d747f88 chore(core): promote multiple_accounts_warning to danger
- for eckhart and delizia layouts
2025-06-23 15:48:23 +02:00
Roman Zeyde
4633611d1b test(core): don't wait on StatusScreen if animation is disabled
[no changelog]
2025-06-20 14:07:52 +03:00
Roman Zeyde
c01b56a5a0 fix(core): Eckhart doesn't have a separate confirm page
[no changelog]
2025-06-03 18:10:35 +03:00
Lukas Bielesch
b8f018a419 fix(eckhart): fix failing tests: homescreen, fido, solana 2025-05-30 17:38:16 +02:00
Lukas Bielesch
459f851779 feat(eckhart): implement missing eckhart tests and flows 2025-05-30 17:38:16 +02:00
Lukas Bielesch
11d780a337 feat(eckhart): add FIDO2 support
- enable vertical menu swipe without animations
- FidoCredential component, confirm_fido flow and icons
- Fix show_error action bar and header colors
- Implement AllowedTextContent for FidoCredential
- Add new return type for VerticalMenuScreen
- provide short and long vertical menu
2025-05-30 17:38:16 +02:00
Lukas Bielesch
3f1b5a9e28 chore(eckhart): minor improvements
- update trace function for firmware components
- add missing button requests
- update get address flow
- require long press to lock even with disabled animations
2025-05-30 17:38:16 +02:00
Lukas Bielesch
5fa68d15a3 chore(automation): enable T3W1 CI jobs and tests
- eckhart tests
- add Eckhart screen buttons
- rename passphrase click test file + fixtures
- eckhart click tests
- eckhart persistance tests
- eckhart device tests
- skip tests for unimplemented features
2025-05-30 17:38:16 +02:00
Lukas Bielesch
e5401f5544 feat(tests): add missing delizia tests
check shares info in advanced recovery
2025-04-16 00:54:21 +02:00
Lukas Bielesch
17603ffe41 refactor(python): move Screen Buttons to debuglink 2025-03-12 14:34:25 +01:00
Lukas Bielesch
a4cd4ddaa5 refactor(tests): split buttons module functionality into buttons and actions 2025-03-12 14:34:25 +01:00
Lukas Bielesch
13be2dca24 refactor(tests): modularize tests buttons module based on layout type 2025-03-12 14:34:25 +01:00
Ioan Bizău
6c38f0d63d feat(core): friendlier way to confirm long messages 2025-02-25 22:51:16 +01:00
Ioan Bizău
64b9084b6c feat(core/ui): ability to cancel recovery on word count selector 2025-02-25 20:30:39 +01:00
Roman Zeyde
d2165c3eb3 test(core): add test vectors for Solana staking layouts
[no changelog]
2025-02-25 11:55:03 +01:00
Roman Zeyde
061e71213e test(core): don't fetch full DebugLinkState by default
In case the main workflow is restarting after a `DebugLinkDecision`,
sending the response of `DebugLinkGetState` may get interrupted.

We are making the state fetching explicit, in order to avoid the
"restart" race condition (as described in #4401).

Following the above change, text-based layout recording is removed.

[no changelog]
2025-02-07 11:21:44 +01:00
obrusvit
00740b560c refactor(core): consistent naming of UI layouts
- follow-up on 862c987779
- layout_bolt stays the same
- layout_samson -> layout_caesar
- layout_quicksilver -> layout_delizia
- use super for importing rust modules in layout code

[no changelog]
2025-01-20 12:29:24 +01:00
matejcik
79cc7a9693 style(python): improve type hints for input flows 2025-01-17 11:28:12 +01:00
obrusvit
862c987779 refactor(core): consistent naming of UI layouts
- UI layouts name changes:
  - model_tt -> layout_bolt
  - model_tr -> layout_samson
  - model_mercury -> layout_quicksilver
- rust features `model_xyz` freed for different use, now it's
`layout_xyz`
- input_flow function names are based on UI layout and not internal
model name (i.e. quicksilver instead of t3t1)
- directory names and commentary changed accordingly

[no changelog]
2025-01-09 22:57:14 +01:00