-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(playwright): add big sur beta support #2793
Conversation
Adding mac10.16 to be supported. This is the macOS Big Sur beta version. Begins to fix: microsoft#2789
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.
Thanks for your contribution!
@@ -84,6 +86,7 @@ function getDownloadUrl(browserName: BrowserName, platform: BrowserPlatform): st | |||
['mac10.13', undefined], | |||
['mac10.14', '%s/builds/webkit/%s/minibrowser-mac-10.14.zip'], | |||
['mac10.15', '%s/builds/webkit/%s/minibrowser-mac-10.15.zip'], | |||
['mac10.16', '%s/builds/webkit/%s/minibrowser-mac-10.15.zip'], |
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.
I believe this requires a dedicated build similar to 10.14. We shouldn't provide a link for now unless it's working.
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.
tested on my big sur beta dev machine :)
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.
it could change when the actual big sur release is out.
@@ -73,6 +74,7 @@ function getDownloadUrl(browserName: BrowserName, platform: BrowserPlatform): st | |||
['mac10.13', '%s/builds/firefox/%s/firefox-mac.zip'], | |||
['mac10.14', '%s/builds/firefox/%s/firefox-mac.zip'], | |||
['mac10.15', '%s/builds/firefox/%s/firefox-mac.zip'], | |||
['mac10.16', '%s/builds/firefox/%s/firefox-mac.zip'], |
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.
I don't have a Big Sur machine at hand. Does our current binary just work on 10.16?
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.
it does. just upgraded my dev machine to big sur yesterday. :)
which is why i opened this pr.
utils/check_availability.js
Outdated
@@ -20,7 +20,7 @@ const browserFetcher = require('../lib/install/browserFetcher.js'); | |||
const https = require('https'); | |||
const SUPPORTER_PLATFORMS = ['linux', 'mac', 'win32', 'win64']; | |||
|
|||
const fetcherOptions = SUPPORTER_PLATFORMS.map(platform => platform === 'mac' ? 'mac10.15' : platform); | |||
const fetcherOptions = SUPPORTER_PLATFORMS.map(platform => platform === 'mac' ? 'mac10.16' : platform); |
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.
I believe this is not really needed?
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.
will remove this
@p0x6 Thank you for the PR! Just to re-iterate: do I understand correctly that all our Chromium, Firefox and WebKit actually work for you on Big Sur? |
You are correct. I am running playwright tests on Big Sur beta (mac10.16) with my changes. Using the current binaries. I am not sure if it will be the case when Big Sur is officially released as mac11.0, but as of now the beta works. |
@p0x6 we discussed this offline with the team. It was decided that we can't add BigSur without bots support, and currently there are no BigSur machines in either of the CI providers we use. So I'll have to refrain from merging this; we'll probably get back to this in fall once BigSur is officially released. |
Is the reason just support? There are a lot of devs on the beta. Couldn't we merge this with a warning on the console that Big Sur is not officially supported? |
Hey Playwright team, |
macOS 11.0 Big Sur was released as a preview on GitHub Actions: actions/runner-images#1781 (comment) Closes #2789 Relates #2793
Adding mac10.16 to be supported. This is the macOS Big Sur beta version.
Begins to fix: #2789