We recommend that you turn off the Magento_TwoFactorAuth module for ease of testing or configure credentials: [Configuring two-factor authentication](https://developer.adobe.com/commerce/testing/functional-testing-framework/two-factor-authentication/)
To install the package, run the following commands:
composer require amasty/module-common-tests-mftf-3
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy (your locale)
To run the tests, run the following command:
In Magento Commerce:
vendor/bin/mftf run:group AmDef -r
In Open Source Magento:
vendor/bin/mftf run:group AmDefCE -r