1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-12 18:49:07 +00:00
Commit Graph

1324 Commits

Author SHA1 Message Date
obrusvit
b24e044499 fix(tests): button content comparison
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
86e543c8d3 fix(tests): regenerate fixtures.json
Using ./tests/update_fixtures.py

Current order on main branch is this: T1B1, T3T1, T2B1, T2T1
instead of what the script generates: T1B1, T2B1, T2T1, T3T1

[no changelog]
2024-05-07 13:01:57 +02:00
matejcik
a4f8d2b877 refactor(tests/ui): properly propagate model css class 2024-05-01 14:17:58 +02:00
matejcik
2523597c2a fix(tests/ui): fix failing master diffs 2024-05-01 14:17:58 +02:00
matejcik
421b2d8db1 refactor(tests/ui): use internal names for UI fixtures 2024-05-01 14:17:58 +02:00
Ioan Bizău
394a86dd1c chore(core): update multilanguage fixtures 2024-05-01 09:23:40 +02:00
Ioan Bizău
7c97561565 chore(core): rename "seed" to "backup" 2024-05-01 09:23:40 +02:00
Ioan Bizău
8ec9545b89 chore(core): add an extra confirmation for non-1-of-1 Shamir backups 2024-05-01 09:23:40 +02:00
Ioan Bizău
4afe42a57e refactor(core): make 1-of-1 SLIP39 backups use same messaging as BIP39 2024-05-01 09:23:40 +02:00
Ioan Bizău
3006224bff feat(core): add ability to request backups with any number of groups/shares 2024-05-01 09:23:40 +02:00
overcat
3d1e2bc20d fix(legacy): resolves the issue of incorrect signature generation when the Stellar transaction source account differs from the signing account. 2024-04-10 09:28:11 +02:00
cepetr
b1fb876709 fix(core): fix ts3 fonts
[no changelog]
2024-04-08 15:38:39 +02:00
Martin Milata
827b421394 chore(core): update fixtures.json 2024-04-06 20:31:36 +00:00
matejcik
45a4a1da99 fix(core/translations): correctly rename previous symbol
[no changelog]
2024-04-02 11:10:24 +02:00
matejcik
379737a9a5 chore(core): translate storage strings into supported languages 2024-03-30 12:10:59 +01:00
matejcik
de2fe3d6d6 feat(core/ui): unify progress.py code between models, implement storage translations
fixes #3520
2024-03-30 12:10:59 +01:00
RostarMarek
8b485de173 feat(solana): Hidden flag functionality for instructions 2024-03-25 16:31:01 +01:00
Martin Milata
866853e856 tests: update fixtures.json 2024-03-25 11:12:20 +00:00
Martin Milata
60e01ce0e8 feat(tests): update_fixtures.py: github actions support 2024-03-25 11:12:20 +00:00
Martin Milata
8a45a22ed7 tests: update fixtures.json 2024-03-21 00:44:04 +01:00
cepetr
dff12a32c1 feat(tests): improve screenshot diffs
[no changelog]
2024-03-20 16:54:50 +01:00
grdddj
b5b29daad1 chore(tests): regenerate fixtures
[no changelog]
2024-03-20 14:38:21 +01:00
Martin Milata
6e1cb9ff8c tests: update fixtures.json 2024-03-15 15:55:06 +00:00
matejcik
6bd83aac94 tests(translations): restore test_error_invalid_signature 2024-03-15 13:11:17 +01:00
matejcik
00544312b5 tests(translations): always use client version for language blobs
and ignore what is written in the jsons
2024-03-15 13:11:17 +01:00
matejcik
802958bc05 tests: test that trailing data in translations header will be accepted 2024-03-15 13:11:17 +01:00
matejcik
106793956c tests: add more granular silent language installation tests 2024-03-15 13:11:17 +01:00
Martin Milata
e7f2d3f6cc test(core): use internal model names
[no changelog]
2024-03-12 20:55:23 +00:00
Martin Milata
73a7223e7b test(core): add T3T1 support
[no changelog]
2024-03-12 20:55:23 +00:00
matejcik
48de0cb469 chore: update fixtures for translations 2024-03-08 13:17:12 +01:00
cepetr
fab70c7dba feat(tests): show screenshot diff
[no changelog]
2024-02-29 14:35:37 +01:00
matejcik
5f016a896a chore: upgrade style checkers
black 24.2.0
flake8 7.0.0

