Getting mftf error after submitting.
When I try running locally (on windows)
mftf run:test AdminLoginSuccessfulTest --remove
I am getting
[Exception] File or path C not found
Any ideas how to fix it?
Hello @Instant Search +
Verify the MFTF directory is properly set in your mftf.yaml file.
Check the MAGENTO_BASE_URL in your mftf.env file to ensure it points to the correct local instance.
PHP: Magento 2.4.6 requires PHP 8.1.
Composer: Ensure you have the latest Composer version.
Ensure MFTF is Installed Correctly
composer require magento/magento2-functional-testing-framework --dev vendor/bin/mftf generate:tests
Correct the MFTF Command Syntax
If you’re running tests on Windows, replace the vendor/bin/mftf path with vendor\bin\mftf.bat:
vendor\bin\mftf.bat run:test AdminLoginSuccessfulTest --remove
Hope it helps !
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9