ploigos/ploigos-containers

Javascript Image with Selenium and/or Headless Chrome

Opened this issue · 0 comments

In the Readme for the ploigos-tool-javascript image it notes:

"Note: selenium is a common framework used for user interface testing and UAT. The npm selenium web driver package requires java in order to execute selenium tests. For this reason, java is used as the base image"

Does this imply that during a downstream process one must install Selenium?

Additionally, in my experience I have seen many unit tests for js code utilize headless chrome for testing. Is this something that can be supported? I would like to run a command that resembles the following for my unit-test stage:

ng test --watch=false --browsers=ChromeHeadless

What would be the Ploigos way to support this method of unit testing for JS?