lundi 4 janvier 2016

WebDriver: Current url is blank, no page was opened

We are trying to add testing as part of update deployment on our live site. The tests ran fine the last time we worked on them which was a week back but now all of them throw that error. We have tried to figure it out but haven't found anything worthwhile.

Example Output

Failed to check correct credentials in _001PlatformSignupCest::checkCorrectCredentials (tests\acceptance\_001PlatformSIgnupCest.php)


  [ModuleException] WebDriver: Current url is blank, no page was opened


Scenario Steps:

 3. $I->canSeeCurrentUrlEquals("/signup")
 2. $I->amOnUrl("http://ift.tt/1JSKTxb")
 1. $I->resizeWindow(1280,720)

Acceptance Configuration:

modules:
    enabled:
        - Asserts
        - WebDriver:
            url: http://ift.tt/22GDYCI
            browser: firefox
            http_proxy: direct
        - \Helper\Acceptance

Setup:

  • Laravel 5.1.28
  • Codeception 2.1.5
  • PhantomJS 2.0.0


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire