1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 17:09:44 +00:00
Commit Graph

1381 Commits

Author SHA1 Message Date
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
grdddj
bc502287fc feat(core): new design of recovery dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
03f77c50e9 feat(core/rust): new design of wallet creation dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
672d6b7d13 feat(core): new design of PIN dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
bde351ef2e chore(tests): regenerate tests
[no changelog]
2023-07-14 12:00:21 +02:00
grdddj
973238f4cd fix(tests): fix unstable test_information_replacement
[no changelog]
2023-07-14 12:00:21 +02:00
matejcik
bac453ddca fix(tests): mark flaky busy_expiry test 2023-07-12 12:15:29 +02:00
grdddj
20c9d81018 feat(tests): running master-diff report after each UI test
[no changelog]
2023-07-10 11:13:29 +02:00
Martin Milata
03693ff8c3 fix(core): update homescreen after CancelAuthorization
[no changelog]
2023-06-30 12:59:07 +02:00
grdddj
70d990f69a chore(tests): regenerate tests
[no changelog]
2023-06-27 07:57:45 +02:00
grdddj
64236e699f feat(core/rust): add account and address labels into send flow
[no changelog]
2023-06-27 07:57:45 +02:00
Andrew Kozlik
c3f6e8f19f feat(crypto): Support is_canonical parameter in zkp_ecdsa_sign_digest(). 2023-06-21 08:36:20 +02:00
Andrew Kozlik
21f4aec8de refactor: Unify secp256k1_zkp usage.
[no changelog]
2023-06-21 08:36:20 +02:00
grdddj
5bda9a89d9 chore(tests): regenerate tests after changing icons
[no changelog]
2023-06-20 11:08:21 +02:00
grdddj
13cb1ea4ce chore(core/rust): improve the design of TR's tutorial flow
[no changelog]
2023-06-20 11:08:21 +02:00
Jan Šetina
c85102494d feat(core/ui): update colors - grey_dark and green 2023-06-20 10:58:09 +02:00
Martin Milata
3a5fdfedcc fix(core/ui): minor visual tweaks
- centered title for coinjoin loader
- make device label bold on label confirmation screen

[no changelog]
2023-06-19 19:34:16 +02:00
grdddj
75feaf12a1 chore(tests): add SConscript helpers into python support tests
[no changelog]
2023-06-19 17:30:00 +02:00
grdddj
ef2d2a3e75 feat(core/rust): make font changes for TR
[no changelog]
2023-06-14 18:17:09 +02:00
grdddj
d888b21551 chore(tests): update tests after randomizing TR input methods
[no changelog]
2023-06-14 17:27:44 +02:00
grdddj
5efafce856 chore(core): modify Shamir backup flow design
[no changelog]
2023-06-14 16:44:02 +02:00
grdddj
127e6f42cf chore(core/rust): center TR's input method vertically
[no changelog]
2023-06-14 15:23:40 +02:00
grdddj
55bff602fa fix(core): add dynamic title to the FIDO dialogue for model R
[no changelog]
2023-06-14 15:20:43 +02:00
grdddj
88fd4cd11f chore(core/rust): mark icons with empty right column, delete unused ones
[no changelog]
2023-06-06 17:49:53 +02:00
Martin Milata
fee0d70211 fix(core/ui): workaround different TT and TR UI API
[no changelog]
2023-06-02 18:47:09 +02:00
Martin Milata
611d4edc32 fix(core/ui): clarify transaction replacement screens
[no changelog]
2023-06-02 18:47:09 +02:00
grdddj
da14c22712 feat(all): add UI for Model R 2023-05-31 10:14:54 +02:00
grdddj
019a3ced7d fix(core): revert some UI changes for TT (PIN, wipecode, backup homescreen) 2023-05-16 09:25:56 +02:00
grdddj
393bc48b6b fix(core): improve error popups 2023-05-11 21:02:21 +02:00
grdddj
bd6783b1a3 feat(all): increase stability of debug-decision events + parsing JSON from Rust 2023-05-11 21:02:21 +02:00
grdddj
c6ad596339 chore(tests): regenerate fixtures.json 2023-05-11 21:02:21 +02:00
grdddj
369a871260 feat(tests): centralize all input flows 2023-05-11 21:02:21 +02:00
grdddj
1f3bb6d0af chore(tests): improve common code 2023-05-11 21:02:21 +02:00
grdddj
f809a37f7d chore(tests): update device tests 2023-05-11 21:02:21 +02:00
grdddj
facbd6b1cf chore(tests): update upgrade tests 2023-05-11 21:02:21 +02:00
grdddj
0dd3098aeb chore(tests): update persistence tests 2023-05-11 21:02:21 +02:00
grdddj
00b83d1dca feat(tests): update, refactor and extend click tests 2023-05-11 21:02:21 +02:00
grdddj
87c7e33198 chore(tests): improve UI reports 2023-05-11 21:02:21 +02:00
tychovrahe
eea52174ac fix(tests): set homescreen test uses colorful image, to better test homescreen rednering
[no changelog]
2023-04-21 09:07:18 +02:00
Pavol Rusnak
a0aa414aa0 ci: bump nixpkgs to latest nixpkgs-unstable
[no changelog]
2023-04-19 13:05:03 +02:00
grdddj
2b71a44fd3 feat(tests): master diff creating different_screens.html report 2023-04-12 13:38:48 +02:00
Martin Milata
aa9f848b70 fix(core/ui): button text and warning style update
[no changelog]
2023-04-12 13:10:45 +02:00
Martin Milata
33e3da8ed3 tests: tweak wait time for test_autolock_ignores_getaddress
[no changelog]
2023-04-11 19:58:20 +02:00
grdddj
d4304dc38b chore(tests): record persistence tests fixtures
[no changelog]
2023-04-11 15:15:44 +02:00
grdddj
b6ce90dc73 feat(tests): support UI testing for persistence tests
Added new global `emulator_core` fixture that supports UI recording.

