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

Behat firefox log error. #781

Closed
xgitxhubx opened this issue Dec 15, 2017 · 3 comments
Closed

Behat firefox log error. #781

xgitxhubx opened this issue Dec 15, 2017 · 3 comments

Comments

@xgitxhubx
Copy link

On Firefox, error after test success:

[WebDriver\Exception\UnknownCommand]                                                                               
  POST /session/7507fa69-83b3-4c9d-8b51-c5950dc85dde/log did not match a known command                               
  Build info: version: '3.8.1', revision: '6e95a6684b', time: '2017-12-01T19:05:32.194Z'                             
  System info: host: 'x-OptiPlex-3040', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.10.0-42  
  -generic', java.version: '1.8.0_151'                                                                               
  Driver info: org.openqa.selenium.firefox.FirefoxDriver                                                             
  Capabilities {acceptInsecureCerts: false, browserName: firefox, browserVersion: 57.0.1, javascriptEnabled: true,   
  moz:accessibilityChecks: false, moz:headless: false, moz:processID: 28215, moz:profile: /tmp/rust_mozprofile.ho7Q  
  ru..., moz:webdriverClick: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion  
  : 4.10.0-42-generic, rotatable: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}}                   
  Session ID: 7507fa69-83b3-4c9d-8b51-c5950dc85dde

https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/TestFrameworkBundle/Behat/Listener/JsLogSubscriber.php#L96

The FirefoxDriver is not configured to capture JS console output.
SeleniumHQ/selenium#1161
Can we catch this exception?

@spolischook
Copy link

Hi, @xgitxhubx .
Thank you for reporting the issue! We greatly appreciate all contributions to Oro projects.
I created internal task to fix this problem (INTERNAL ID: BAP-16260).

@spolischook
Copy link

actually it fixed, you can check fix in few hours and close issue.

@xgitxhubx
Copy link
Author

@spolischook
Thanks, it's fixed.

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

No branches or pull requests

2 participants