cancel
Showing results for 
Search instead for 
Did you mean: 

Magento Functional Testing Framework Installation

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Magento Functional Testing Framework Installation

Hi,

I'm trying to install Magento Functional Testing Framework on Magento 2.3. I downloaded & installed the magento from https://magento.com/tech-resources/download and installed MFTF as mentioned here https://devdocs.magento.com/mftf/docs/commands/mftf.html . I'm getting this error when I'm checking the MFTF version or when I generate the test.


PHP Warning: require_once(/var/www/html/magentoAprl30Web): failed to open stream: No such file or directory in /var/www/html/magentoAprl30Web/vendor/bin/mftf on line 21
PHP Fatal error: require_once(): Failed opening required '' (include_path='.:/usr/share/php') in /var/www/html/magentoAprl30Web/vendor/bin/mftf on line 21.

 

Even I installed the Magento using the composer and I install the MFTF. MFTF is getting installed and tests are generating but can't run the tests when I run it getting this error.


PHP Warning: array_merge(): Argument #1 is not an array in /var/www/html/magento23/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Util/ModuleResolver.php on line 215
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/magento23/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Util/ModuleResolver.php on line 343
PHP Notice: Could not parse any test in xml. in /var/www/html/magento23/vendor/magento/magento2-functional-testing-

framework/src/Magento/FunctionalTestingFramework/Test/Handlers/TestObjectHandler.php on line 137.

But when I clone the Magento from GitHub its working fine. Can anyone help Please