some neat improvements for if-else statements there
2024-02-29 13:08:18 +01:00
Martin Milata
89c356c651 chore(core): update fixtures.json
[no changelog]
2024-02-29 11:29:11 +00:00
Martin Milata
48124023d7 feat(core): Add Capability.Translations to Features
[no changelog]
2024-02-29 11:16:05 +00:00
Martin Milata
ae1f4cf5c9 feat(core/bitcoin): send BIP-380 descriptor in GetPublicKey response 2024-02-27 11:09:56 +01:00
Martin Milata
a2b53e3c46 feat(core): Add language_version_matches flag to Features
[no changelog]
2024-02-26 18:10:24 +01:00
grdddj
5d14899008 chore(tests): regenerate fixtures
[no changelog]
2024-02-26 15:07:48 +01:00
obrusvit
27829591c6 feat(core): add DE, ES, FR langs for ETH staking 2024-02-23 18:09:43 +01:00
obrusvit
83ac9d422f fix: show verb in TS3 confirm_value with info 2024-02-23 18:09:43 +01:00
obrusvit
2f77434677 feat(core): device-tests of staking chunkify 2024-02-23 18:09:43 +01:00
obrusvit
ebcf3e2db2 feat(core): confirm ETH stake, unstake, claim 2024-02-23 18:09:43 +01:00
grdddj
4204ba1404 chore(tests): regenerate fixtures
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
f4538b9426 feat(tests): fix and extend translations tests
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
294b6e6666 feat(tests): create test for silent language updates
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
0579ba54fc feat(core): allow for going back to previous word in recovery process 2024-02-19 22:05:04 +01:00
grdddj
b8ea21d24a feat(all): implement translations into Trezor
Co-authored-by matejcik <ja@matejcik.cz>
2024-02-12 14:49:32 +01:00
Martin Milata
bb29c1e5f8 fix(core/bitcoin): display descriptors for taproot XPUBs 2024-02-07 16:30:10 +01:00
grdddj
5dc193a552 chore(tests): regenerate fixtures
[no changelog]
2024-02-05 14:46:40 +01:00
gabrielkerekes
6691cb17b8 chore(solana): regenerate ui fixtures 2024-01-10 13:45:24 +01:00
Martin Milata
cd7899dbcc feat(tests): generate master diff for subset of models 2024-01-10 11:10:31 +01:00
grdddj
988ba0b74c chore(tests): regenerate fixtures
[no changelog]
2024-01-03 14:51:56 +01:00
overcat
579cc0d882 feat(common & core & legacy & python/stellar): add support for ClaimClaimableBalanceOp. 2023-12-11 11:14:33 +01:00
matejcik
8d617f876a chore: regenerate fixtures 2023-12-05 22:11:41 +01:00
gabrielkerekes
37119ce4a5 chore(solana): regenerate ui fixtures 2023-12-05 22:11:41 +01:00
gabrielkerekes
5fe2f91f5d chore(solana): add device tests for predefined txs 2023-12-05 22:11:41 +01:00
gabrielkerekes
deb6967f67 chore(solana): generate ui fixtures 2023-12-05 22:11:41 +01:00
gabrielkerekes
e53121b3c4 chore(solana): add sign_tx tests 2023-12-05 22:11:41 +01:00
gabrielkerekes
b3f4b6ac2b feat(solana): add solana templates
- code is broken because depending modules are added in the next commit
2023-12-05 22:11:41 +01:00
gabrielkerekes
44dc417c0e feat(solana): add get_address 2023-12-05 22:11:41 +01:00
gabrielkerekes
ec4a607dbe feat(solana): add get_public_key 2023-12-05 22:11:41 +01:00
grdddj
76490e6e5f chore(tests): regenerate fixtures
[no changelog]
2023-12-05 18:22:58 +01:00
grdddj
de16ee69e6 feat(tests): add test for going back from Ethereum summary page
[no changelog]
2023-12-05 18:22:58 +01:00
grdddj
26232c8c8b chore(tests): regenerate fixtures
[no changelog]
2023-12-04 13:15:57 +01:00
grdddj
9a53ba9f44 fix(core): unify button requests in modify amount flow
[no changelog]
2023-12-04 13:15:57 +01:00
grdddj
9db8ff1fae fix(core): unify sent button requests in ETH send flow
Makes sure T2B1 will send the same ButtonRequests as T2T1.
Does it by splitting the Rust layout into two separate dialogs.

