我有 Magento 2.3,我想使用 Magento 功能测试框架 2.3 版,但是当我运行命令vendor/bin/mftf run:test AdminLoginTest
运行测试时,出现以下错误:
==== Redirecting to Composer-installed version in vendor/codeception ====
Fatal error: Uncaught Error: Call to undefined function Codeception\Lib\codecept_absolute_path() in /Users/hanhan/Deskto
p/workspace/magento2/vendor/codeception/codeception/src/Codeception/Lib/ParamsLoader.php:25
在文件 PramsLoader.php 中,codecept_absolute_path()
调用方法并给出错误,因为未定义此方法
$this->paramsFile = codecept_absolute_path($paramStorage);
我该如何解决这个问题?