trezor-firmware
trezor-firmware copied to clipboard
feat(core): show success screen after sending a response to the host
It should implement similar workflow handling to https://github.com/trezor/trezor-firmware/commit/151eb62150 (keeping the current session until all workflows are over).
| core UI changes | device test | click test | persistence test |
|---|---|---|---|
| T2T1 Model T | test(screens) main(screens) |
test(screens) main(screens) |
test(screens) main(screens) |
| T3B1 Safe 3 | test(screens) main(screens) |
test(screens) main(screens) |
test(screens) main(screens) |
| T3T1 Safe 5 | test(screens) main(screens) |
test(screens) main(screens) |
test(screens) main(screens) |
| T3W1 | test(screens) main(screens) |
test(screens) main(screens) |
test(screens) main(screens) |
| All | main(screens) |
Rebasing over #4775 to fix failing tests.
Rebasing to resolve a conflict.
THP runs some amount of background loops for retransmissions and some miscellaneous stuff, those must not be interrupted by the session restarts but at the same time aren't workflows
Opened https://github.com/trezor/trezor-firmware/pull/5166, which can be useful for background loops' cancellation.
Rebased to resolve a merge conflict.
Pushed a small test-related fix (to handle a race in https://data.trezor.io/dev/firmware/ui_report/15725349158/T3W1-en-core_device_test-index.html).
There is no need in the last self.debug.click(self.debug.screen_buttons.ok()) since we use "zero timeout" when animations are disabled.
Ran TS5 device tests on 176f0a69a888582937228f4a6dabf0b907eecc5d:
+ pytest tests/device_tests/ -m 'not sd_card' --random-order-seed=1 --random-order-bucket=module
...
=== 1405 passed, 188 skipped, 6 deselected, 12 xfailed in 8898.82s (2:28:18) ===
Tested address, xpub and transaction signature confirmation on Suite with BTC Testnet4.
@bosomt Please test it all various cases including altcoins, staking, swaps, … with various wallets (not only Trezor Suite)
Related Suite PR.
QA WIP
- tested in Suite in send, receive, claim reward, swap including receive, ✅
- Exodus send and receive works as expected ✅
- https://connect.trezor.io/ fails , needs to be fixed before releasing new 2.9.0 FW into wild ❌
Info:
- Suite version: desktop 25.7.1 (b381d0268e9406be8b56b209967c2da19afffd81)
- Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) TrezorSuite/25.7.1 Chrome/134.0.6998.178 Electron/35.1.2 Safari/537.36
- OS: MacIntel
- Screen: 1512x982
- Device: Trezor T3T1 2.9.0 regular (revision a09e6f04d4204607d821d9b742dcf7ffe9c4e2f5)
- Transport: BridgeTransport 2.0.33
QA OK Tested on the new 2.9.1 and works on connect.trezor.io 🙏
Info:
- Suite version: web 25.9.0 (842608cadada6a45f9f7203ac10e786f11e43494)
- Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
- OS: MacIntel
- Screen: 1920x1080
- Device: Trezor T3T1 2.9.1 universal (revision acd56d0113a547e9b5983510b0ce9de079e30e05)
- Transport: WebUsbTransport