Drupal Module
End-to-end testing utilities for Drupal — with Cypress and Playwright.
Automated Testing Kit bundles reusable tests and helpers for the things every Drupal site needs to verify: login flows, user creation, entity CRUD, Drush commands, and more. Pick your framework — Cypress or Playwright — and start testing in minutes.
Read the introduction → Install
What's inside
- Auth & user flows — login, logout, registration, password reset, user creation and deletion via Drush.
- Entity helpers — media, node, taxonomy, and menu creation; cache and search validation.
- Drush integration — execute Drush commands via aliases or against Pantheon via Terminus. Useful for setup and teardown.
- QA Accounts module awareness — preflight tests verify the test environment before the suite runs.
- Reporter — consolidated test reporting across Cypress and Playwright runs.
Two parallel sets of libraries ship with the module — one for Cypress, one for Playwright — so you can adopt either stack without rewrites. Runs on native macOS/Linux against a DDEV, Lando, or Docksal-hosted Drupal.