Currently, no documentation exists on how to use Protractor with Angular e2e tests on GitLab CI. It's an impossible mix yet it is one of the popular CI platforms.
I'm calling for addition of the separate block in documentation that would showcase GitLab CI integration as the whole topic is heavily underdocumented on all sides from Selenium to Protractor to Angular.
To illustrate the hardship, please also see discussion on Stackoverflow.
I think we can add label PR's are welcome! ;)
I worked it out and I do have a working solution.
I'll take a look into it and see how it'd make sense for the Protractor.
I'm facing this same exact problem So @ain if you have any clues or advices on a proper config (protractor settings, package.json, .gitlab-ci.yml samples for example). Your help would be very appreciated...
I'll do my best to publish the setup this week, yes.
The key of solving this impasse was to use Xvfb.
I've posted my .gitlab-ci.yml in How to run AngularJS end-to-end tests on GitLab CI.
Most helpful comment
The key of solving this impasse was to use
Xvfb.I've posted my
.gitlab-ci.ymlin How to run AngularJS end-to-end tests on GitLab CI.