1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-15 19:08:07 +00:00
Commit Graph

391 Commits

Author SHA1 Message Date
matejcik
c612b8fd2d tests: increase timeout for 16-of-16-share test 2020-01-27 20:17:52 +01:00
matejcik
9279049008 tests: register the 'slow' marker 2020-01-27 20:06:18 +01:00
matejcik
066686a20c tests: raise timeouts for slow tests 2020-01-27 19:41:50 +01:00
matejcik
25910acdd1 tests: make use of new emulator code in emulator tests 2020-01-23 18:45:57 +01:00
matejcik
f707913f32 tests/ui: update fixtures to include missing confirms 2020-01-23 15:45:10 +01:00
Pavol Rusnak
9a884a5dc5
ci/tests: disable test_LongEcho in HIDTest, remove retry 2020-01-23 12:26:43 +00:00
matejcik
15bd35824b
python/cosi: improve API
cosi.verify was renamed to verify_combined, because it is pretty much
ed25519.verify, and the new name implies what it does in terms of the
CoSi scheme: verify a signature with already-combined public keys.

cosi.verify_m_of_n signature was simplified by not requiring the `n`
parameter, which is not important for verification. The updated function
was renamed to cosi.verify, because this is the standard CoSi
verification operation: given signature, digest, required number of
signatures, sigmask, and a list of public keys, verify that enough
signatures are indicated and that they sign the digest.
2020-01-20 17:32:58 +01:00
Tomas Susanka
783fa80d19 tests/ui: mkdir for new test 2020-01-15 12:55:37 +00:00
Tomas Susanka
c332876fc0 tests/ui: fix overall result message 2020-01-10 13:25:52 +00:00
Tomas Susanka
a1a56813fe tests/ui: use the generated reports to create index.html
instead of the pytest reports, because it was quite painful
2020-01-10 12:18:15 +00:00
Tomas Susanka
87d032a8dd tests/ui: regenerate fixtures due to the red square fix 2020-01-10 08:25:12 +00:00
Tomas Susanka
b846a44a8d tests/ui: relative path to report pages 2020-01-10 08:25:12 +00:00
Tomas Susanka
23b3a59a5d tests/ui: order tests in summary 2020-01-09 14:37:15 +00:00
Tomas Susanka
b99a6d5f6c tests/ui: refactor image reading 2020-01-09 14:32:11 +00:00
Tomas Susanka
346e1e3ebc tests/ui: remove unnecessary setup_client mark 2020-01-09 14:27:08 +00:00
Tomas Susanka
1103a14c48 tests/ui: move reports and add index.html 2020-01-09 14:25:45 +00:00
Tomas Susanka
c604b8f7fa tests/ui: rename test fixtures folders 2020-01-09 12:03:23 +00:00
Tomas Susanka
b6ec8d67ba tests/ui: use different test names 2020-01-09 12:03:23 +00:00
Tomas Susanka
96ec85686e tests/ui: success html file 2020-01-07 14:43:23 +00:00
Tomas Susanka
75c96f6b0a tests/ui: regenerate fixtures due to reseed before wipe 2020-01-07 12:38:12 +00:00
Tomas Susanka
b4df1172ca tests/ui: enable ui test for change_wipe_code
Because the previous commit fixed it 🎉.
2020-01-07 12:38:12 +00:00
Tomas Susanka
78bd43d3c4 tests/conftest: reseed before wipe 2020-01-07 12:38:12 +00:00
Tomas Susanka
0c820091a8 tests/ui: reseed each ui test before running it 2020-01-07 12:38:12 +00:00
Tomas Susanka
8796ca96b9 tests/ui: rename test-screen to ui 2020-01-07 09:13:08 +00:00
Tomas Susanka
56257eb6a5 tests/ui: code review fixes 2020-01-06 14:44:30 +00:00
Tomas Susanka
fe690a6b6b tests/ui: embed images as base64 to diff.html 2020-01-03 15:07:46 +00:00
Tomas Susanka
ce00fa667a tests/ui: download recorded fixtures from server 2020-01-03 15:07:46 +00:00
Tomas Susanka
edcd4f9ccc tests/ui: copy actual dir as recorded if the test passed
because it is the same thing then
2020-01-03 14:28:27 +00:00
Tomas Susanka
2eda139ac4 tests/ui: move files to ui_tests dir 2020-01-03 14:28:27 +00:00
Tomas Susanka
e709f76b14 tests: move fixtures to fixtures directory 2020-01-03 14:28:27 +00:00
Tomas Susanka
15069f3e25 tests/ui: introduce diff html 2020-01-03 14:28:27 +00:00
Tomas Susanka
2ceeacb5db tests/ui: rename also tested fixtures 2020-01-03 14:28:27 +00:00
Tomas Susanka
3a035a0ef8 tests: save screens directly to ui_tests; introduce recorded/actual dir 2020-01-03 14:28:27 +00:00
Tomas Susanka
51ef963738 tests: introduce UI tests for core 2020-01-03 14:28:27 +00:00
Tomas Susanka
a28f29708f ci: add junit for a nice tests overview 2020-01-03 12:44:12 +00:00
Pavol Rusnak
e5bdf0d51b
Merge pull request #742 from trezor/language
common: change language field to IETF BCP 47 language tag
2019-12-12 18:07:54 +01:00
Pavol Rusnak
7646b97dca
common: divisibility -> decimals 2019-12-09 17:43:47 +01:00
Pavol Rusnak
bb8d809a6d
common: change language field to IETF BCP 47 language tag 2019-12-08 11:27:10 +01:00
Tomas Susanka
1b88840f53 docs: move docs to root 2019-12-06 12:24:20 +00:00
Tomas Susanka
61430d800e core/stellar: add screen for timebounds 2019-12-05 14:31:28 +00:00
Pavol Rusnak
3d50bb5ed8
common: add Peercoin, regenerate coins 2019-12-05 09:43:32 +00:00
Andrew Kozlik
89a3ec1696 tests: Add device tests for wipe code protection. 2019-11-25 17:08:19 +01:00
matejcik
34913a328a all: disallow most RecoveryDevice fields in dry-run (fixes #666) 2019-11-20 12:27:57 +01:00
matejcik
bd9bf4e2bc python: rename webauthn and u2f to fido 2019-11-18 11:50:07 +01:00
matejcik
40a2c2ce93 tests: improve clicktests 2019-11-15 15:54:16 +01:00
matejcik
862e582ec1 tests: make {needs,no}_backup flags available in test suite 2019-11-13 16:48:35 +01:00
matejcik
fd8aed6105 all: drop XPRV feature of LoadDevice 2019-11-13 16:48:35 +01:00
Tomas Susanka
90edad55fc python and tests: typos 2019-11-13 13:28:07 +00:00
Tomas Susanka
b12ed82586 tests/device: add test for u2f counter set/get 2019-11-13 11:33:12 +00:00
Tomas Susanka
23c4b97e48 tests/upgrade: test u2f counter 2019-11-13 11:33:11 +00:00