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

feat(playwright): add big sur beta support #2793

Closed
wants to merge 1 commit into from
Closed

Conversation

p0x6
Copy link

@p0x6 p0x6 commented Jul 1, 2020

Adding mac10.16 to be supported. This is the macOS Big Sur beta version.

Begins to fix: #2789

Adding mac10.16 to be supported. This is the macOS Big Sur beta version.

Begins to fix: microsoft#2789
@ghost
Copy link

ghost commented Jul 1, 2020

CLA assistant check
All CLA requirements met.

Copy link
Member

@yury-s yury-s left a 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'],
Copy link
Member

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.

Copy link
Author

@p0x6 p0x6 Jul 1, 2020

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 :)

Copy link
Author

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'],
Copy link
Member

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?

Copy link
Author

@p0x6 p0x6 Jul 1, 2020

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.

@@ -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);
Copy link
Collaborator

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?

Copy link
Author

Choose a reason for hiding this comment

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

will remove this

@aslushnikov
Copy link
Collaborator

@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?

@p0x6
Copy link
Author

p0x6 commented Jul 2, 2020

@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.

@aslushnikov
Copy link
Collaborator

@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.

@aslushnikov aslushnikov closed this Jul 9, 2020
@mkleehammer
Copy link

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?

@vsgopinath
Copy link

Hey Playwright team,
I am just using the mac11.0 Big Sur Beta. Is it possible to have the support for Mac 11.0 too?
Thanks in advance

aslushnikov pushed a commit that referenced this pull request Oct 19, 2020
macOS 11.0 Big Sur was released as a preview on GitHub Actions: actions/runner-images#1781 (comment)

Closes #2789
Relates #2793
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] macOS Big Sur support
6 participants