LP#1989195: (follow-up) flesh out Chrome e2e options
[evergreen-equinox.git] / Open-ILS / src / eg2 / CHEAT_SHEET.adoc
index e44ed3f..610d241 100644 (file)
@@ -8,9 +8,21 @@ npm update
 npm install
 ng lint                              # check code formatting
 npm run test                         # unit tests
+
+# run end-to-end tests using Firefox
 ng e2e                               # end-to-end tests, be sure to set
                                      # MOZ_HEADLESS=1 if you aren't
                                      # running x11
+
+# run end-to-end tests using Chrome
+npm install --save-dev chromedriver  # install ChromeDrive; you may
+                                     # need to tack on "@VERSION"
+                                     # to match the version of Chromium
+                                     # available to you
+ng e2e --env chrome                  # ... if you have X11
+ng e2e --env chrome-headless         # ... if you don't have X11
+
+
 ng build --watch                     # compile dev mode
 ng build --configuration=production  # compile production mode
 ---------------------------------------------------------------------