Looking to test my AngularJS Application end-to-end, Protractor seems like the way to go. Setting it up was smooth sailing and everything runs smoothly in Chrome. However, I need to use a headless browser and have been exploring how to integrate Protractor with PhantomJS.
Warning: It's not recommended to use PhantomJS for testing with Protractor. There have been numerous issues reported regarding crashes and inconsistent behavior compared to real browsers.
The above information can be found at https://github.com/angular/protractor/blob/master/docs/browser-setup.md
So here are my questions:
Are there still ongoing issues between Protractor and PhantomJS?
If so, how severe are these issues and are there any better alternatives available?
How can I conduct E2E testing when my application is deployed on a server?