~/talk

Shifting-left and Right to Test a web app with CI

Talkat OpenJS World 2021 · 2021-06-02..06-03· [testing, developer-experience]
slides:none on file

Creates a Create React app in under five minutes, adds component tests with React Testing Library (data-test-id to avoid brittle text checks), adds visual end-to-end snapshots with WebdriverIO + Screener running on two browser/viewports, and wires everything into GitHub Actions using npm ci, build, start, wait, and a visual test step. CI runs on push/pull, visual diffs flag two changed elements after swapping the logo, baselines are accepted and the pipeline passes.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Creating a React App
  3. 2:27Running First Test
  4. 4:20Creating a CI Pipeline
  5. 12:18Add a Link Test
  6. 17:25Add Visual Testing
  7. 25:18Making an Image Change
~/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.