~/talk

Shifting left your UI tests

Talkat SeleniumConf London 2019 · 2019-10-07..10-08· [testing, frontend-architecture]
links:none on file
slides:none on file

Mendix’s Web IDE is a TypeScript React SPA that originally relied on WebDriverIO Selenium tests — a few hundred UI tests take about half an hour and cause flakiness and slow feedback. Tests move left: simple rules (like integer validation) become unit tests, most UI interactions become fast component tests with Enzyme and jsdom running in ~62 ms vs ~20 s in a browser, and selective end-to-end Selenium remains for cross-browser and CSS/interaction checks; snapshots and visual diffs close gaps.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00Mendix UI testing challenges
  3. 5:53Excessive UI tests problems
  4. 7:03Shifting left to component level
  5. 8:14Component testing benefits in React
  6. 10:51Live demo: button component test
  7. 13:29Dialog component error testing
  8. 17:03Snapshots for assertions
  9. 21:52When to use Selenium
  10. 23:21Visual regression with screenshots
  11. 29:15Iterating like Bob Ross
  12. 30:47Q&A
~/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.