[no changelog]
2023-04-11 15:15:44 +02:00
Martin Milata
2456219d52 fix(core/ui): hold to confirm when finializing replacement transaction
[no changelog]
2023-04-10 18:42:38 +02:00
matejcik
606518d80e tests: test behavior of USB-ignoring autolock
[no changelog]
2023-04-07 19:44:32 +02:00
matejcik
5e0a2ed6d0 feat(core/cosi): confirm CoSi path on screen (fixes #2932) 2023-04-05 20:57:48 +02:00
matejcik
5fa1a33a1d fix(tests): url-safe name for hyperlinks (for when there's a backslash) 2023-04-05 20:57:48 +02:00
Martin Milata
c21cf87c53 fix(core/ripple): use standard layouts for sign_tx
[no changelog]
2023-04-04 00:15:12 +02:00
Martin Milata
a44e738d31 feat(core/ui): sending transaction style update
[no changelog]
2023-04-04 00:15:12 +02:00
Martin Milata
c100358ce2 fix(core/ui): don't send ButtonRequest when displaying GetAddress QR code
[no changelog]
2023-04-03 17:57:18 +02:00
Martin Milata
08cad2f909 fix(core/ui): coinjoin layouts style update
[no changelog]
2023-03-30 13:55:54 +02:00
matejcik
f0486a2d0b fix(legacy): limit EthereumGetPublicKey allowable paths 2023-03-24 13:24:46 +01:00
matejcik
c6bf32eb82 fix(tests): only override left clicks in index custom script 2023-03-24 13:24:46 +01:00
matejcik
e2d600389b tests: update device_tests for external definitions 2023-03-24 13:24:46 +01:00
Martin Milata
877a236d74 chore(core/ui): update fixtures
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
19a2ea21b6 fix(core/ui): Model T style update
[no changelog]
2023-03-23 20:16:22 +01:00
grdddj
287bb1518b fix(tests): record all getaddress_show.py fixtures
[no changelog]
2023-03-23 17:35:09 +01:00
grdddj
4babb3f5db Revert "chore(tests): regenerate fixtures.json after emulator display gamma correction"
This reverts commit 3ffe3912dc.
2023-03-23 17:35:09 +01:00
grdddj
3ffe3912dc chore(tests): regenerate fixtures.json after emulator display gamma correction
[no changelog]
2023-03-23 09:37:59 +01:00
matejcik
0e9aa7c5dc fix(tests): add forgotten assert 2023-03-21 12:47:28 +01:00
matejcik
80af1c552e feat(tests): seemingly stable workaround for the wait_layout instability
[no changelog]
2023-03-21 12:47:28 +01:00
matejcik
160addce4b fix(tests): fix and re-enable broken tests 2023-03-21 12:47:28 +01:00
matejcik
0c4c229c50 fix(tests): display missed testcases in the UI report 2023-03-21 12:47:28 +01:00
Andrew Kozlik
c94b891b6f fix(tests): skip unreliable test_show_ 2023-03-20 17:55:49 +01:00
Andrew Kozlik
35bb1e5473 test: Add SLIP-25 descriptor tests. 2023-03-20 17:55:49 +01:00
Andrew Kozlik
9e23ba8864 feat(trezorctl): Support SLIP-25 in get-descriptor 2023-03-20 17:55:49 +01:00
Martin Milata
05f8c1e9f7 test(chore): skip unreliable test_show_
[no changelog]
2023-03-20 13:03:39 +01:00
Jan Šetina
04964dc2e8 feat(core/ui): change GREY_DARK and GREY_MEDIUM
[no changelog]
2023-03-13 01:34:14 +01:00
Martin Milata
4af5939a0b feat(core/ui): redesigned receive flow
[no changelog]
2023-03-09 23:36:36 +01:00
grdddj
41e07769e2 feat(tests): allow for coverage report even when emulator is controlled by the tests
Allowing tests to specify the profiling wrapper over the emulator
it is starting.

[no changelog]
2023-03-09 16:50:32 +01:00
Martin Milata
7efa1fc3df chore(core): update fixtures.json 2023-03-09 14:03:48 +01:00
David Misiak
79632d32c7 chore(cardano): update ui tests, add changelog 2023-03-06 11:27:13 +01:00
David Misiak
2011ffe9c9 chore(cardano): replace governance by cvote 2023-03-06 11:27:13 +01:00
matejcik
770cd19899 fix(legacy): lower maximum of chars per line
so that we actually fit if all the biggest characters are used

[no changelog]
2023-03-02 16:43:03 +01:00
Martin Milata
557e29769b feat(core/ui): redesigned passphrase dialogs
[no changelog]
2023-02-28 23:30:38 +01:00
Martin Milata
dff68dd690 tests(ethereum): update ethereum testnet fixtures 2023-02-28 14:46:34 +01:00
Andrew Kozlik
8486aa4ed4 feat(legacy): Validate script type of change-outputs in Bitcoin signing. 2023-02-28 14:06:07 +01:00
Andrew Kozlik
423ce75b4f feat(core): Validate script type of change-outputs in Bitcoin signing. 2023-02-28 14:06:07 +01:00
Andrew Kozlik
2a3cc688a1 fix(legacy): Sync input sanitization with trezor-core. 2023-02-28 14:06:07 +01:00
Andrew Kozlik
102ab3c7d6 feat(core): Check script type match for change-outputs in Bitcoin signing. 2023-02-28 14:06:07 +01:00
matejcik
be920d7cec fix(tests): differentiate passed vs new testcases 2023-02-27 14:22:49 +01:00
matejcik
1e44f712e2 tests(ethereum): show Ethereum address on display for UI testing 2023-02-27 14:22:49 +01:00
matejcik
c40f8a6aad fix(legacy): use correct layout for StellarGetAddress (fixes #1453) 2023-02-27 14:22:49 +01:00
matejcik
3b2d7115cb fix(legacy): wrap long Ethereum fees (fixes #2373) 2023-02-27 14:22:49 +01:00
Andrew Kozlik
6e957a8a92 feat(legacy): Do not show account number for coinjoin account #1. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
4372d19ceb feat(core): Remove authorization when rounds are depleted.
[no changelog]
2023-02-27 14:22:25 +01:00
Andrew Kozlik
7cbcb25a75 feat(test): Add device test for migration to CoinJoin account. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
300c986851 feat(legacy): Implement SetBusy. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
68bbcbdc4d feat(legacy): Implement CoinJoin signing. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
0466972f30 feat(legacy): Implement SLIP-0025 CoinJoin accounts. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
a1afadfd01 feat(legacy): Implement UnlockPath. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
ec9756cabd feat(legacy): Support native SegWit external inputs with non-ownership proof. 2023-02-27 14:22:25 +01:00
Andrew Kozlik
fa2d618f7d feat(legacy): Implement SLIP-0019 proofs of ownership. 2023-02-27 14:22:25 +01:00
grdddj
ccf08df07d fix(legacy): show complete taproot QR code without any missing rows/columns
The QR code will be smaller (only one pixel per module), but scannable anyway.

When the QR code was bigger, but incomplete, Android devices had issues with scanning it.

[no changelog]
2023-02-22 14:48:04 +01:00
Martin Milata
fa34247c38 chore(core): update fixtures 2023-02-21 10:23:46 +01:00
grdddj
20d280d7e0 feat(core): ability to not show passphrase coming from host
[no changelog]
2023-02-17 12:55:11 +01:00
Martin Milata
afb5c55416 feat(core/ui): reset_device copy change
[no changelog]
2023-02-17 12:35:19 +01:00
grdddj
89b905a349 fix(tests): make master_diff more reliable
[no changelog]
2023-02-17 10:28:35 +01:00
grdddj
82bd908246 feat(core): EIP712 signing shows the ethereum address at the beginning 2023-02-14 15:30:05 +01:00
matejcik
9add2b0027 fix(tests): more robust master diff handling
fixes #2799
2023-02-10 13:03:29 +01:00
Martin Milata
034947985a fix(tests): increase delay between click test button presses
[no changelog]
2023-02-10 13:03:29 +01:00
Martin Milata
7a375b5642 feat(core/ui): adjust device customization layouts 2023-02-10 13:03:29 +01:00
grdddj
996fec5aae chore(core): delete newlines in strings where they do not delimit useful info
Done so we can use the same strings for both TT and TR

[no changelog]
2023-02-07 12:26:33 +01:00
grdddj
1fa9a58fa5 feat(tests): generate UI report with all unique differing screens
[no changelog]
2023-02-03 16:51:14 +01:00
grdddj
491a8523bc feat(tests): allow for saving text layout of all screens during UI tests
[no changelog]
2023-02-03 16:51:14 +01:00
grdddj
eb195d038b chore(tests): small naming changes and docs
[no changelog]
2023-02-03 16:51:14 +01:00
matejcik
39a8e6bb50 tests(cosi): add invalid path tests 2023-02-03 13:01:47 +01:00
matejcik
8d44db5270 fix(core): ensure SLIP26 path is accepted for SignMessage 2023-02-03 13:01:47 +01:00
matejcik
3ed84a84e9 fix(core): update SLIP-26 signing paths 2023-02-03 13:01:47 +01:00
grdddj
32d5beb762 fix(core): making sure last layouts before signing are always HoldToConfirm
[no changelog]
2023-02-03 11:17:44 +01:00
matejcik
fe88331234 fix(tests): make sure the POST to fixtures.json goes through 2023-02-02 12:40:39 +01:00
matejcik
c7b787a2ec fix(tests): do not load every image to learn its width 2023-02-02 12:40:39 +01:00
matejcik
795fa3e7e2 chore(tests): add fixtures for click tests 2023-02-02 12:40:39 +01:00
matejcik
7b0d2a7095 feat(tests): re-enable passphrase autolock test 2023-02-02 12:40:39 +01:00
matejcik
13c2f360f7 chore(tests): add sections to fixtures file 2023-02-02 12:40:39 +01:00
matejcik
e15662e12d feat(tests): revamp UI test harness 2023-02-02 12:40:39 +01:00
matejcik
f62ce2f793 refactor(tests): always use screen_recording context manager
and have it not record internally when appropriate
2023-02-02 12:40:39 +01:00
matejcik
6af42b523d feat(tests): generate index on demand when looking at results through show_results.py 2023-02-02 12:40:39 +01:00
matejcik
4b2b0e457b chore(tests): do not generate index after every test, unconditionally
[no changelog]
2023-02-02 12:40:39 +01:00
matejcik
508b6a87e6 fix(tests): ensure the client is open when stopping screen recording
[no changelog]
2023-02-02 12:40:39 +01:00
tychovrahe
236396338c refactor(core/rust): introduce icon/image type
[no changelog]
2023-01-30 12:33:39 +01:00
grdddj
021f41c23a fix(core): properly call request_passphrase_on_host dialogue
[no changelog]
2023-01-25 19:17:56 +01:00
grdddj
25dc6ff130 feat(core): implement loader based on time in milliseconds
[no changelog]
2023-01-25 19:17:56 +01:00
Andrew Kozlik
ab65b18b07 fix(core): Use lowercase in the name coinjoin.
[no changelog]
2023-01-21 10:35:09 +01:00
matejcik
958cbe2300 feat(legacy): allow Casa eth & btc signing for m/45' 2023-01-20 15:21:24 +01:00
grdddj
a79cf4752e fix(tests): correct ETH signmessage assertion and record the testcase
[no changelog]
2023-01-20 15:21:24 +01:00
tychovrahe
d00e87ea80 feat(core/rust): homescreen background image
[no changelog]
2023-01-19 14:11:42 +01:00
Armin Sabouri
96b2d05d47 refactor(core): Allow eth & btc signing at m/45'/coin_type/account/change/address_index
[no changelog]
2023-01-18 12:08:17 +01:00
matejcik
497285f9a1 feat(core): make first steps to unify Rust API for both models
wip: unify confirm_action

wip: unify confirm_fido

wip: unify request_pin, clean up prompts

wip: unify select_word

wip: unify request_number

refactor(core/reset): refactor confirm_share_words

[no changelog]
2023-01-13 17:09:25 +01:00
grdddj
39b1776801 feat(tests): add pytest flag to not generate reports after each test
[no changelog]
2023-01-13 16:38:59 +01:00
grdddj
20f3658e7e feat(tests): allow for accepting the recent UI diff without recording the tests
[no changelog]
2023-01-13 16:38:59 +01:00
tychovrahe
305b7fe84d fix(core/rust): fix position calculation from center and size
[no changelog]
2022-12-16 16:41:24 +01:00
Martin Milata
253f2587dc fix(core/ui): polish XPUB screen
[no changelog]
2022-12-15 17:24:15 +01:00
Martin Milata
bdec3f3979 fix(core/rust/ui): polish confirm_fido
[no changelog]
2022-12-15 17:24:15 +01:00
tychovrahe
550e2a7951 feat(tests): add button to update fixtures directly from ui test report
[no changelog]
2022-12-15 12:28:27 +01:00
Martin Milata
5b3db7eca1 refactor(core/rust/ui): homescreen layouts
[no changelog]
2022-12-13 17:15:15 +01:00
Martin Milata
95d8a21294 feat(core/rust/ui): progress indicators
[no changelog]
2022-12-12 16:00:42 +01:00
Martin Milata
fc3ee87c25 feat(core/bitcoin): SignMessage: whitelist T1 firmware signing address_n
[no changelog]
2022-12-09 15:43:11 +01:00
Martin Milata
b12de5d861 feat(core): CoSi collective signatures 2022-12-09 15:43:11 +01:00
Martin Milata
701d75d6d8 fix(core/rust/ui): handle very long scrollbars on Model T
[no changelog]
2022-12-07 16:47:30 +01:00
Martin Milata
452857757a feat(core/rust/ui): support ask_pagination flag in confirm_blob
[no changelog]
2022-12-06 00:26:25 +01:00
Martin Novak
58276a7443 feat(core/ethereum, legacy/ethereum): add support to Ledger Live legacy derivation path 2022-11-30 14:23:47 +01:00