~/talk

E2E testing goes Corporate

Talkat NDC Oslo 2020 · 2020-06-08..06-12· [testing]
links:none on file
slides:none on file

Cypress lacks built-in NTLM/negotiate support so a lightweight solution pairs Cypress with an external NTLM proxy that intercepts 401s, completes the three‑step NTLM handshake and returns 200 so tests proceed; the plugin bundles a launcher, custom commands to register hosts/credentials and a Windows SSO mode that uses native APIs. Corporate Node hurdles include HTTPS inspection and proxy settings—fix by supplying trusted CA chain via NODE_EXTRA_CA_CERTS or using win-ca, and configure http(s)_proxy and no_proxy. The proxy also works with Selenium.

AI-written summary · about

  1. 0:00Start
  2. 2:58What is Cypress?
  3. 11:51Cypress architecture vs Selenium
  4. 15:12Windows Web Authentication methods
  5. 17:26NTLM handshake
  6. 21:55Why doesn't NTLM work?
  7. 23:33Making NTLM work!
  8. 36:37Challenges while developing the plugin
  9. 41:01Node.js behind corporate firewall - Corporate certific Corporate firewalls commonly apply HTTPS Inspection
  10. 43:00Custom CA with Node.js (2)
  11. 44:35Extracting the root CA
  12. 46:49Node.js behind corporate proxy - Proxy settings (2)
  13. 48:15Bonus: Single sign on
~/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.