Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Automated Testing Kit

90 sites No security coverage Drupal 11 · not 10
View on drupal.org

Automated Testing Kit provides a collection of tests, utility functions, and support for accessibility and performance testing to streamline automated testing for Drupal sites using Cypress.io and Playwright. It includes pre-flight checks and ready-to-use tests for common Drupal functionalities and supports integration with other QA tools.

Almost 3-dozen useful tests, two-dozen useful utility functions, pre-flight checks, accessibility test support and performance test support for Cypress.io and Playwright.

Quick Start

Introducing Automated Testing Kit

Version 2.0 is ready! The module and tests have been upgraded for Drupal 11. Use version 1.3 if you want to add testing to a Drupal 10 site.

Version 2.1 is being prepared. 2.1 will have the first FedRAMP tests, Feed tests and more.

See this blog post for an introduction and the philosophy of the kit.

Join the #automated_testing_kit channel in the Drupal Slack workspace to get support.

Get a demo running quickly on your own machine with the Demo Recipe.

Some tests you'll find are:

  • logging in, logging out and registering new users
  • reset password
  • Contact Us form
  • 404, 403 tests
  • Caching
  • Entity creation, update and deletion tests (node, media, taxonomy, user)
  • Sitemap testing (using the XML Sitemap module)
  • Menus and
  • Search
  • FedRAMP compliance

You'll also find:

  • loads of convenience functions (i.e. getting usernames, Drupal UIDs, etc.)
  • integration with the QA Accounts module
  • executing Drush commands via aliases or to Pantheon via Terminus
  • pre-flight verification (checking that the target site is ready for testing)
  • multi-level debugging
  • accessibility testing support with the AXE library
  • performance testing support with Google Lighthouse
  • and hooks that make specifying selectors easy.

NOTE: We don’t recommend running Cypress or Playwright in a container, as accessing their GUIs is challenging. Instead, install them on the host OS, while using tools like DDEV, Lando, or Docksal for your Drupal installation. The demo recipe shows a typical installation.

We're always adding more tests; consider contributing if you have a great test others will find useful. The goal is to get a standard test for each key part of Drupal so that:

  • lots of the basics are already done for you
  • testers have examples they can modify quickly.

Bugs and New Features

Have you discovered a bug? Do you have a test or utility you can contribute? First check if there is already an issue; if there isn't, create one.

Check back for planned, new FedRAMP tests.

Getting Started with Automated Testing

Are you about to start a testing program on Drupal? Check out this 54-minute overview and best practices video from Stanford Web Camp 2023 called Setting up a Comprehensive Automated Testing Regime for Drupal using Cypress and Playwright (André Angelantoni, May, 2023).

Or watch Kickstarting End-to-End Testing at Stanford Neuroscience with Automated Testing Kit.

Unsure whether to use Cypress or Playwright? Watch Should I Choose Cypress or Playwright? from BADCamp 2024.

Additional videos:
H/t to these Drupalists from whom I got some functions for the module:

Ready to start your testing program?

We can help you set up your testing program with mentoring, test-writing and ongoing test maintenance for you in Cypress or Playwright. Learn what we offer.

Tools We Use

Thanks to the following companies:

  • Diffy for providing a free account of their Visual Regression tool (an excellent complement to your end-to-end user-journey/functional tests in Cypress or Playwright)
  • Testery.io for providing a free account of their capable test grid (for fast parallel testing)
  • Testiny.io for providing a free account of their sleek test case management system (part of their open-source program)
  • Tugboat QA for providing a free account of their time-saving preview platform.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
28
Tracked since
Nov 2024
Latest release
6 months ago
Releases (12 mo)
15 ▲ from 13
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
2.1.0-beta5 Pre-release 11 Feb 4, 2026
2.1.0-beta4 Pre-release 11 Jan 30, 2026
2.1.0-beta3 Pre-release 11 Jan 29, 2026
2.1.0-beta2 Pre-release 11 Jan 27, 2026
3.0.0-alpha9 Pre-release 11 Jan 19, 2026
3.0.0-alpha8 Pre-release 11 Jan 14, 2026
3.0.0-alpha7 Pre-release 11 Jan 14, 2026
3.0.0-alpha6 Pre-release 11 Jan 14, 2026
2.0.x-dev Dev 11 Oct 31, 2025
3.0.0-alpha5 Pre-release 11 Oct 29, 2025
3.0.0-alpha4 Pre-release 11 Oct 24, 2025
3.0.0-alpha3 Pre-release 11 Oct 23, 2025
3.0.0-alpha2 Pre-release 11 Oct 22, 2025
3.0.0-alpha1 Pre-release 11 Oct 16, 2025
3.0.0-alpha0 Pre-release 11 Oct 10, 2025
2.1.0-beta1 Pre-release 11 Aug 12, 2025
2.1.0-beta0 Pre-release 11 Aug 5, 2025
2.0.0 Stable 11 May 15, 2025
2.0.0-alpha5 Pre-release 11 May 14, 2025
2.0.0-alpha4 Pre-release 11 May 14, 2025
2.0.0-alpha3 Pre-release 11 May 14, 2025
2.0.0-alpha2 Pre-release 11 May 14, 2025
2.0.0-alpha1 Pre-release 11 Mar 23, 2025
1.3.0 Stable 10–11 Nov 30, 2024
1.3.0-beta4 Pre-release 10–11 Nov 18, 2024
1.3.0-beta3 Pre-release 10–11 Nov 18, 2024
1.3.0-beta2 Pre-release 10–11 Nov 17, 2024
1.3.0-beta1 Pre-release 10–11 Nov 16, 2024