Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@nturgut
Copy link
Contributor

@nturgut nturgut commented Aug 13, 2020

increase_chrome_version, should be merged after recipe changes.

Note: currently used for testing the recipe.

fixes: flutter/flutter#63633

'drivers',
browser,
preferredChromeDriverVersion,
'${browser}driver-${io.Platform.operatingSystem.toString()}'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to append the operating system name? Is it possible to have drivers for different operating systems on the same computer? If not, then we can remove this part of the path because the name of the browser is already encoded in the path on line 46.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't change this name. I already created the cipd packages. This subdirectory is in the package.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually copied the naming from Chrome. When you download a chrome from chromium downloads and unzip, you will see the first directory would be chrome-linux or chrome-mac. We are following that naming.

@nturgut nturgut force-pushed the increase_chrome_version branch from 9a95181 to 5967fd7 Compare August 18, 2020 01:08
@nturgut nturgut requested a review from yjbanov August 18, 2020 01:46
@nturgut nturgut requested a review from yjbanov August 18, 2020 18:51
## Please refer to README's `Upgrade Browser Version` section for more details
## on how to update the version number.
required_driver_version:
## Make sure the major version of the binary in `browser_lock.yaml` is the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This no longer needs to refer to browser_lock.yaml as everything is in the same file. Instead it should point to the relevant keys in this file that need to be in sync with this value.

required_driver_version:
## Make sure the major version of the binary in `browser_lock.yaml` is the
## same for Chrome.
chrome: '84'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with geckodriver we should either move geckodriver under required_driver_version, or put chromedriver next to geckodriver without required_driver_version. The former is simpler than the latter.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed offline, reviewer will address the changes in a separate PR.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@nturgut nturgut added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Aug 19, 2020
@nturgut
Copy link
Contributor Author

nturgut commented Aug 19, 2020

Engine looks green on the dashboard. Merging the pr

@nturgut nturgut merged commit 74d32ec into flutter:master Aug 19, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 19, 2020
gspencergoog pushed a commit to gspencergoog/engine that referenced this pull request Aug 20, 2020
* update chrome version, should be merged after recipe changes

* changing directory to use chrome driver in LUCI

* changing directory path's order

* add cipd packages's chrome version for mac

* addressing reviewer comments

* more documentation. update readme

* remove late since it didn't build. remove distinction in paths for local and LUCI.

* addressing reviewer comments. (non-null fields needs rechanging)

* addressing reviewer comments. adding 2.6 on files missing the notation
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[web] [documentation] how to increase chrome version for web tests

3 participants