~/talk

Automating IDP Workflows with 2FA using Cypress & Mailosaur

Talkat CypressConf 2024 · 2024-10-22..10-23· [security, testing]
links:none on file
links:none on file
slides:none on file

Shows a working Cypress setup that automates a third‑party IDP login with 2FA using the Mailosaur API, capturing CSRF tokens with cy.intercept, switching origins with cy.origin, and caching credentials with cy.session. Demo builds a custom getOTP command that calls Mailosaur getMessage, completes an ADP login in about 35 seconds, and saves roughly 40 minutes across 85 tests by restoring sessions across specs. The flow works reliably in CI with configurable timeouts.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Key concepts overview
  3. 3:31User journey automation
  4. 7:25Implementation details
  5. 14:52Demo and workflow
  6. 15:13Q&A session
~/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.