matejcik
6d48bbd2aa
fix(tests): do not trip deadlock detection in autolock test
2024-10-16 16:23:46 +02:00
matejcik
2bf26ffc87
chore: update fixtures
2024-10-16 16:23:46 +02:00
matejcik
c22dc2ffc4
style: fix style problems
2024-10-16 16:23:46 +02:00
matejcik
6c218d8d6c
fix(tests): stop waiting for background task after a timeout
...
Otherwise a test can hang if the result is not returned. This is not
even covered by pytest-timeout because if a test fails, the call to
task.kill() happens during teardown, and pytest-timeout doesn't cover
that.
2024-10-16 16:23:46 +02:00
matejcik
38395c16ce
chore(python): improve recovery type deprecation warning
2024-10-16 16:23:46 +02:00
matejcik
3de77db2b8
fix(tests): restore test functionality on legacy
...
The global layout related changes were wrong for T1 where debuglink
behavior is significantly different; in particular, it is not always
possible to communicate over debuglink.
This change reverts to the old behavior for T1B1 and keeps the new one
only for core-based models.
2024-10-16 16:23:46 +02:00
matejcik
7578f77ce8
feat(tests): sync received responses
...
to prevent "unexpected response to Initialize" errors
2024-10-16 16:23:46 +02:00
matejcik
c6bd058db3
style: fix complaining lints & formatters
2024-10-16 16:23:46 +02:00
matejcik
33a200a0e9
tests: fix small irregularities
2024-10-16 16:23:45 +02:00
matejcik
83d2fd4832
tests: use read_layout everywhere
2024-10-16 16:23:45 +02:00
matejcik
df6483c269
feat(core): unify RustLayout, implement single global layout
2024-10-16 16:23:45 +02:00
obrusvit
3f1d2059ca
chore(core): update fixtures
2024-10-10 19:14:16 +02:00
Ioan Bizău
774f9de745
chore(core/translations): shorten some menu item translations
...
[no changelog]
2024-10-02 10:55:45 +03:00
Ioan Bizău
69100c0755
feat(core/ui): allow two lines of text in menu items
2024-10-02 10:55:45 +03:00
Ioan Bizău
a59ded586e
chore(core/translations): shorten a couple of menu item translations
...
[no changelog]
2024-09-24 11:57:34 +03:00
Ioan Bizău
6da38f4cf3
feat(core): show account info in ETH send/stake flow
2024-09-24 11:57:34 +03:00
tychovrahe
fbbbd317c3
chore(core): update fixtures to new rendering
...
[no changelog]
2024-09-17 17:46:11 +02:00
Ioan Bizău
2d594446eb
chore(core): update fixtures
...
[no changelog]
2024-09-17 01:44:20 +02:00
Ioan Bizău
1c7bfdb04c
refactor(core): use a template to add colon to strings
...
[no changelog]
2024-09-17 01:44:20 +02:00
Ioan Bizău
4e0851d01b
fix(core/ethereum): use BIP44 variant to detect ETH account #
2024-09-16 11:14:05 +03:00
Martin Milata
2f1ad766d0
ci: remove Italian from the list of UI tests
...
Also remove Turkish fixtures.
[no changelog]
2024-09-13 23:31:59 +02:00
obrusvit
598039434c
chore: update fixtures.json
2024-09-12 21:26:45 +02:00
matejcik
b9a104d2ac
fix(tests): python >=3.11 compatibility for identifiers
...
Python 3.11 changed IntEnum.__str__ to return the number instead of the
enum value name. This breaks fixtures.json because pytest uses
str(value) to generate the test identifier names, and in a lot of places
our identifiers use the enum values.
This override of `_idval_from_value` explicitly generates a name from
the IntEnum instead of using the __str__ implementation.
2024-09-12 09:36:13 +02:00
matejcik
8129086aa7
chore: upgrade pytest
...
to get rid of python 3.14 deprecation warnings
2024-09-12 09:36:13 +02:00
matejcik
eda8c72b3a
feat(tests): flip the default service for update_fixtures.py ci
to github
...
now that we don't really use gitlab anymore
2024-09-11 12:59:04 +02:00
matejcik
475673e894
feat(tests): use trezorlib's builtin model list to fetch the pipelines
...
this includes D001 / D002, that probably doesn't matter
2024-09-11 12:59:04 +02:00
matejcik
c31819b53f
chore(tests): upgrade T2B1 to T3B1 for UI master-comparison
2024-09-11 12:59:04 +02:00
matejcik
d21af2a47f
tests: rework tutorial tests
...
complicated flows that _do not accomplish results_ do not belong into
device_tests, so I moved them to click_tests and added stronger assert
system
2024-09-11 12:59:04 +02:00
matejcik
17706540b5
chore(tests/ui_tests): screenshots for T3B1 should also be pixelated
2024-09-11 12:59:04 +02:00
matejcik
b3bd85b1fb
refactor(tests): introduce a better model selection mechanism
2024-09-11 12:59:04 +02:00
matejcik
37d8649d5d
tests: flip T2B1 pipelines to T3B1
2024-09-11 12:59:04 +02:00
JoeGruff
d2a2ac2178
decred: Add input_derive_script.
...
Decred shares code with bitcoin and a recent change broke signing stake
based inputs. Add decred specific script construction and fix tests.
2024-09-06 10:52:47 +02:00
Martin Milata
777ad11bec
feat(core/translations): add it, pt
...
Partially added TR.
2024-09-03 21:58:09 +02:00
Ioan Bizău
423f159794
chore(core): update fixtures and fix style
2024-09-03 18:59:53 +03:00
obrusvit
3de7256103
chore(core/mercury): fix UI test for everstake
...
[no changelog]
2024-09-03 18:59:53 +03:00
obrusvit
c5f9fadbd1
fix(core/mercury): show remaining shares
...
This commit enables showing "Remaining shares" from the context menu
during recovery process. This is only shown during super-shamir.
2024-09-03 14:20:34 +02:00
matejcik
234c065aae
chore(core): support T3B1 for translation blobs
2024-09-03 10:35:14 +02:00
Martin Milata
7c8be6f0ea
fix(core/ui/mercury): FIDO2 layouts
2024-09-02 19:36:25 +02:00
obrusvit
9e18e72a2c
feat(core): ask for 20/33 words to unlock backup
...
Unlocking repeated backup is only possible with SLIP-39 extendable
backup which contains shares of 20 or 33 words. It is UI bug to have the
user choose from all options (12, 18, 20, 24, 33). This commit reduces
the choices when unlocking repeated backup to (20, 33) for all models.
2024-08-29 16:01:13 +02:00
Jan Komarek
94a7ff5d32
chore(common): remove ropsten and rinkeby from fixtures
2024-08-28 16:15:35 +02:00
obrusvit
f0989e20b8
fix(core/ui): fix persistent word during recovery
...
Remove the current word from recovery progress if a user goes to
previous word.
[no changelog]
2024-08-28 14:33:02 +02:00
obrusvit
65d3fd00f1
fix(core/ui): fix mnemonic keys availability
...
This commit disables keys of mnemonic keyboard if their press cannot
lead to a valid word if the keyboard is initialized with a pre-filled
word. This is useful to get valid keyboard state when going to a
previous word during recovery.
[no changelog]
2024-08-28 14:33:02 +02:00
obrusvit
e2022db8fa
feat(core/mercury): use less severe icon color
...
Not using danger color during onboarding.
[no changelog]
2024-08-28 14:21:07 +02:00
Andrew Kozlik
2a567f3a0c
feat: Remove display_random feature.
2024-08-27 19:33:23 +02:00
Ioan Bizău
e3c3264f68
chore(core/translations): shorten es menu item
2024-08-27 16:21:03 +03:00
Ioan Bizău
b747a5bcc9
refactor(core): merge confirm_summary flow into confirm_output flow
2024-08-27 16:21:03 +03:00
Ioan Bizău
692eee3e07
feat(core): add progress to Ethereum transaction signing
2024-08-27 16:21:03 +03:00
Ioan Bizău
09d3301785
feat(core): improve ETH send flow
2024-08-27 16:21:03 +03:00
obrusvit
9b7ce3c84f
chore: update fixtures.json
...
[no changelog]
2024-08-22 00:47:15 +02:00
obrusvit
50dc265162
feat(core/mercury): impl flow_request_passphrase
...
This commit replaces request_passphrase with flow_request_passphrase.
The added benefit is that the user is prompted for confirmation if they
want to proceed with an empty passphrase.
2024-08-22 00:47:15 +02:00