1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-28 03:38:46 +00:00
Commit Graph

1502 Commits

Author SHA1 Message Date
M1nd3r
b59e14cc74 fix(python): partially fix shamir persistence tests 2025-04-17 18:02:32 +02:00
M1nd3r
4b4876bfa3 wip 2025-04-17 18:02:32 +02:00
M1nd3r
fa7de26cab feat: use autoconnect=False credentials as autoconnect=True in case of channel replacement
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
d6460d51bf feat: implement thp channel replacement
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
a13b36a6a7 chore(core): remove button request from pairing screens
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
5d39a90acc temp: thp rest
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
0057ff5ba0 chore(tests): add protocol pytest marker
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
c19e39bd09 chore(core): adapt emu.py to the new trezorlib
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
4f670c9ff8 chore(tests): improve downgrade of model min_version in fw upgrade tests 2025-04-17 18:02:31 +02:00
Martin Milata
6be66d5ee9 fix(python): always send passphrase at v1 session start 2025-04-17 18:02:31 +02:00
M1nd3r
370adfc051 chore(tests): remove code for unsupported models 2025-04-17 18:02:31 +02:00
M1nd3r
4cce281241 chore(tests): remove test_passphrase_cached 2025-04-17 18:02:31 +02:00
Martin Milata
49589d68b0 refactor(tests): move set_input_flow to SessionDebugWrapper context manager
[no changelog]
2025-04-17 18:02:31 +02:00
M1nd3r
ffe6f579ed fix(python): change nostr to use Session instead of Client 2025-04-17 18:02:31 +02:00
Martin Milata
8d42279f83 fix(python): transport handling with sessions
[no changelog]
2025-04-17 18:02:31 +02:00
Martin Milata
d037af0c52 test(core): remove dead code 2025-04-17 18:02:31 +02:00
M1nd3r
dc1aa34ba0 chore(tests): update fixtures.json
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-17 18:02:31 +02:00
M1nd3r
049b7c2367 chore(tests): adapt testing framework to session based 2025-04-17 18:02:31 +02:00
M1nd3r
ea7cfdb95d test: update upgrade tests 2025-04-17 18:02:31 +02:00
M1nd3r
f311411ef5 test: update click tests 2025-04-17 18:02:31 +02:00
M1nd3r
27f02d490a test: update ui tests 2025-04-17 18:02:30 +02:00
M1nd3r
c38110f95d test: update persistence tests 2025-04-17 18:02:30 +02:00
M1nd3r
925a3b3c0b test: update device tests
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-04-17 18:02:30 +02:00
Roman Zeyde
29b40e4d7c test(core): don't stop tests in case of communication failure
[no changelog]
2025-04-16 12:30:39 +03:00
Lukas Bielesch
e5401f5544 feat(tests): add missing delizia tests
check shares info in advanced recovery
2025-04-16 00:54:21 +02:00
matejcik
f6be9db382 ci: drop GitLab config and mentions 2025-04-15 14:50:45 +03:00
matejcik
a50e49afa9 chore(core): include T3B1 certificate for the emulator 2025-04-15 12:37:25 +02:00
Roman Zeyde
c2dd63a6bd chore(core): move core/prof into core/src/prof
It would allow interning profiling-related QSTRs in debug emulator builds.

[no changelog]
2025-04-14 22:40:52 +03:00
Roman Zeyde
16289c4ec9 test(core): keep logs in case of emulator failure
[no changelog]
2025-04-14 20:03:41 +03:00
Ioan Bizău
40756a0941 fix(core/ui): use "..." ellipsis in "show more" 2025-04-09 15:57:01 +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