trion-development / docker-ng-cli-e2e

Angular end2end tests inside docker
MIT License
24 stars 11 forks source link

Difference to docker-ng-cli-karma? #7

Closed loxy closed 5 years ago

loxy commented 5 years ago

Looking at the Dockerfile, I only see adding some JAVA stuff to the docker-ng-cli-karma image. I mean, why? What is the intense of docker-ng-cli-e2e?

everflux commented 5 years ago

You can use the e2e image to run protractor tests which require java for webdriver.

loxy commented 5 years ago

But why does it work to execute ng e2e in ng-cli-karma?

everflux commented 5 years ago

If you use the chromewebdriver directly instead of selenium, there is no java runtime requirement. In that case the ng-cli-karma image is sufficient.