1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

fix(docs): update links to the UI report

[no changelog]
This commit is contained in:
grdddj 2023-03-03 15:59:40 +01:00 committed by Jiří Musil
parent 6a51351983
commit 315b6f9b06

View File

@ -73,12 +73,12 @@ pytest tests/device_tests --ui=record --ui-check-missing
### Tests ### Tests
Each `--ui=test` creates a clear report which tests passed and which failed. Each `--ui=test` creates a clear report which tests passed and which failed.
The index file is stored in `tests/ui_tests/reporting/reports/test/index.html`. The index file is stored in `tests/ui_tests/reports/test/index.html`.
The script `tests/show_results.py` starts a local HTTP server that serves this page -- The script `tests/show_results.py` starts a local HTTP server that serves this page --
this is necessary for access to browser local storage, which enables a simple reviewer this is necessary for access to browser local storage, which enables a simple reviewer
UI. UI.
On CI this report is published as an artifact. You can see the latest master report [here](https://gitlab.com/satoshilabs/trezor/trezor-firmware/-/jobs/artifacts/master/file/test_ui_report/index.html?job=core%20device%20ui%20test). The reviewer features work directly here. On CI this report is published as an artifact. You can see the latest master report [here](https://gitlab.com/satoshilabs/trezor/trezor-firmware/-/jobs/artifacts/master/file/test_ui_report/index.html?job=core%20device%20test). The reviewer features work directly here.
If needed, you can use `python3 -m tests.ui_tests` to regenerate the report from local If needed, you can use `python3 -m tests.ui_tests` to regenerate the report from local
recorded screens. recorded screens.