cancel
Showing results for 
Search instead for 
Did you mean: 

MFTF tests navigating to wrong URL with redundant "/admin" in path

MFTF tests navigating to wrong URL with redundant "/admin" in path

I have set up and completed the necessary configuration for the MFTF tests according to the guide provided:
https://developer.adobe.com/commerce/testing/functional-testing-framework/getting-started

 

However, the only test I am able to run successfully is the AdminLoginSuccessfulTest. This is because whenever the test tries to navigate to another page, it appends an additional "/admin" subdirectory to the path, for example:
http://localhost/magento-site/admin/admin/catalog/category/
instead of:
http://localhost/magento-site/admin/catalog/category/

 

This causes the test to fail due to a 404 page not found error.


My setup for running the tests:
Magento Community Edition version 2.4.2
Windows 10
xampp
PHP 7.1.4
chrome driver
selenium-server-standalone-4.0.0-alpha-1.jar
Google Chrome - Version 117.0.5938.89

 

Please is there any solution that you can suggest for fixing this problem?

Thanks

1 REPLY 1

Re: MFTF tests navigating to wrong URL with redundant "/admin" in path

<a href=http://masnoonduain.com/">masnoonduain.com/</a>  Echoing the Sacred Symphony of Prayerful Hearts."