TeamCity and Protractor/Jasmine automated tests

We already use TeamCIty to run automated E2E tests using a Java/Maven Framework and would like to the same with tests using a Protractor/Jasmine/Node Module type framework.

 

Has anyone been here before and if so, please could you advise on the best setup in TC.

 

Currently when we run locally, the commands used are:

 

    npm update

    webdriver-manager update

    webdriver-manager start

   protractor confUI.js

 

Any help gratefully received

 

Thanks

 

0
2 comments

If you want to see the test results in TC from the tests you need TC Jasine reporter https://www.npmjs.com/package/jasmine-reporters

You can have multiple IFs in the code and enable this reporter only when you run the test in TC. Otherwise it should be pretty straightforward how to run these tests in TC.

0
Avatar
Permanently deleted user

Hi Petr,

I have included the jasmine reporter in my config file but while running it from teamcity I could not found the reporter.

0

Please sign in to leave a comment.