Playwright tests for forms, menus and carts
š§ Listen to every article back to back
Automated testing does not need to start with a large suite. Forms, menus, search and carts are often enough for the first useful step.
What to test first
Playwright (opens in a new tab) is a good fit for testing real browser user journeys. In a Drupal project, the first test suite should cover the most important actions.
Start with:
- the contact form opens and validates fields;
- the menu works on mobile and desktop;
- search or filters return results;
- the cart adds and removes a product;
- a critical content page loads without JavaScript errors.
Why a small test is better than no test
A small, clear test suite creates value quickly. It does not cover everything, but it catches regressions that people forget to check manually after every update.
WebPro provides automated testing for Drupal projects. We usually connect Playwright tests with Drupal maintenance and controlled releases so updates do not move to production on hope alone.

Need Drupal help?
Send the website URL and a short context. We will tell you whether the sensible next step is an audit, maintenance, an upgrade or a migration.