Closed afonsosantos closed 4 months ago
I'm unable to recreate this issue but it likely occurs because the code tries to access properties of a TestResult object without first ensuring that the results array contains elements. This might happen if a test suite is defined but contains no actual test cases or if test cases exist, but the results array is empty due to unknown reasons. I've added additional checks to ensure that the results array is not empty before trying to access its elements, please try version 0.0.15.
Hi there!
I'm trying to generate a test report in Github Actions, and the reporter failed with the error below:
The version I'm using is the latest available, 0.0.14. Here's my reporters config in
playwright.nuxt.ts
:Also, I'm using github-actions-ctrf to display the results from the CTRF report in Github Actions, as configured in my workflow:
In case any more debugging or help is needed, let me know.
Thanks!