M1nd3r
d8f85a8c34
chore(tests): start screen recording only after the session fixture has a session prepared
...
[no changelog]
2024-12-06 09:24:26 +01:00
M1nd3r
de7420813d
fix(tests): unlock device when getting a new session
...
[no changelog]
2024-12-06 09:24:26 +01:00
M1nd3r
5835f09879
feat(python): add lock() to TrezorClientDebugLink
...
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
c03037f56a
fix(tests): change xfail to skip when using protocol_marker
...
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
cc8ecbe99e
test: update test framework
...
[no changelog]
2024-12-06 09:24:25 +01:00
matejcik
8a1c15fd94
feat(tests): simplify asserts on translated strings
2024-11-25 13:32:13 +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
82290c2e5c
tests: use read_layout everywhere
2024-11-12 16:55:17 +01: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
b3bd85b1fb
refactor(tests): introduce a better model selection mechanism
2024-09-11 12:59:04 +02:00
matejcik
25f4e07ad3
feat(tests): reduce ui error spam
2024-06-06 14:00:13 +02:00
obrusvit
d8f20616be
feat(core/ui): T3T1 set new PIN flow
...
[no changelog]
2024-05-31 11:59:52 +00: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
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
0c5836605f
fix(tests): Safe 3 model name
...
[no changelog]
2023-10-12 11:31:57 +02:00
matejcik
b151a3db6b
style(tests): apply isort 5
2023-08-16 13:29:51 +02:00
grdddj
20c9d81018
feat(tests): running master-diff report after each UI test
...
[no changelog]
2023-07-10 11:13:29 +02:00
grdddj
da14c22712
feat(all): add UI for Model R
2023-05-31 10:14:54 +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
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
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
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
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
4b2b0e457b
chore(tests): do not generate index after every test, unconditionally
...
[no changelog]
2023-02-02 12:40:39 +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
grdddj
56e0c91a71
feat(tests): add dashboards with indexed unique screens and all screens
2022-11-21 14:08:47 +01:00
Andrew Kozlik
4e79eec188
feat(tests): Do not automatically enable experimental features in device tests.
2022-11-02 14:58:01 +01:00
matejcik
4110f20abd
fix(tests): fix instability of multicore runners
2022-10-31 16:53:35 +01:00
grdddj
d5b0650cc2
feat(tests): add possibility to run device/UI tests in parallel
2022-08-29 15:47:36 +02:00
Martin Novak
a69e43d1a6
chore(tests): tests recording also generates "results web page"
2022-05-30 09:52:42 +02:00
grdddj
9e654abdb3
feat(tests): prepare UI testing for T1
2022-02-17 11:05:55 +01:00
matejcik
abc593d19a
tests: drop skip_ui support
2022-02-08 16:34:54 +01:00
grdddj
9a71ac74c9
chore(tests): add type hints and improve styling in device test files
2022-02-07 14:05:27 +01:00
grdddj
c77e18d77c
chore(tests): add type hints to helper test functions
2022-02-07 14:05:27 +01:00
grdddj
e1d4e40785
feat(tests): adding assert_tx_matches() to common.py
2022-01-27 15:07:30 +01:00
matejcik
e972839ac7
style(all): fix pylint complaints
...
[no changelog]
2021-10-27 13:13:15 +02:00
amadejpapez
85ba7c12ba
style(all): use f-strings for formatting
...
[no changelog]
2021-10-13 11:53:17 +02:00
matejcik
7e0e24430c
feat(tests): reuse same client instance across test session
...
Makes skipping tests much faster, and running individual tests a tiny
bit faster.
Also makes sure the whole suite always runs against the same device
(modulo emulator being restarted)
2021-08-04 10:58:59 +02:00
matejcik
57582c2501
feat(tests): simple javascript-based UI diff review tool
2021-06-23 11:51:18 +02:00
matejcik
718d589acc
feat(tests): dump UI test report as you go
2021-01-11 16:47:59 +01:00
Martin Milata
830592f2d9
feat(core): add experimental_features setting
...
The setting is off by default. When it is enabled protobuf messages
marked UNSTABLE are rejected after decoding.
2020-10-16 13:53:31 +02:00
Tomas Susanka
99e0faafb6
test(core): print fixtures suggestion after the test
2020-10-06 21:17:28 +02:00
Tomas Susanka
ba36cef369
tests: move fixtures to common directory, start with Cardano
2020-09-01 16:14:41 +02:00
matejcik
e0ec5aa1e7
tests: clear session before each testcase
2020-08-28 15:37:06 +02:00
matejcik
e97336a40d
tests: make device_handler resilient to interrupting tests
2020-07-10 14:05:52 +02:00
matejcik
dab41fd680
tests: cleaner way to get the ui parameter
2020-06-04 16:18:46 +02:00
matejcik
67c09020ab
tests: fix terminalreporter deprecation warning
2020-06-04 16:18:46 +02:00