Open sn-sstone opened 2 weeks ago
Perhapps in a json file? E.g. runresult.json? { "browsers": "Setup, Webkit", "testPlan": "SNP-3674", "testDuration": "3h 32m", "testsRan": "113 (including reruns)", "testsPassed": "0", "testsFailed": "113", "flakyTests": "0", "skippedTests": "0" }
Or in CTRF? https://medium.com/@ma11hewthomas/its-finally-here-a-json-test-results-data-format-f485b77bbdbc
yea I think a json file would be perfect.
A will add it in the next release
Is your feature request related to a problem? Please describe. It would be nice to be able to store the results of the XRAY Reporter somewhere, either in a file or env variable.
What is "Results": Things like what is provided at the end of the test run, such as.
It would need to be formatted in a way that individual data points ca be pragmatically fetched.
Describe the solution you'd like This way we can use this data to provide additional details to other reporters like https://github.com/ryanrosello-og/playwright-slack-report#readme. For example it would be nice to have a Slack message posted in a channel that says something like "Test Run Completed with 113 Failed 0 Passed. Check out the test results at 🔗 https://ABC.atlassian.net/browse/SNP-4579"
Describe alternatives you've considered None, as I do not think there is a way to get the data from this report console logs.
Additional context None.