-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Fix Chrome tests on windows #16688
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
Fix Chrome tests on windows #16688
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
…eams" This reverts commit b2dc91f. After adding `--enable-chrome-logs` argument, the tests started failing on Windows, e.g. `ChromeDriverFunctionalTest`. I don't know why.
15e1f5b to
65419ac
Compare
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
@Delta456 @diemol @cgoldberg (after many hours trying to install Bazel on Windows) I finally could reproduce the problem.
I don't know why, but this argument causes the Chrome failure. |
Delta456
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's investigate why it doesn't work on windows later
User description
🔗 Related Issues
Fixes #16687
💥 What does this PR do?
Fixes the failing Chrome tests on Windows.
🔄 Types of changes
PR Type
Bug fix
Description
Reverts
--enable-chrome-logsargument that caused test failures on WindowsRemoves the problematic flag from ChromeDriver argument list
Updates test expectations to reflect removal of the flag
Diagram Walkthrough
File Walkthrough
ChromeDriverService.java
Remove --enable-chrome-logs from ChromeDriver argumentsjava/src/org/openqa/selenium/chrome/ChromeDriverService.java
--enable-chrome-logsargument from thecreateArgs()methodChromeDriverServiceTest.java
Update test expectations for removed flagjava/test/org/openqa/selenium/chrome/ChromeDriverServiceTest.java
logLevelLastWins()test to remove--enable-chrome-logsfromexpected arguments
ignoreFalseLogging()test to remove the flag from expectedarguments