test cases · 71 runs across 3 browsers
An e-commerce site tested from every angle
playwright-ts-ecommerce
UI, API, visual and WCAG accessibility tests on an online shop, run on Chromium, Firefox and WebKit.
Projects
Six automation projects published on GitHub, each on a real application. A suite that runs on its own in continuous integration, a live report, documentation that explains every test. And real defects found along the way.
Six projects, six stacks
test cases · 71 runs across 3 browsers
playwright-ts-ecommerce
UI, API, visual and WCAG accessibility tests on an online shop, run on Chromium, Firefox and WebKit.
test cases · Chrome and Firefox
selenium-cucumber-parabank
Banking journeys written in Gherkin and automated with Selenium, with balances checked server-side before and after each transaction.
test cases · 2 defects found
cypress-orangehrm
A cross-browser Cypress suite on OrangeHRM, open-source HR software: UI, API and network stubs.
Postman assertions · 22 pytest tests · k6
postman-pytest-k6-petstore
Postman, pytest and k6 on the Petstore API: JSON contracts, data-driven tests and a load test up to 30 concurrent users.
tests · 4 defects confirmed
appium-webdriverio-mydemoapp
Native Android tests with Appium and WebdriverIO on an emulator in CI. Failure videos revealed 4 defects, including a crash.
tests · about 75 SQL queries
robotframework-prestashop
Robot Framework on PrestaShop 8.2: storefront, back office, REST API and MariaDB database. Four defects revealed, including one that blocks every order.
What the tests found
Writing the test for a user journey often means finding out it doesn’t work. A few examples among the ten defects found.
Defect found · PrestaShop
No carrier for the United Kingdom, payment restricted to the United Kingdom: the checkout test revealed it, an SQL query proved it.
Defect found · PrestaShop
The customers API returned password hashes and reset tokens. Spotted by comparing what the API returns with what the database holds.
Defect found · My Demo App
Checking calculated amounts, not just that elements are present, catches the defects that cost money.
Defect found · My Demo App
The test kept failing. The failure video showed the app was at fault, not the test.
Defect found · OrangeHRM
An error when leaving a loading page, invisible on Chrome: cross-browser tests are about far more than layout.
Defect found · PrestaShop
Unrelated products for a word that exists nowhere. Root cause isolated by comparing behaviour with and without a setting changed in SQL.
When the test itself is wrong
A green load test that sent no requests.
Be wary of a green result: a guard threshold now checks that the load actually happened.
A date test passing for the wrong reason: a one-hour gap between PHP and MySQL.
Make sure a test can really fail before trusting it.
Two parallel scenarios stepping on each other.
Understand parallel execution and isolate set-up in a @BeforeAll hook.
Bot protection blocking only some CI machines.
Tell an environment problem from a product defect, and say so in the report rather than hiding the failure.
A field wiped one run in two by an AJAX reload.
Wait for the network response rather than a fixed delay, then prove stability over three consecutive runs.
Toolbox
Every repository includes a README, an explanation of each test case and a live report regenerated on every run.
Preview mode: no booking is actually created.
Loading availability…
A confirmation email is on its way.
playwright-ts-ecommerce
UI, API, visual and WCAG accessibility tests on an online shop, run on Chromium, Firefox and WebKit.
automationexercise.com, a demo e-commerce site, and its REST API.
Live Allure report, Playwright HTML report, JUnit XML.
selenium-cucumber-parabank
Banking journeys written in Gherkin and automated with Selenium, with balances checked server-side before and after each transaction.
ParaBank, Parasoft’s demo online bank, and its REST API.
Live Allure report with every step and the attached HTTP requests, Cucumber HTML report, screenshots on failure.
cypress-orangehrm
A cross-browser Cypress suite on OrangeHRM, open-source HR software: UI, API and network stubs.
OrangeHRM, open-source HR software (public demo), and its REST API v2.
Self-contained Mochawesome HTML with embedded screenshots, one page per browser, JUnit XML.
postman-pytest-k6-petstore
Postman, pytest and k6 on the Petstore API: JSON contracts, data-driven tests and a load test up to 30 concurrent users.
Swagger Petstore v2, the reference REST API, run in a private container.
Newman htmlextra, pytest-html, k6 dashboard, JUnit XML.
appium-webdriverio-mydemoapp
Native Android tests with Appium and WebdriverIO on an emulator in CI. Failure videos revealed 4 defects, including a crash.
Sauce Labs’ My Demo App for Android, an open-source native e-commerce app.
Allure with a screenshot and a screen recording for every failed test, JUnit XML.
robotframework-prestashop
Robot Framework on PrestaShop 8.2: storefront, back office, REST API and MariaDB database. Four defects revealed, including one that blocks every order.
PrestaShop 8.2.9, an open-source e-commerce platform used by about 300,000 shops: storefront, back office, REST web service and MariaDB database.
report.html by suite and by tag, log.html with every SQL query and its result, xUnit XML.