amasty / module-common-tests-mftf-3
Amasty 团队开发的 MFTF v. 3.x.x 测试基础
1.11.0
2023-05-31 12:59 UTC
Requires
- php: >=7.3
- ext-dom: *
- magento/magento2-functional-testing-framework: ^3.0
This package is auto-updated.
Last update: 2024-08-30 01:55:21 UTC
README
包含 31 个特定测试,用于检查 Amasty 扩展与基本 Magento 功能的结合。
安装
前置条件
安装 MFTF:[入门](https://developer.adobe.com/commerce/testing/functional-testing-framework/getting-started/)我们建议您关闭 Magento_TwoFactorAuth 模块以简化测试或配置凭据:[配置双因素认证](https://developer.adobe.com/commerce/testing/functional-testing-framework/two-factor-authentication/)
说明
要安装此包,请运行以下命令
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 (你的语言环境)
运行测试
要运行测试,请运行以下命令
在 Magento Commerce 中
vendor/bin/mftf run:group AmDef -r
在开源 Magento 中
vendor/bin/mftf run:group AmDefCE -r