[no changelog]
2023-12-04 13:15:57 +01:00
grdddj
01eb896817 chore(core): hardcode ETH and Gwei units in ETH send summary
[no changelog]
2023-12-01 14:42:08 +01:00
matejcik
c8fa687c1e fix(core/ui): fix skipped confirm_address on TS3 2023-11-30 09:27:57 +01:00
grdddj
d9ceb191b1 chore(tests): regenerate fixtures
[no changelog]
2023-11-27 16:03:16 +01:00
grdddj
1be5800ea8 chore(tests): regenerate fixtures
[no changelog]
2023-11-22 09:00:58 +01:00
Marek Polak
50d53e15f4 fix(tests): valid fees in eip1559 fixtures 2023-11-21 13:54:24 +01:00
matejcik
3a28ab4c11 feat(core): make lockscreen blank for T2B1
also allow soft-locking even when PIN is not set
2023-11-01 16:45:29 +01:00
Martin Milata
9c5d3b4831 fix(core/ui): T2T1: nudge page_prev_ellipsis to the right
[no changelog]
2023-10-27 11:50:12 +02:00
Martin Milata
18d6b4d647 fix(core/ui): T2T1: update sign message layout 2023-10-26 18:29:52 +02:00
Martin Milata
9e33eb3e48 fix(core/ui): T2T1: display coinjoin icon on lockscreen
[no changelog]
2023-10-26 13:35:43 +02:00
Martin Milata
9a36b1f880 test(core): fix fixtures
[no changelog]
2023-10-26 13:35:11 +02:00
grdddj
02ec0ac43c feat(core): support recipient address chunkification in Ethereum sign flow
[no changelog]
2023-10-25 11:49:43 +02:00
matejcik
c9e9c34e06 tests: use 'h' for hardening in descriptor tests 2023-10-20 15:45:32 +02:00
David Misiak
a945de85a5 chore(cardano): update ui tests, add changelog 2023-10-19 09:55:30 +02:00
Martin Milata
f26a2e909e fix(core/ui): wording in recovery flow
[no changelog]
2023-10-18 12:04:52 +02:00
Martin Milata
7f86858709 fix(core/ui): flickering at the end of PIN loader 2023-10-17 20:39:50 +02:00
Martin Milata
d8e7c00087 refactor(core/ui): pagination and buttons on TT 2023-10-16 13:18:50 +02:00
Martin Milata
239439931d chore(tests): update fixtures for Safe 3
[no changelog]
2023-10-12 12:16:04 +02:00
Martin Milata
0c5836605f fix(tests): Safe 3 model name
[no changelog]
2023-10-12 11:31:57 +02:00
Martin Milata
f226c9599b fix(core/ui): better contrast for bip39 keyboard button
[no changelog]
2023-10-02 19:04:28 +02:00
grdddj
07fb451048 feat(core): not allowing to send empty PIN in T2B1
[no changelog]
2023-10-02 16:33:51 +02:00
matejcik
bd1d0822b3 feat(core): spinner for authenticate_device
[no changelog]
2023-09-29 16:27:27 +02:00
matejcik
f6c659357a refactor(core): rely on layout code to fill in homescreen default label
[no changelog]
2023-09-29 16:27:27 +02:00
Andrew Kozlik
dee559f4f9 feat(core): Integrate Optiga into PIN verification. 2023-09-27 17:17:09 +02:00
grdddj
292389bc1d chore(tests): regenerate fixtures
[no changelog]
2023-09-27 14:14:42 +02:00
grdddj
01a7de5b98 chore(tests): regenerate fixtures
[no changelog]
2023-09-26 11:50:21 +02:00
grdddj
144ff52b7a feat(core): show account number in receive/public key details for altcoins
[no changelog]
2023-09-26 11:50:21 +02:00
grdddj
6b3fa353ae chore(tests): regenerate fixtures
[no changelog]
2023-09-26 09:28:11 +02:00
grdddj
5ab4f1a45a chore(tests): regenerate fixtures
[no changelog]
2023-09-26 08:07:32 +02:00
grdddj
65c9380ab7 feat(core): triggering delete action in ChoicePage after 1 second even without release
[no changelog]
2023-09-26 08:07:32 +02:00
Martin Milata
ed9fd35018 tests: tweak wait time for test_busy_expiry
[no changelog]
2023-09-21 15:06:50 +02:00
grdddj
5608340f6e chore(tests): regenerate fixtures
[no changelog]
2023-09-20 13:58:05 +02:00
Andrew Kozlik
1f7c78a4ed test(core): Update emulator device certificate.
[no changelog]
2023-09-19 21:41:42 +02:00
grdddj
f3c4f1e867 chore(tests): regenerate fixtures
[no changelog]
2023-09-19 11:48:58 +02:00
Andrew Kozlik
686aa78aa7 feat(core): Use Optiga as a source of randomness. 2023-09-15 11:16:57 +02:00
grdddj
8c98015b67 chore(tests): regenerate fixtures
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
cae3e81337 chore(tests): account for T2B1 sending extra ConfirmOutput BR in device tests
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
d88da792f1 chore(tests): change all the model-specific variables for button_requests to start with "is_"
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
2ca3c4c83b chore(tests): accounting for the extra T2B1 buton request in input flows
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
9bf6874b85 chore(tests): regenerate fixtures
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
04e3b02030 feat(tests): add device tests for chunkifying addresses
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
8e48f354ab feat(tests): allow for removing missing tests when updating UI fixtures from CI
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
e21dd94dd5 feat(tests): show newly created tests in master-diff report
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
76c6e9cd9d feat(all): implement support information for T2B1
WIP - change trezor{1,2} to their internal names, add support for model R

