matejcik
3a8f92f64d
tests(core): fix upgrade tests
2024-11-12 16:55:17 +01:00
Martin Milata
ea815eba93
test(core): fix test_reset_bip39_t2
...
[no changelog]
2024-11-12 16:55:17 +01:00
obrusvit
4b53a3ea9d
fix(tests): fix T3B1 persistance test
2024-11-12 16:55:17 +01:00
obrusvit
a22f1d3760
fix(tests): assert multiple in slip39 checklist
2024-11-12 16:55:17 +01:00
matejcik
e199d2bcaf
fix(tests): fix persistence tests, enable T3B1
2024-11-12 16:55:17 +01:00
matejcik
31958b7fb8
fix(core): restore ellipsis functionality on TR
2024-11-12 16:55:17 +01:00
matejcik
d4423b3569
fix(tests): correctly check that backup flow was aborted
2024-11-12 16:55:17 +01:00
matejcik
fbc2c828ec
fix(tests): do not place recorded.zip into the destdir
...
instead, download it to a temp location, as the Prophecy (and authors of
urlretrieve) foretold
2024-11-12 16:55:17 +01:00
matejcik
73c8149528
fix(tests): do not trip deadlock detection in autolock test
2024-11-12 16:55:17 +01:00
matejcik
b6b827cf7b
chore: update fixtures
2024-11-12 16:55:17 +01:00
matejcik
a4bd771e3b
style: fix style problems
2024-11-12 16:55:17 +01:00
matejcik
12cf208237
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-11-12 16:55:17 +01:00
matejcik
f4240d6309
chore(python): improve recovery type deprecation warning
2024-11-12 16:55:17 +01:00
matejcik
d385667b4a
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-11-12 16:55:17 +01:00
matejcik
617db52f43
feat(tests): sync received responses
...
to prevent "unexpected response to Initialize" errors
2024-11-12 16:55:17 +01:00
matejcik
11ae7a92ab
style: fix complaining lints & formatters
2024-11-12 16:55:17 +01:00
matejcik
adc9b523be
tests: fix small irregularities
2024-11-12 16:55:17 +01:00
matejcik
82290c2e5c
tests: use read_layout everywhere
2024-11-12 16:55:17 +01:00
matejcik
0e8dcbb498
feat(core): unify RustLayout, implement single global layout
2024-11-12 16:55:17 +01:00
Lukas Bielesch
7a61d8e858
chore(core) Translate hard-coded 'Enable labeling' string
2024-11-06 18:34:05 +01:00
Martin Milata
3897bc8d72
fix(tests): make update_fixtures.py fetch legacy fixtures
2024-11-05 18:56:03 +01:00
Ioan Bizău
461664ebfa
chore(core/translations): update fixtures
...
[no changelog]
2024-11-04 17:10:01 +02:00
Ioan Bizău
dfdd44becb
chore(core/translations): update fixtures
...
[no changelog]
2024-11-02 18:40:53 +01:00
obrusvit
2396e10fbb
fix(cardano): do not show paths while staking
...
Confirming "Withdraw" and "Delegate" is not accompanied by confirming
derivation paths after the transaction has been already signed.
[no changelog]
2024-10-31 22:02:01 +01:00
Ioan Bizău
c300576d6c
feat(core/ethereum): new ETH contract flow
2024-10-30 17:25:48 +02:00
obrusvit
2e0e8eb39b
chore: update fixtures
2024-10-30 09:15:10 +01:00
obrusvit
16a8d504e2
test(cardano): allow tests with details on mercury
2024-10-30 09:15:10 +01:00
obrusvit
ab9381cea9
chore: update fixtures
...
[no changelog]
2024-10-30 00:51:19 +01: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