Development Machine

This is typically a developer machine where the site and the tests are edited:

Extra Modules

These modules are optional; install the module if tests you want to run need it.

  • Pathauto. Tests custom URL aliases.
  • QA Accounts. Registration, login and password reset tests (ATK-XX-1000 series) require QA Accounts; add the module to your project or modify qaAccounts.txt to use your own accounts and do not install the QA Accounts module.
  • Webform. Test ATK-XX-1050 requires the Contact Us form from Webform; add to your project or modify the test to use your contact form and do not install the Webform module.
  • Redirect. Test URL redirection.
  • If you are going to test emails across the public internet or install a tool such as MailHog, you'll need a mailer such as Symfony Mailer. (The registration and forgot password tests send emails but don't test that they arrive at their destination.)
  • XML Sitemap. Tests ATK-XX-1070 ad ATK-XX-1071 require this module.

Target Drupal Server

The target server, which may be on Staging, Production or a preview furnished by Tugboat, has the same requirements as the Development Machine with these exceptions:

  • Cypress or Playwright are not required
  • Automated Testing Kit needs to be on the Target server for certain Drush commands and tests to work. For example is "(ATK-XX-1071) Regenerate sitemap files," uses the custom Drush command fprop and the entity tests need the hooks that inject node IDs (nids), vocabulary IDs (vids), taxonomy IDs (tids) and media IDs (mids) into HTML to run. If you do not want to install Automated Testing Kit on the target server, copy the fprop command and hooks to a custom module in your installation.

Cypress or Playwright

  • the minimum requirements to run Cypress or Playwright are Node JS version 18+ for Cypress or Playwright.