Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codeception acceptance tests hang with latest chrome #3642

Closed
fimdomeio opened this issue Oct 25, 2016 · 1 comment
Closed

Codeception acceptance tests hang with latest chrome #3642

fimdomeio opened this issue Oct 25, 2016 · 1 comment

Comments

@fimdomeio
Copy link

What are you trying to achieve?

Running acceptance tests with chromedriver

What do you get instead?

Provide console output if related. Use -vvv mode for more details.

There's no relevant output... browser opens page and nothing else happens

Provide test source code if related

 public function SuccessLoginWithUsername(\AcceptanceTester $I) {
    $I->wantTo('Login as a Redacted with username');
    $I->amOnPage('/en/login');
does not go any further from this....

Details

  • Codeception version: 2.2.5
  • PHP Version: 5.6.21
  • Operating System: Mac OS
  • Installation type: Composer
  • Chrome Version: 54.0.2840.71
  • List of installed packages (composer show)
 behat/gherkin                      v4.4.4 Gherkin DSL parser for PHP 5.3
  codeception/codeception            2.2.5  BDD-style testing framework
  doctrine/instantiator              1.0.5  A small, lightweight utility to i...
  facebook/webdriver                 1.2.0  A PHP client for WebDriver
  fzaninotto/faker                   v1.6.0 Faker is a PHP library that gener...
  guzzlehttp/guzzle                  6.2.2  Guzzle is a PHP HTTP client library
  guzzlehttp/promises                1.2.0  Guzzle promises library
  guzzlehttp/psr7                    1.3.1  PSR-7 message implementation
  myclabs/deep-copy                  1.5.4  Create deep copies (clones) of yo...
  phpdocumentor/reflection-common    1.0    Common reflection classes used by...
  phpdocumentor/reflection-docblock  3.1.1  With this component, a library ca...
  phpdocumentor/type-resolver        0.2
  phpspec/prophecy                   v1.6.1 Highly opinionated mocking framew...
  phpunit/php-code-coverage          4.0.1  Library that provides collection,...
  phpunit/php-file-iterator          1.4.1  FilterIterator implementation tha...
  phpunit/php-text-template          1.2.1  Simple template engine.
  phpunit/php-timer                  1.0.8  Utility class for timing
  phpunit/php-token-stream           1.4.8  Wrapper around PHP's tokenizer ex...
  phpunit/phpunit                    5.6.2  The PHP Unit Testing framework.
  phpunit/phpunit-mock-objects       3.4.0  Mock Object library for PHPUnit
  psr/http-message                   1.0.1  Common interface for HTTP messages
  psr/log                            1.0.2  Common interface for logging libr...
  sebastian/code-unit-reverse-lookup 1.0.0  Looks up which function or method...
  sebastian/comparator               1.2.0  Provides the functionality to com...
  sebastian/diff                     1.4.1  Diff implementation
  sebastian/environment              1.3.8  Provides functionality to handle ...
  sebastian/exporter                 1.2.2  Provides the functionality to exp...
  sebastian/global-state             1.1.1  Snapshotting of global state
  sebastian/object-enumerator        1.0.0  Traverses array structures and ob...
  sebastian/recursion-context        1.0.2  Provides functionality to recursi...
  sebastian/resource-operations      1.0.0  Provides a list of PHP built-in f...
  sebastian/version                  2.0.0  Library that helps with managing ...
  symfony/browser-kit                v3.1.5 Symfony BrowserKit Component
  symfony/console                    v3.1.5 Symfony Console Component
  symfony/css-selector               v3.1.5 Symfony CssSelector Component
  symfony/debug                      v3.1.5 Symfony Debug Component
  symfony/dom-crawler                v3.1.5 Symfony DomCrawler Component
  symfony/event-dispatcher           v3.1.5 Symfony EventDispatcher Component
  symfony/finder                     v3.1.5 Symfony Finder Component
  symfony/polyfill-mbstring          v1.2.0 Symfony polyfill for the Mbstring...
  symfony/yaml                       v3.1.5 Symfony Yaml Component
  webmozart/assert                   1.1.0  Assertions to validate method inp..
  • Suite configuration:
class_name: AcceptanceTester
modules:
    enabled:
        - WebDriver:
            url: 'http://localhost:8080/'
            browser: chrome
            port: 9515
        - \Helper\Acceptance

Probably it's note codeception error but just want to report to others who might be having the same problem. I'm having a lot of trouble finding the root cause of this.
I'm running chromedriver with chromedriver --url-base=wd/hub
Hangs with latest chrome.
Installed chrome v. 53.0.2785.116 from some shady unofficial website... problem is gone.

@fimdomeio
Copy link
Author

Problem happens in mac OS Sierra. Solved by SeleniumHQ/selenium#2824 . Check sakharovmaksim comment.
Not a codeception error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants