1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-21 14:08:13 +00:00
Commit Graph

119 Commits

Author SHA1 Message Date
Lukas Bielesch
6cc9c62941 chore(core): new entry in DebugLinkDecision message
- new optional enum TouchEventType in DebugLinkDecision message
- add new hold_touch debuglink function
- new pin tests utilizing hold_touch function
2025-07-16 13:40:04 +02:00
Roman Zeyde
0c2ff24398 test(core): fix waiting for recovery
[no changelog]
2025-07-10 15:32:14 +03:00
Andrew Kozlik
1decb527ab feat(tests): Support non-bitcoinlike coins in make_payment_request. 2025-07-10 10:10:14 +02:00
Lukas Bielesch
34921907b0 fix(core/eckhart): fix slip39 overflow bug
[no changelog]
2025-07-09 09:51:25 +02:00
Lukas Bielesch
023c8fc140 chore(core/eckhart): update check recovery flow
[no changelog]
2025-06-13 11:22:55 +02:00
obrusvit
018330f3c2 chore(eckhart): remove hold to lock animation
- hold to lock animation will not be used on the Homescreen
- the locking functionality is kept for debug purposes and is increased
to 3 seconds

[no changelog]
2025-06-09 17:59:47 +02:00
Lukas Bielesch
8cfa6a3693 chore(eckhart): update shamir wallet creation
[no changelog]
2025-06-09 08:52:32 +02:00
Lukas Bielesch
13a020202e chore(eckhart): update pin flows for Eckhart UI
[no changelog]
2025-06-08 18:19:32 +02:00
Lukas Bielesch
d752da0a94 chore(tests): unify passphrase layout names between tests and fw 2025-06-05 23:59:19 +02:00
Lukas Bielesch
0bff79e0e9 chore(tests): check the correct keyboard category
[no changelog]
2025-06-05 23:59:19 +02:00
Lukas Bielesch
a57fc3f8ed feat(core): update number input screen
- add time-handling functions
- add option to show time units
- add hold functionality to increment/decrement buttons
- add new device-menu actions
2025-05-30 17:38:16 +02: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
c66b435212 fix(eckhart): fix unstable click tests
- Differentiate input vectors for Eckhart due to different screen size
- paginate, where possible
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
obrusvit
62933d2d62 feat(eckhart): initial commit
- build
- directory structure
- bootloader UI and assets copied from delizia
- FirmwareUI trait functions are empty
- Python layout functions are copied from delizia except some of more
complicated ones which raise NotImplemented for now
2025-05-30 17:38:16 +02:00
Roman Zeyde
e8653c5009 test(core): deflake passphrase-related tests
Currently, `PassphraseKeyboard` is shown after `request_passphrase_on_host()`
layout, so in in order to avoid a race condition[^1][^2], an explicit
synchronization was added.

[no changelog]

[^1]: https://github.com/trezor/trezor-firmware/actions/runs/14999904818/job/42144246518?pr=5037
[^2]: https://github.com/trezor/trezor-firmware/actions/runs/15067093253/job/42354594590?pr=5041
2025-05-20 14:16:43 +03:00
Roman Zeyde
e98ea83230 chore(core): rename "via-host" and "via-device" repeated backup tests
[no changelog]
2025-05-19 14:46:13 +03:00
Roman Zeyde
c7d1104793 test(core): explicitly confirm backup success
[no backup]
2025-05-19 14:46:13 +03:00
Roman Zeyde
3a7850f6a0 chore: remove BNB Beacon Chain support 2025-05-13 09:04:48 +03:00
obrusvit
8ba5b4b6b2 fix(core): fix Delizia request_number dialog
- NumberInputDialog now reacts to tap to continue
- change the types there to u16 to be consistent with NumberInputSlider
2025-05-05 14:58:36 +02:00
obrusvit
cdc08d1075 feat(delizia): homescreen improvements
- dim inner logo
- show "Unlocked" on Homescreen under device name
- show instruction "Continue in the app"
- register "Tap to unlock" gesture in the middle similarly to "Tap to
confirm". Tapping outside shows the label on lockscreen
- play haptic on "Tap to unlock"
2025-04-29 12:52:05 +02:00
Lukas Bielesch
17603ffe41 refactor(python): move Screen Buttons to debuglink 2025-03-12 14:34:25 +01:00
Lukas Bielesch
1eeab2ffd2 chore(tests): consolidate passphrase tests for delizia and bolt 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
4d52f7805f refactor(tests): simplify set selection function 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
matejcik
5c7986d9b7 fix(tests): remove useless hold-to-confirm for delizia
when animations are disabled, hold-to-confirm has zero timeout
2025-02-26 01:17:11 +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
matejcik
0453f8b6df tests: add test for cancel recovery 2025-02-20 16:09:14 +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
a3fc66f4b6 fix(tests): update tests for newly introduced device.setup() 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
matejcik
50447de878 chore(tests): fix deprecation warning 2024-11-25 13:32:13 +01:00
matejcik
ae3d8263b9 refactor(tests): rework Model.TR "go to right key" logic
this changes UI tests because in edge cases the carousel goes the other
(shorter) way
2024-11-25 13:32:13 +01:00
matejcik
8a1c15fd94 feat(tests): simplify asserts on translated strings 2024-11-25 13:32:13 +01:00
Lukas Bielesch
b9f5e2b409 chore(core): show the last pin digit for a while 2024-11-18 14:05:04 +01:00
obrusvit
8912686a22 fix(tests): remove lang asserts from click slip39
- some non-english texts do not fit on the screen and are paginated,
these tests cannot handle it
- commented out not to block GFL PR, to be resolved later
2024-11-12 16:55:17 +01:00
obrusvit
a22f1d3760 fix(tests): assert multiple in slip39 checklist 2024-11-12 16:55:17 +01:00
matejcik
e199d2bcaf fix(tests): fix persistence tests, enable T3B1 2024-11-12 16:55:17 +01:00
matejcik
73c8149528 fix(tests): do not trip deadlock detection in autolock test 2024-11-12 16:55:17 +01:00
matejcik
a4bd771e3b style: fix style problems 2024-11-12 16:55:17 +01:00
matejcik
adc9b523be tests: fix small irregularities 2024-11-12 16:55:17 +01:00
matejcik
82290c2e5c tests: use read_layout everywhere 2024-11-12 16:55:17 +01:00
matejcik
d21af2a47f tests: rework tutorial tests
complicated flows that _do not accomplish results_ do not belong into
device_tests, so I moved them to click_tests and added stronger assert
system
2024-09-11 12:59:04 +02:00
matejcik
b3bd85b1fb refactor(tests): introduce a better model selection mechanism 2024-09-11 12:59:04 +02:00
obrusvit
9e18e72a2c feat(core): ask for 20/33 words to unlock backup
Unlocking repeated backup is only possible with SLIP-39 extendable
backup which contains shares of 20 or 33 words. It is UI bug to have the
user choose from all options (12, 18, 20, 24, 33). This commit reduces
the choices when unlocking repeated backup to (20, 33) for all models.
2024-08-29 16:01:13 +02:00
obrusvit
f0989e20b8 fix(core/ui): fix persistent word during recovery
Remove the current word from recovery progress if a user goes to
previous word.

[no changelog]
2024-08-28 14:33:02 +02:00
obrusvit
50dc265162 feat(core/mercury): impl flow_request_passphrase
This commit replaces request_passphrase with flow_request_passphrase.
The added benefit is that the user is prompted for confirmation if they
want to proceed with an empty passphrase.
2024-08-22 00:47:15 +02:00