New in 2.0.x.
Tests verify emails, by using of test email providers.
By default, Mailpit is enabled for DDEV installation.
Email provider that is used by tests is configured in playwright.atk.config.js / cypress.atk.config.js:
module.exports = {
...
email: {
// Configure email testing using Reroute Email but with Enable rerouting OFF,
// the module will be enabled, right before the test execution, and get back
// to the initial state, after test execution.
// reroute: {
// address: '<your namespace>.admin@inbox.testmail.app',
// allowed: '*@inbox.testmail.app',
// },
// Configure one of the test email providers:
// for Mailpit:
provider: 'mailpit',
url: 'http://{baseURL}:8025',
// for testmail.app:
// provider: 'testmail',
// namespace: '<your namespace>',
// apiKey: '<your API key>',
},