Getting Protractor Bamboo Test Results

I run protractor tests on a remote Selenium server, which works fine.

The next step is to create a build job on Bamboo to run tests on this remote server. The problem here is that only the last test is shown in the results

if these are my test files, only the results of myThirdTestSpec.js are saved:

  • myFirstTestSpec.js
  • mySecondTestSpec.js
  • myThirdTestSpec.js

Using mocha-bamboo-reporter , I noticed that the result file (mocha.json) is deleted every time the Spec file is called. This explains why only the latter is visible in the results.

However, when I run the tests in a local browser, all test results are saved correctly.

My guess is that when the selenium server is remote , a new Mocha runner is launched every time the Spec file starts execution . So what happens is that the bamboo reporter cleans up the old data before each runner. I'm right? Any ideas to solve this problem?

+5
source share

All Articles