Troubleshooting in the Magento Functional Testing Framework

This topic was updated due to the 2.0.2 MFTF release.

WebDriver issues

PhantomJS

Inability to upload file input using the MFTF actions, giving the following exception:

[Facebook\WebDriver\Exception\NoSuchDriverException]
No active session with ID e56f9260-b366-11e7-966b-db3e6f35d8e1

Reason

Use of PhantomJS is not actually supported by the MFTF.

Solution

For headless browsing, the Headless Chrome has better compatibility with the MFTF.

Chrome

Screenshot with the exception

Reason

Chrome v62 is in the process of being rolled out, and it causes an error with ChromeDriver v2.32+.

Solution

Use ChromeDriver v2.33+ and Selenium Server Standalone v3.6.0+ in order to execute tests in Google Chrome v62+.

Firefox

Tests that use the moveMouseOver action cause an error when run locally.

Reason

There’s a compatibility issue with Codeception’s moveMouseOver function and GeckoDriver/Firefox.

Solution

None yet. Solving this problem is dependent on a GeckoDriver fix.