- Install MFTF: https://developer.adobe.com/commerce/testing/functional-testing-framework/getting-started/
We recommend that you turn off the Magento_TwoFactorAuth module for ease of testing or configure credentials: https://developer.adobe.com/commerce/testing/functional-testing-framework/two-factor-authentication/ - Install and enable Hyva for global level:
- Install Hyva Theme: https://docs.hyva.io/hyva-themes/getting-started/index.html
- Open “Content -> Design -> Configuration” in Admin Area Magento Store.
- Choose “Global” Design Configuration and set “Default Hyva” in “Applied Theme” dropdown.
- Click to “Save Configuration”.
- Install and enable Hyva Luma Checkout: https://docs.hyva.io/checkout/luma-checkout/installing-luma-checkout.html
To install the package, run the following commands:
composer require amasty/module-common-tests-hyva-mftf-3php bin/magento setup:upgradephp bin/magento setup:di:compile php bin/magento setup:static-content:deploy (your locale)Run a special command for correct operation of the waits when you are running any tests
bin/magento amasty-mftf:hyva:waiting-updateTo run the tests, run the following command:
Magento Commerce:vendor/bin/mftf run:group AmDef -rOpen Source Magento:
vendor/bin/mftf run:group AmDefCE -r-> Multi Warehouse Inventory for Magento 2
-> Meta Tags Templates for Magento 2
-> Mega Menu for Magento 2
-> Mass Product Actions for Magento 2
-> Mass Order Actions for Magento 2
-> Cross-Sell / Upsell Products for Magento 2
-> Order Status for Magento 2
-> Login as Customer for Magento 2
-> Customers Also Bought for Magento 2
-> Facebook Feed for Magento 2
-> Custom Checkout Fields for Magento 2
-> Loyalty Program for Magento 2
-> Lite Layered Navigation for Magento 2
-> Lazy Load for Magento 2
-> SEO Toolkit
-> Automatic Related Products
-> Loyalty Program
-> Image Optimization