mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
## Summary Extending scout-reporter with `failed-test-reporter`, that saves failures in json summary file. For each test failure html report file is generated and linked in summary report: ``` [ { "name": "stateful - Discover app - saved searches - should customize time range on dashboards", "htmlReportFilename": "c51fcf067a95b48e2bbf6098a90ab14.html" }, { "name": "stateful - Discover app - value suggestions: useTimeRange enabled - dont show up if outside of range", "htmlReportFilename": "9622dcc1ac732f30e82ad6d20d7eeaa.html" } ] ``` This PR updates `failed_tests_reporter_cli` to look for potential Scout test failures and re-generate test failure artifacts in the same format we already use for FTR ones. These new artifacts are used to list failures in BK annotation: <img width="1092" alt="image" src="https://github.com/user-attachments/assets/09464c55-cdaa-45a4-ab47-c5f0375b701c" /> test failure html report example: <img width="1072" alt="image" src="https://github.com/user-attachments/assets/81f6e475-1435-445d-82eb-ecf5253c42d3" /> Note for reviewer: 3 Scout + 1 FTR tests were "broken" to show/test reporter, those changes must be reverted before merge. See failed pipeline [here](https://buildkite.com/elastic/kibana-pull-request/builds/266822) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
failed_tests_reporter | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.md | ||
tsconfig.json |
@kbn/failed-test-reporter-cli
Empty package generated by @kbn/generate