CodeceptJS - Bamboo Integration

We can currently run all tests from Bamboo tool. But we are facing with an issue. Although some tests fail as we see in report, bamboo displays as build success with a green check icon.

We use mochawesome report.
Any help?

On BrowserStack the same thing is happening, all tests are marked as “completed” (green) by default, no matter if the test passed or not.

For Bamboo you need to generate xml report and parse it in the last step of the job.

I guess we need to call the BS api to mark test failed when it failed. ^^