WIP - add EOS and NEM features Capability only for TT

WIP - not include EOS and NEM into TR

WIP - choose between device models when generating coininfo

WIP - regenerate coininfo.py

WIP - skip NEM, EOS, Dash, BGold and Decred device tests for TR

WIP - fix python support

WIP - fix unit tests

WIP - import bitcoin-like code only when needed

WIP - remove ignored coins for TR in fixtures.json

WIP - make all the external references to models UPPERCASE

WIP - do the model separation in mako script also for tokens and networks

WIP - hot-fixing non-supporting RELEASES_URL for new model names

WIP - support.py releases CLI command takes a list of -r key-value pairs DEVICE=VERSION

WIP - run `python support.py release`

WIP - use utils.MODEL_IS_T2B1 to ignore NEM and EOS

WIP - change all the docs and commands to have UPPERCASE model names

[no changelog]
2023-09-14 13:54:09 +02:00
grdddj
2dcdc2be96 chore(tests): regenerate fixtures
[no changelog]
2023-09-14 11:43:43 +02:00
grdddj
4d539aff56 chore(tests): regenerate fixtures
[no changelog]
2023-09-13 17:12:51 +02:00
Andrew Kozlik
140e17039a feat(tests): Add AuthenticateDevice test. 2023-09-13 15:45:48 +02:00
Martin Milata
b221f128ec feat(core): additional btc send/receive warnings 2023-09-12 18:08:41 +02:00
grdddj
a30c59ccde chore(tests): regenerate fixtures
[no changelog]
2023-09-12 13:44:21 +02:00
grdddj
e6e0c50836 chore(tests): regenerate fixtures
[no changelog]
2023-09-12 11:06:38 +02:00
Martin Milata
66616bbf67 build(core): fix test_emu_ui_record_multicore 2023-09-12 00:39:08 +02:00
Martin Milata
c1492159f0 fix(core): cardano: include chain code when displaying public key
[no changelog]
2023-09-12 00:39:08 +02:00
Martin Milata
58ffe95369 fix(core): display XPUBs in a similar way to addresses
[no changelog]
2023-09-12 00:39:08 +02:00
grdddj
8a1573311c chore(tests): regenerate fixtures
[no changelog]
2023-09-11 09:29:12 +02:00
grdddj
b17d9da65d chore(tests): regenerate fixtures
[no changelog]
2023-09-04 13:50:30 +02:00
grdddj
02a0f1d5a2 chore(tests): refactor Ethereum input flows
[no changelog]
2023-09-04 13:50:30 +02:00
grdddj
8956350aca feat(core): create new Ethereum send flow for TT
[no changelog]
2023-09-04 13:50:30 +02:00
grdddj
61eb47636a chore(core): regenerate tests
[no changelog]
2023-09-01 13:30:29 +02:00
grdddj
492ff958a5 feat(core): improve sign message designs
[no changelog]
2023-09-01 13:30:29 +02:00
grdddj
99369d555d chore(tests): regenerate fixtures
[no changelog]
2023-09-01 10:27:48 +02:00
grdddj
45639eeacf chore(core): change error screens according to design
[no changelog]
2023-09-01 10:27:48 +02:00
grdddj
be9b88038f chore(tests): regenerate fixtures
[no changelog]
2023-08-28 12:09:58 +02:00
grdddj
bb959892ac chore(core): improve the shamir info button handling, regenerate tests
[no changelog]
2023-08-23 11:03:09 +02:00
matejcik
b151a3db6b style(tests): apply isort 5 2023-08-16 13:29:51 +02:00
grdddj
0ca440339a feat(tests): notify about failed tests when updating fixtures from CI
[no changelog]
2023-08-09 16:07:27 +02:00
grdddj
2118648e9c chore(tests): regenerate fixtures
[no changelog]
2023-08-09 13:57:09 +02:00
grdddj
9a4cb1887d fix(core): raise ActionCancelled when cancelling tutorial flow for TR
[no changelog]
2023-08-09 13:31:22 +02:00
grdddj
de7458dd49 chore(tests): regenerate fixtures
[no changelog]
2023-08-09 10:50:57 +02:00
grdddj
2b1ce55549 chore(tests): regenerate fixtures
[no changelog]
2023-08-07 15:30:38 +02:00
grdddj
8d78dd8872 chore(core): change some UI text and TR's screens to match the Figma designs
[no changelog]
2023-08-07 15:30:38 +02:00
grdddj
a4034097d6 feat(tests): number the screens in UI test reports, give unique IDs to images
[no changelog]
2023-07-28 09:43:34 +02:00
grdddj
87d4a2622e chore(tests): regenerate fixtures
[no changelog]
2023-07-28 09:41:04 +02:00
grdddj
104fee78c5 chore(tests): use special recovery functions for upgrade tests
[no changelog]
2023-07-28 09:41:04 +02:00
grdddj
c99fd824b3 chore(tests): refactor recovery input flows
[no changelog]
2023-07-28 09:41:04 +02:00
grdddj
c97c515718 chore(tests): increase the number of asserts of screen content in input flows
Done to make tests more readable and so that they fail at the right spot when something changes

