ploigos / ploigos-containers

Container image definitions for the Ploigos project.
GNU General Public License v3.0
6 stars 14 forks source link

Javascript Image with Selenium and/or Headless Chrome #120

Open jimmyliangacn opened 6 months ago

jimmyliangacn commented 6 months ago

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?