1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-13 06:36:06 +00:00
Commit Graph

1472 Commits

Author SHA1 Message Date
M1nd3r
69ab0d1ba4 chore(core): remove button request from pairing screens
[no changelog]
2025-03-11 13:11:03 +01:00
M1nd3r
853bf8529a temp: thp rest
[no changelog]
2025-03-11 13:11:03 +01:00
M1nd3r
2ea3087085 chore(tests): add protocol pytest marker
[no changelog]
2025-03-11 11:48:01 +01:00
M1nd3r
42cad3b61a test: update device tests
[no changelog]
2025-03-11 11:48:01 +01:00
M1nd3r
f955e2c5ac chore(tests): update fixtures
[no changelog]
2025-03-11 11:47:45 +01:00
M1nd3r
bdf0cbbdb5 chore(tests): adapt testing framework to session based
[no changelog]
2025-03-11 11:47:45 +01:00
M1nd3r
a028570bd1 test: update device tests
[no changelog]
2025-03-11 11:47:45 +01:00
M1nd3r
febac09a2f fix(python): change nostr to use Session instead of Client 2025-03-11 11:47:17 +01:00
Martin Milata
d2d93d0960 fix(python): transport handling with sessions
[no changelog]
2025-03-11 11:47:17 +01:00
Martin Milata
b41b163ef7 test(core): remove dead code 2025-03-11 11:47:17 +01:00
M1nd3r
a4f40617b4 chore(tests): update fixtures.json
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-11 11:47:17 +01:00
M1nd3r
da65313341 chore(tests): adapt testing framework to session based 2025-03-11 11:45:09 +01:00
M1nd3r
4adc7e2642 test: update upgrade tests 2025-03-11 11:45:09 +01:00
M1nd3r
038de141a8 test: update click tests 2025-03-11 11:45:09 +01:00
M1nd3r
f0796c3bf1 test: update ui tests 2025-03-11 11:45:09 +01:00
M1nd3r
7a4c21444f test: update persistence tests 2025-03-11 11:45:09 +01:00
M1nd3r
682d0634be test: update device tests
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-11 11:45:09 +01:00
Roman Zeyde
301190db4c chore(python): use pytest-rerunfailures instead of flaky
Since it supports re-running all failures that match certain expressions:

https://github.com/pytest-dev/pytest-rerunfailures?tab=readme-ov-file#re-run-all-failures-matching-certain-expressions

[no changelog]
2025-03-10 23:10:40 +02:00
Martin Milata
244b4f612e fix(tests): don't wipe logs on emulator restart
[no changelog]
2025-03-10 15:06:05 +01:00
Roman Zeyde
f67a506e9c fix(core): use correct fonts for staking confirmation on Delizia
[no changelog]
2025-03-05 12:23:03 +02:00
Roman Zeyde
0d522be842 fix(core): use TEXT_MONO_GREY_LIGHT for chunkified data on Delizia
[no changelog]
2025-03-05 10:35:41 +02:00
Roman Zeyde
7be53c4172 fix(core): update Czech translations for Ethereum
* "Přednostní poplatek" -> "Poplatek za prioritu"
* "Zrušit stakování" -> "Zrušit stakování"

[no changelog]
2025-03-04 12:45:21 +02:00
Ioan Bizău
aa52eef34f chore(core): update fixtures
[no changelog]
2025-02-28 14:15:45 +01:00
Ioan Bizău
d0681212b0 fix(core): use BIP-340 to sign Nostr events
[no changelog]
2025-02-28 14:15:45 +01:00
Ioan Bizău
073038771e feat(core): introduce Nostr
[no changelog]
2025-02-28 14:15:45 +01:00
Roman Zeyde
1954c7cbc2 feat(core): confirm multiple Solana Deactivate/Withdraw instructions
[no changelog]
2025-02-28 13:51:37 +02:00
Roman Zeyde
ee1cc4ae81 fix(core): confirm only visible Solana staking instructions
[no changelog]
2025-02-26 15:25:31 +02:00
M1nd3r
8302f70d2a fix(test): remove print from device test test_singmessage_pagination
[no changelog]
2025-02-26 10:47:48 +01:00
obrusvit
b00856a0bb chore: update fixtures.json 2025-02-26 01:17:11 +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
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
matejcik
eda9f2b183 chore: fix ethereum fixtures for translations after #4626 2025-02-20 16:09:14 +01:00
matejcik
b119675dd4 chore: update UI fixtures 2025-02-20 16:09:14 +01:00
matejcik
c246ba4994 tests: do not warn about missing translation if the key doesn't exist at all
otherwise code like the following raises an useless warning:

>>> try:
>>>   value = translate(somekey)
>>> except KeyError:
>>>   value = somekey  # use a literal value

as seen in click_tests/common.py _get_action_index
2025-02-20 16:09:14 +01:00
matejcik
0453f8b6df tests: add test for cancel recovery 2025-02-20 16:09:14 +01:00
Ioan Bizău
609e14264f fix(core/ui): back button
[no changelog]
2025-02-19 16:14:08 +01:00
Ioan Bizău
b8e2709ca8 fix(core): fix br_code inconsistency in sign-tx
[no changelog]
2025-02-11 16:10:58 +01:00
Ioan Bizău
c8210056da fix(core/ui): fix back button
[no changelog]
2025-02-11 16:10:58 +01:00
Ioan Bizău
d487f97ecf feat(core): show ETH account info on model T 2025-02-11 16:10:58 +01:00
Roman Zeyde
8b12a77a3b ci(core): collect debug logs also from multicore tests
Otherwise, tailing and uploading when running `make test_emu_ui_multicore` fail:
https://github.com/trezor/trezor-firmware/actions/runs/13049022289/job/36405211984?pr=4558

[no changelog]
2025-02-11 07:31:21 +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
094c366cf1 chore(core): update fixtures.json
[no changelog]
2025-02-06 13:32:29 +01:00
Roman Zeyde
d5078ebde5 test(core): increase test timeout for HW devices
[no changelog]
2025-02-05 10:52:46 +01:00
Roman Zeyde
9d1d06218c test: allow dumping protocol packets via -vvv
[no changelog]
2025-01-31 11:07:17 +01:00
Roman Zeyde
a7d7907efd chore: update translated UI fixtures
[no changelog]
2025-01-30 13:26:22 +01:00
Roman Zeyde
c713ce23e9 fix(legacy): fix a minor typo in a warning message
[no changelog]
2025-01-29 11:51:41 +02:00
Ondřej Vejpustek
5f1dd83ac2 chore: update fixtures 2025-01-28 14:22:13 +01:00
Ondřej Vejpustek
54c0a30e08 fix(legacy): disallow using per-node paths 2025-01-28 14:22:13 +01:00