Hi,
I'm using pipelines for testing Vue application with Cypress. It is run on self hosted Bitbucket runners. Regardless of tests result there is no report in reports tab in pull request even though it says that report is uploaded.
I'm using the following command to run tests:
npx cypress run --reporter junit --reporter-options "mochaFile=./test-reports/test-output.xml"
Relevant output follows:
<span>Searching for test report files in directories named [test-reports, TestResults, test-results, surefire-reports, failsafe-reports] down to a depth of 4</span>
<span>Found matching test report file /tmp/3c6495e2-6658-52b5-95df-b5e314b63c26/build/test-reports/test-output.xml</span>
<span>Located test suite containing 0 tests, with 0 failures and 0 errors.</span>
<span>Located test suite containing 1 tests, with 1 failures and 0 errors.</span>
<span>Finished scanning for test reports. Found 1 test report files.</span>
<span>Merged test suites, total number tests is 1, with 1 failures and 0 errors.</span>
<span>Uploading test results</span>
<span>Finished uploading test results.</span>
<span>What can be the reason for this and is there any way to see the report in PR?</span>
<span>Thank you,</span>
<span>Goran</span>