-
Notifications
You must be signed in to change notification settings - Fork 332
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 broken integration tests #8299
Conversation
The changes seem reasonable to me (though I don't know if the intention is to land it with the additional debug logging), though seems they're still failing:
|
@DanTup this is ready for review. Removing the |
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.
LGTM!
'--web-browser-flag=--headless=old', | ||
'--web-browser-flag=--disable-search-engine-choice-screen', |
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.
Ah, that's how you can pass these through 😃
FYI @derekxu16, this looks very similar to the issues we were having with the DWDS testing. Do we need to pass any of these other flags? |
I think the DWDS checks are working fine now. If they start failing again then we should try passing these other flags. |
This PR adds flags to the
flutter drive
command for DevTools integration tests to support the latest version of chrome and chromedriver 128.Chrome has a new headless mode, so we needed to pass
--headless=old
to get the integration tests to function as usual. Following a suggestion from SeleniumHQ/selenium#14453 and sanger/sequencescape#4316, we also needed to add the--disable-search-engine-choice-screen
flag.At some point if flutter driver supports the new headless mode, we should be able to remove the flags here. Fixes #8301.