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
05f951784e
fix(core): fix tutorial-related translations
2025-05-19 14:45:30 +03:00
Roman Zeyde
7ebb00ff55
fix(core): handle DebugLink.input_wait_type
when return_empty_state
is set
...
Also, simplify `tests/upgrade_tests/recovery_old.py`.
[no changelog]
2025-05-16 11:57:55 +02:00
Martin Milata
2f622df974
chore: update fixtures
...
[no changelog]
2025-05-14 23:57:03 +02:00
Martin Milata
241fcc0044
feat(core): homescreen streaming
...
[no changelog]
2025-05-14 23:57:03 +02:00
Martin Milata
846dd3b934
refactor(common/protob): rename TranslationDataRequest to DataChunkRequest
...
[no changelog]
2025-05-14 23:57:03 +02:00
Martin Milata
a04525c6de
feat(core): add Capability.BLE to Features
2025-05-13 10:48:13 +02:00
Roman Zeyde
3a7850f6a0
chore: remove BNB Beacon Chain support
2025-05-13 09:04:48 +03:00
obrusvit
2a65d18200
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
(cherry picked from commit 8ba5b4b6b2
)
2025-05-06 08:45:16 +02:00
Roman Zeyde
5f2cf6b24e
fix(core): update UI fixtures
...
Following #5003 .
[no changelog]
(cherry picked from commit 2882e20e6b
)
2025-05-06 08:42:34 +02:00
Roman Zeyde
2882e20e6b
fix(core): update UI fixtures
...
Following #5003 .
[no changelog]
2025-05-05 21:31:07 +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
Ioan Bizău
d0741a8aed
chore(legacy): update fixtures
2025-04-29 19:45:46 +02:00
Andrew Kozlik
87590b1bda
feat(tests): Entropy check workflow tests for T1.
2025-04-29 19:45:46 +02:00
Roman Zeyde
0729da9ccf
fix(legacy): use GWei
when ETH amount is between 1e6 and 1e12
2025-04-29 17:25:06 +02:00
Ioan Bizău
38f51f40b2
chore(core/ui): use better font on Delizia properties
...
[no changelog]
2025-04-29 16:09:28 +02:00
matejcik
dea1cf2bf8
chore: update fixtures for translations
2025-04-29 14:54:41 +02:00
matejcik
17990e1c80
style: fix linter complaints
2025-04-29 14:54:41 +02:00
matejcik
3e9b29cd67
fix(tests): update test string for invalid definitions
...
[no changelog]
2025-04-29 14:54:41 +02:00
matejcik
c8d129700e
chore: update fixtures
2025-04-29 14:54:41 +02:00
matejcik
e4e6d60e64
refactor(core/solana): restructure programs.json and related code
2025-04-29 14:54:41 +02:00
Eugene Rossokha
c1e4ff7468
test: test solana loadable tokens
2025-04-29 14:54:41 +02:00
matejcik
cc78717032
refactor(tests): move Ethereum definitions helpers to a common file
2025-04-29 14:54:41 +02:00
Eugene Rossokha
1d444c3845
fix(core): add display_name for missing token_mint
2025-04-29 14:54:41 +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
Roman Zeyde
66d144a763
feat(legacy): confirm ETH stake, unstake and claim transactions
2025-04-29 12:57:20 +03:00
obrusvit
be3a7cec62
chore(core): shorten some foreign copy
...
- shorten some strings related to reset/recovery flows of Delizia
[no changelog]
2025-04-28 19:53:43 +02:00
obrusvit
0f140466ed
fix(tests): handle layout-specific translations
...
[no changelog]
2025-04-25 18:00:28 +02:00
Roman Zeyde
569aee4ac1
test(core): don't force changing language if not needed
...
[no changelog]
2025-04-25 10:43:46 +03:00
Roman Zeyde
f89e7670c5
fix(core): update EIP-1559 fee-related labels
...
Translations will be updated in a separate PR.
2025-04-18 20:29:47 +03: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
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
Ondřej Vejpustek
2f104ea1fe
feat(legacy): support sortedmulti
2025-01-28 14:22:13 +01:00
Ondřej Vejpustek
0e8c1312bf
feat(legacy): forbid multisig to singlesig change outputs
2025-01-28 14:22:13 +01:00
Ioan Bizău
205a3bee79
chore(core): update fixtures
...
[no changelog]
2025-01-23 12:46:54 +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
4e852231ab
fix(tests): implement expected responses for entropy check
...
fixes #4464
2025-01-17 11:28:12 +01:00
matejcik
a3fc66f4b6
fix(tests): update tests for newly introduced device.setup()
2025-01-17 11:28:12 +01:00
matejcik
79cc7a9693
style(python): improve type hints for input flows
2025-01-17 11:28:12 +01:00
Ondřej Vejpustek
31fb9528b5
fix(tests): fix minor issues in multisig tests
2025-01-13 16:56:09 +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
Roman Zeyde
367ba7cd5c
fix(legacy): show XPUB using a QR code
...
Similar layout to `fsm_layoutAddress` is used.
Fixes #3043 .
2025-01-09 12:49:24 +01:00
Ondřej Vejpustek
1a62cc8a59
fix(core): fix serialization of signatures and witnesses in multisig
...
[no changelog]
2025-01-02 15:07:25 +01:00