Roman Zeyde
1c18a267af
test(core): don't fetch DebugLinkState
by default
...
In case the main workflow is restarting after a `DebugLinkDecision`,
the next `DebugLinkGetState` handling becomes inherently racy.
We are making the state fetching explicit, in order to avoid the
"restart" race condition (as described in #4401 ).
Following the above change, text-based layout recording is removed.
[no changelog]
2025-02-04 18:48:36 +02: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
c31819b53f
chore(tests): upgrade T2B1 to T3B1 for UI master-comparison
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
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
cepetr
dff12a32c1
feat(tests): improve screenshot diffs
...
[no changelog]
2024-03-20 16:54:50 +01:00
cepetr
fab70c7dba
feat(tests): show screenshot diff
...
[no changelog]
2024-02-29 14:35:37 +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
cd7899dbcc
feat(tests): generate master diff for subset of models
2024-01-10 11:10:31 +01:00
grdddj
e21dd94dd5
feat(tests): show newly created tests in master-diff report
...
[no changelog]
2023-09-15 09:50:21 +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
20c9d81018
feat(tests): running master-diff report after each UI test
...
[no changelog]
2023-07-10 11:13:29 +02:00
grdddj
87c7e33198
chore(tests): improve UI reports
2023-05-11 21:02:21 +02:00
grdddj
2b71a44fd3
feat(tests): master diff creating different_screens.html report
2023-04-12 13:38: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
matejcik
c6bf32eb82
fix(tests): only override left clicks in index custom script
2023-03-24 13:24:46 +01:00
matejcik
be920d7cec
fix(tests): differentiate passed vs new testcases
2023-02-27 14:22:49 +01:00
grdddj
89b905a349
fix(tests): make master_diff more reliable
...
[no changelog]
2023-02-17 10:28:35 +01:00
matejcik
9add2b0027
fix(tests): more robust master diff handling
...
fixes #2799
2023-02-10 13:03:29 +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
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
e15662e12d
feat(tests): revamp UI test harness
2023-02-02 12:40:39 +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
grdddj
56e0c91a71
feat(tests): add dashboards with indexed unique screens and all screens
2022-11-21 14:08:47 +01:00
Martin Novak
a69e43d1a6
chore(tests): tests recording also generates "results web page"
2022-05-30 09:52:42 +02:00
Martin Milata
1e0fa3428c
ci: fix UI master diff
2022-05-25 10:35:22 +02:00
Martin Milata
c153ffe4b3
ci: ui2 device tests
2022-04-07 17:58:41 +02:00
matejcik
82182ae078
ci: use external servers in CI and scripts
2022-03-23 11:28:56 +01:00
grdddj
c77e18d77c
chore(tests): add type hints to helper test functions
2022-02-07 14:05:27 +01:00
grdddj
5d76144ef5
chore(common): always use resolve() when accessing parent of the Path
...
[no changelog]
2022-02-07 14:05:27 +01:00
amadejpapez
85ba7c12ba
style(all): use f-strings for formatting
...
[no changelog]
2021-10-13 11:53:17 +02:00
matejcik
f3802dea61
fix(tests/ui_tests): if a UI test result changed, show it as new
2021-07-26 14:48:35 +02:00
matejcik
57582c2501
feat(tests): simple javascript-based UI diff review tool
2021-06-23 11:51:18 +02:00
matejcik
1b7b06255a
feat(tests): only try connecting to VPN once
2021-06-23 11:51:18 +02:00
matejcik
e4785d47e0
style: apply black 20.8b1
2020-09-29 11:30:40 +02:00
matejcik
35a0ae1d18
tests/ui_tests: use separate temporary directories for test cases
2020-06-04 16:18:46 +02:00
matejcik
17c4d75b40
tests: rename report_test to testreport so that pytest doesn't think it is a testcase
2020-05-15 14:08:29 +02:00
Tomas Susanka
89929c7a8c
tests/ui: create report what differs from master
2020-03-04 13:41:32 +01:00