Test automation patterns – not only Page Object
summary
Claim: extend Page Object with factories, builders and commands so tests assert actual entities rather than strings. Uses PHP, Behat, PHPUnit, Docker and Jenkins; CI runs about 700 test runs daily executing ~23,200 tests and ~2,500 scenarios across 8 machines with 24 parallel executors. Built a REST trojan sign-on API that generates test data and returns the same entity for clear assertions; uses domain identity and page factories to unify API and UI objects and handle country-specific page variations with reusable element abstractions.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 0:51About Pawel
- 1:35About OLX
- 2:48About Ukraine
- 3:03Backend
- 4:43Testing stack
- 5:13PHP Bhat
- 5:26Continuous Integration
- 8:31Jenkins
- 9:49Trojan Signon
- 13:17Problems
- 14:23Domain identity
- 15:43Test of API
- 17:06Factories
- 17:45API
- 18:16Page Object
- 18:59selenium
- 19:20login page
- 19:54class variables
- 20:31instance fields
- 20:58page element
- 21:58page factories
- 24:16single page
- 24:48end
related talks
48mDesign patterns to boost your test automation
27mAutomated Web Acceptance Testing with Behat
50mBuilding Testable PHP Applications
49mTesting for the Brave and True
29mEffective tests and testing effectively
34mTesting APIs written in PHP using the Behat feature testing tool
45mBehat for characterisation on tests
40mPage Objects: Keep It Simple and Better!
