~/talk

REACTive Automation: How to Avoid Shooting Yourself in the Foot

TalkinRussianat QA Fest 2018 · on Saturday, 2018-09-22· [react, testing]

Covers practical techniques for more reliable React UI test automation: add data-test attributes to encapsulated components to make locators stable; inject React TestUtils into window so synthesized events update component state; handle data grids by mapping column types to parsers and using a small DSL for sort/filter assertions; and test charts by preferring SVG and scanning SVG candle widths to read tooltips and assert colors. These fixes produce reproducible tests and reduce fragile DOM hacks.

AI-written summary · about

  1. 0:00Introduction
  2. 3:25React and Virtual DOM
  3. 7:46Automation challenges
  4. 11:46Collaborating with devs
  5. 15:58Testing datepicker
  6. 17:21Automating grids
  7. 25:49Grid bugs
  8. 31:13Canvas vs SVG charts
  9. 34:06Chart automation example
  10. 41:44Chart testing tips
  11. 43:08Summary
  12. 44:14Q&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.