The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello everyone,
I've added jest-unit test reports which outputs to ./test-reports/junit.xml
The pipeline hasn't been changed, but I can see from the documentation and other community question threads that the build should pickup the test file report automatically and display a tests tab on the page.
So attached is a screenshot of the page, where you can see the pipeline is picking up the test report, but it's not showing the expected "Test" tab next to the "Build" tab in the top left.
What am I missing? Do I need to modify the build plan in any way?
In the pipeline I'm just running npm commands, the deployment included.
EDIT:
I'm aware that the docs mention "The Tests tab will only show if you have failed tests to review." (https://support.atlassian.com/bitbucket-cloud/docs/test-reporting-in-pipelines/) but then I've seen threads in this forum where an Atlassian team member Philip Hodder said "We now display the successful tests too. But don't generate a full report." (https://community.atlassian.com/t5/Bitbucket-questions/Where-do-I-view-pipeline-test-reports/qaq-p/689754) So I'm not sure which is right
Hi @Sam
Welcome to the community!
I believe what Philip Hodder mention in the thread is that we now show the successful test in the step UI and not on the build UI as the failed test. Basically, the successful reports are shown as per the below screenshot while the failed report is shown in the pipeline build.
Successful report:
Failed report
We also have an existing feature request on this to show success reports the same as failed reports, please Vote & Watch the feature request so that you'll receive an update whenever we have any at:
I hope this helps, please let us know if you have any additional questions
Cheers,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.