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

incompatibility with chrome-mink-driver #95

Open
drzraf opened this issue Dec 8, 2017 · 1 comment
Open

incompatibility with chrome-mink-driver #95

drzraf opened this issue Dec 8, 2017 · 1 comment

Comments

@drzraf
Copy link

drzraf commented Dec 8, 2017

See this issue: https://gitlab.com/DMore/chrome-mink-driver/issues/36
With config like:

  formatters:
    html:
      output_path: %paths.base%/tests/coverage
  extensions:
    DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
    Behat\MinkExtension:
      browser_name: chrome
    emuse\BehatHTMLFormatter\BehatHTMLFormatterExtension:
      name: html
      # don't generate Behat2
      renderer: Twig
      file_name: index
      print_args: true
      print_outp: true
      loop_break: true

I'm having quite consistent browser errors
Especially after switching chrome-mink-driver from 2.2.0 to 2.3.0
Maybe related to this trace (see above mentioned issue)
Catchable Fatal Error: Argument 1 passed to emuse\BehatHTMLFormatter\Formatter\BehatHTMLFormatter::onAfterExercise() must be an instance of Behat\Testwork\EventDispatcher\Event\AfterExerciseCompleted, instance of Behat\Testwork\EventDispatcher\Event\AfterExerciseAborted given in tests/vendor/emuse/behat-html-formatter/src/Formatter/BehatHTMLFormatter.php line 395
Even with other version dmore-chrome* extensions version, I can hit different failures (mostly Chrome timeout) when BehatHtmlFormatterPlugin is enabled.

@PurHur
Copy link
Collaborator

PurHur commented Jul 2, 2019

I'm using quiet the same configuration now and it works. Do you still have problems?

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