~/talk

Hands-On Web App Test Automation

Talkat PyCon US 2020 · 2020-04-15..04-23· [testing, web-platform]
slides:none on file

A hands‑on walkthrough builds a real test project from scratch that runs a DuckDuckGo search with pytest and selenium, adds fixtures and page object classes, implements locators and explicit/implicit waits, and shows a browser-specific race condition fix that is diagnosed and corrected. The repo has sectioned branches and the demo ends with green passing tests plus faster parallel runs and notes on Selenium Grid and CI.

AI-written summary · about

  1. 0:00Start
  2. 2:53Web UI Testing Overview
  3. 3:38Major misconception: unit testing == all testing
  4. 20:02Setting Up pytest With Our First Test
  5. 26:09pipenv install pytest
  6. 30:04Setting Up Selenium WebDriver
  7. 40:23Defining Page Objects
  8. 48:56Finding Locators for Elements
~/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.