10

I am new to MTF. I have followed the magento2 tutorial based on the following link

But When I am running the command

vendor/bin/phpunit

I am getting the following error -

Fatal error: Uncaught PHPUnit_Extensions_Selenium2TestCase_WebDriverException: nable to create new service: ChromeDriverService Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22 693Z' System info: host: 'WTW-HP', ip: '192.168.0.31', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '10.0.2'

Driver info: driver.version: unknown in C:\wamp64\www\magento2252\dev\tests\func tional\vendor\phpunit\phpunit-selenium\PHPUnit\Extensions\Selenium2TestCase\Driv er.php:165 Stack trace:

0 C:\wamp64\www\magento2252\dev\tests\functional\vendor\phpunit\phpunit-seleniu

m\PHPUnit\Extensions\Selenium2TestCase\Driver.php(71): PHPUnit_Extensions_Seleni um2TestCase_Driver->curl('POST', Object(PHPUnit_Extensions_Selenium2TestCase_URL ), Array)

1 C:\wamp64\www\magento2252\dev\tests\functional\vendor\phpunit\phpunit-seleniu

m\PHPUnit\Extensions\Selenium2TestCase\SessionStrategy\Isolated.php(67): PHPUnit _Extensions_Selenium2TestCase_Driver->startSession(Array, Object(PHPUnit_Extensi ons_Selenium2Test in C:\wamp64\www\magento2252\dev\tests\functional\vendor\phpun it\phpunit-selenium\PHPUnit\Extensions\Selenium2TestCase\Driver.php on line 165

My goal is to learn the MTF and integrate the tests in My custom module

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.