Roman Zeyde
061e71213e
test(core): don't fetch full DebugLinkState
by default
...
In case the main workflow is restarting after a `DebugLinkDecision`,
sending the response of `DebugLinkGetState` may get interrupted.
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-07 11:21:44 +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
25f4e07ad3
feat(tests): reduce ui error spam
2024-06-06 14:00:13 +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
20c9d81018
feat(tests): running master-diff report after each UI test
...
[no changelog]
2023-07-10 11:13:29 +02: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
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
508b6a87e6
fix(tests): ensure the client is open when stopping screen recording
...
[no changelog]
2023-02-02 12:40:39 +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
grdddj
d045e0089d
feat(core/ui): delete old UI code
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
1f612580f7
feat(core): enable UI tests for redesigned UI
...
[no changelog]
2022-04-07 17:58:41 +02:00
grdddj
9e654abdb3
feat(tests): prepare UI testing for T1
2022-02-17 11:05:55 +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
grdddj
1b932a20e8
fix(tests): decoding PNG files to fix Linux/Mac differences in encoding
2021-09-14 14:21:38 +02:00
matejcik
0971adf7a7
feat(tests): generate UI test report again from current data
2021-06-23 11:51:18 +02:00
matejcik
e952a301d6
fix(tests): properly include tests whose expected hash is missing
2021-06-08 09:55:19 +02:00
matejcik
c233b796df
fix(tests): avoid race condition when generating UI test screenshots
2021-05-06 13:14:21 +02:00
Pavol Rusnak
060df07272
fix(tests): fix trimming of fixture names to avoid collisions
2021-01-20 14:09:27 +01:00
Tomas Susanka
99e0faafb6
test(core): print fixtures suggestion after the test
2020-10-06 21:17:28 +02:00
matejcik
dab41fd680
tests: cleaner way to get the ui parameter
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
matejcik
f9097b16e6
tests: make ui-check-missing more resilient for nonstandard exits
2020-02-24 13:28:44 +01:00
Tomas Susanka
577daf09fe
tests: introduce --ui-check-missing to test/remove missing tests
2020-02-18 09:33:21 +01:00
matejcik
b6fca537c9
tests: remove wipe_code_activate test fixture
2020-02-12 15:45:17 +01:00
Tomas Susanka
4baa76dc67
tests/ui: replace many hash.txt files with one large one
2020-01-31 13:05:58 +00:00
Tomas Susanka
783fa80d19
tests/ui: mkdir for new test
2020-01-15 12:55:37 +00:00
Tomas Susanka
1103a14c48
tests/ui: move reports and add index.html
2020-01-09 14:25:45 +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
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
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