amasty/module-common-tests-hyva-mftf-3

Test Basics MFTF v. 3.x.x Compatibility Hyva by Amasty Team

1.2.0 2023-05-31 13:12 UTC

This package is auto-updated.

Last update: 2024-11-30 01:57:57 UTC


README

Specific module for basic compatibility MFTF with Hyva.

Installation

Pre-conditions

  1. 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/
  2. Install and enable Hyva for global level:
    1. Install Hyva Theme: https://docs.hyva.io/hyva-themes/getting-started/index.html
    2. Open “Content -> Design -> Configuration” in Admin Area Magento Store.
    3. Choose “Global” Design Configuration and set “Default Hyva” in “Applied Theme” dropdown.
    4. Click to “Save Configuration”.
  3. Install and enable Hyva Luma Checkout: https://docs.hyva.io/checkout/luma-checkout/installing-luma-checkout.html

Instruction

To install the package, run the following commands:

composer require amasty/module-common-tests-hyva-mftf-3
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy (your locale)

To run tests it is necessary

Run a special command for correct operation of the waits when you are running any tests

bin/magento amasty-mftf:hyva:waiting-update

Run tests

To run the tests, run the following command:

Magento Commerce:
vendor/bin/mftf run:group AmDef -r

Open Source Magento:
vendor/bin/mftf run:group AmDefCE -r