I am trying to add support for CrossBrowserTesting. (CBT)
When running my project I get this error:
When I go to the "Home" page # FeatureContext::iGoToThePage()
│
│
Expected to be on "https://www.google.com/" but found "" instead (SensioLabs\Behat\PageObjectExtension\PageObject\Exception\UnexpectedPageException)
I can't tell that there is any request making it to CBT. I don't see the Chrome browser starting up on my local machine.
I forked MinkExtension and added the Factory Driver: CrossBrowserTestingFactory.php and updated the MinkExtension.php appropriately.
Once I get this running I'll do a PR. But I do need help.
I am trying to add support for CrossBrowserTesting. (CBT)
When running my project I get this error:
I can't tell that there is any request making it to CBT. I don't see the Chrome browser starting up on my local machine.
I forked
MinkExtension
and added theFactory
Driver: CrossBrowserTestingFactory.php and updated theMinkExtension.php
appropriately.Once I get this running I'll do a PR. But I do need help.
I have a small example project that demonstrates my problem: [Mink Extension Project] (https://github.com/bartonhammond/MinkExtensionProject). It contains
behat.yml
that works locally just finebehat-cbt.yml
that attempts to run on CrossBrowserTesting.Just do following steps:
composer install
composer selenium-server
composer behat
orcomposer behat-cbt
The
behat-cbt
requiresuser
andkey
from CBT free trial . Edit the 'behat-cbt.yml` with the credentials.