~/talk

Test your apps with real web browsers using Symfony Panther

Talkat Web Summer Camp 2019 · 2019-08-28..08-30· [testing, web-platform]
slides:none on file

Symfony Panther drives real browsers via the WebDriver protocol and implements the same API as BrowserKit, so existing Symfony functional tests and Goutte scripts run unchanged while client side JS actually executes. The demo builds a Hacker News clone, uses Maker to scaffold entities and tests, exercises AJAX comment posting and uses waitFor selectors to catch async loading and a real JS bug that reproducibly fails. Panther runs headless or visible, takes screenshots and executes custom JS, and installs with composer require symfony/panther.

AI-written summary · about

  1. 0:00Introduction
  2. 26:48Why test apps
  3. 57:17Symfony project setup
  4. 1:33:59Generating functional tests
  5. 2:13:17Using fixtures
  6. 2:20:18Live demo and conclusion
~/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.