~/talk

Automate your testing with Nightwatch.js

Talkat DrupalCampSG 2018 · on Thursday, 2018-08-09· [testing]
links:none on file
slides:none on file

Live demo shows Nightwatch.js in Drupal 8.6 core running real end‑to‑end tests that assert page title, wait for elements, and click buttons; tests run locally or via Selenium + chromedriver + Docker or cloud services (Sauce Labs, BrowserStack). CI runs initially hit ~40 minutes but are trimmed to ~10 minutes for core suites. Upgrading jQuery surfaces issues—one run finds 3 real bugs—and test hooks produce logs, screenshots and video so automated checks reliably catch regressions.

AI-written summary · about

  1. 0:00Intro
  2. 1:06Nightwatch
  3. 1:45Writing the test
  4. 8:49Selenium
  5. 11:03Setup
  6. 15:42Containers
  7. 19:25Nightwatch in Drupal
  8. 23:03Writing more tests
  9. 25:08Testing DrupalCampSG
  10. 28:18Testing with selenium
  11. 30:03Testing with log
  12. 36:53Accessibility testing
  13. 38:58Tips
  14. 44:23Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.