1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-17 23:59:03 +00:00
Commit Graph

1485 Commits

Author SHA1 Message Date
M1nd3r
0df80fccaa chore(tests): remove code for unsupported models 2025-04-09 13:53:50 +02:00
M1nd3r
ebbb354f94 chore(tests): remove test_passphrase_cached 2025-04-09 13:53:50 +02:00
Martin Milata
56820a0804 refactor(tests): move set_input_flow to SessionDebugWrapper context manager
[no changelog]
2025-04-09 13:53:50 +02:00
M1nd3r
decfda0255 fix(python): change nostr to use Session instead of Client 2025-04-09 13:53:50 +02:00
Martin Milata
e8fa6bda6b fix(python): transport handling with sessions
[no changelog]
2025-04-09 13:53:50 +02:00
Martin Milata
6fc29fb5f7 test(core): remove dead code 2025-04-09 13:53:50 +02:00
M1nd3r
143f5c47d0 chore(tests): update fixtures.json
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-09 13:53:50 +02:00
M1nd3r
1691b717a5 chore(tests): adapt testing framework to session based 2025-04-09 13:53:49 +02:00
M1nd3r
5528bc217c test: update upgrade tests 2025-04-09 13:53:49 +02:00
M1nd3r
849be5294b test: update click tests 2025-04-09 13:53:49 +02:00
M1nd3r
c4e3c5eb22 test: update ui tests 2025-04-09 13:53:49 +02:00
M1nd3r
02a2bd86ff test: update persistence tests 2025-04-09 13:53:49 +02:00
M1nd3r
6eadf079fc test: update device tests
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-09 13:53:49 +02:00
Roman Zeyde
69ce947d71 test(core): automatically skip altcoin tests 2025-04-08 07:55:14 +03:00
Roman Zeyde
f436bcd6fa test(core): close _raw_client in case client() fixture fails
[no changelog]
2025-04-03 13:29:07 +03:00
Roman Zeyde
f1d3f835b8 chore(python): replace 'pytest-rerunfailures' with 'pytest-retry'
[no changelog]
2025-03-26 14:15:29 +02:00
obrusvit
98b35a5b34 chore(core/tests): invert UI diff colors
[no changelog]
2025-03-24 12:11:56 +01:00
obrusvit
079873ced7 feat(core): use newer version of Delizia fonts 2025-03-24 12:11:56 +01:00
Ioan Bizău
9b29cd2027 chore(core/tests): add green to UI diff
[no changelog]
2025-03-19 10:43:14 +01:00
Roman Zeyde
b07ed98ba4 test(core): allow saving verbose log into a file
[no changelog]
2025-03-19 10:28:17 +02:00
Roman Zeyde
abcbb5c2ab test(python): don't send ChangeLanguage during setup if not needed
[no changelog]
2025-03-18 17:45:34 +02:00
Roman Zeyde
f43954e672 test(python): don't send extra InitDevice and EndSession during setup
[no changelog]
2025-03-18 17:45:34 +02:00
Roman Zeyde
611d74c1b3 fix(core): correct confirmation fonts in Bolt 2025-03-18 13:23:39 +02:00
Roman Zeyde
2f97b61870 fix(core): correct confirmation title on Caesar 2025-03-18 12:32:36 +02:00
matejcik
e1ce484ba7 feat(python): add a timeout argument to read() from transport
also take the opportunity to switch to new style typing annotations
syntax

[no changelog]
2025-03-17 20:16:14 +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
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