[no changelog]
2023-07-28 09:41:04 +02:00
grdddj
e8ee3f7ee1 chore(tests): adapt click tests for the new recovery flow
[no changelog]
2023-07-28 09:41:04 +02:00
grdddj
0a4b7eb06f fix(tests): fix unstable UI in test_busy_expiry testcase
Asserting the device comes back to Homescreen, so the UI result is always the same
(when it does not get there, the assert will fail and the test will rerun).

[no changelog]
2023-07-20 10:02:11 +02:00
grdddj
7d453bd100 feat(tests): add command to automatically update UI fixtures from CI results
Usage:
$ python tests/update_fixtures.py ci

[no-changelog]
2023-07-19 08:58:37 +02:00
grdddj
821f8aad8f feat(tests): saving fixtures.results.json file with result hashes after each UI test
[no changelog]
2023-07-19 08:58:37 +02:00
grdddj
f5983e7843 chore(tests): regenerate fixtures
[no changelog]
2023-07-18 13:01:25 +02:00
grdddj
19dd68f936 chore(tests): regenerate fixtures
[no changelog]
2023-07-18 10:09:35 +02:00
grdddj
18a1e798e8 chore(tests): regenerate fixtures
[no changelog]
2023-07-18 09:25:01 +02:00
grdddj
a520c1b9e4 chore(tests): regenerate fixtures
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
d6c6cacdd2 fix(tests): fix unstable autolock click test
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
52c69de138 chore(all): small design fixes
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
fb6b96415b fix(tests): fix unstable test_information_replacement
[no changelog]
2023-07-17 15:30:00 +02:00