-
Notifications
You must be signed in to change notification settings - Fork 11.9k
ci: update browsers tests to test supported browsers only #16855
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,33 +19,17 @@ exports.config = { | |
| multiCapabilities: [ | ||
| { | ||
| browserName: 'chrome', | ||
| version: '41', | ||
| version: '80', | ||
| tunnelIdentifier, | ||
| }, | ||
| { | ||
| browserName: 'chrome', | ||
| version: '75', | ||
| tunnelIdentifier, | ||
| }, | ||
| { | ||
| browserName: 'safari', | ||
| platform: 'OS X 10.11', | ||
| version: '9.0', | ||
| tunnelIdentifier, | ||
| }, | ||
| { | ||
| browserName: 'safari', | ||
| platform: 'OS X 10.12', | ||
| version: '10.1', | ||
| // This specific version is needed as otherwise it will not pass | ||
| // See: https://github.com/angular/angular-cli/issues/15084 | ||
| seleniumVersion: '3.4.0', | ||
| browserName: 'firefox', | ||
| version: '72', | ||
| tunnelIdentifier, | ||
| }, | ||
| { | ||
| browserName: 'safari', | ||
| platform: 'macOS 10.13', | ||
| version: '11.1', | ||
| browserName: 'firefox', | ||
| version: '68', // Latest Firefox ESR version | ||
| tunnelIdentifier, | ||
| }, | ||
| { | ||
|
|
@@ -55,18 +39,9 @@ exports.config = { | |
| tunnelIdentifier, | ||
| }, | ||
| { | ||
| browserName: 'firefox', | ||
| version: '48', | ||
| tunnelIdentifier, | ||
| }, | ||
| { | ||
| browserName: 'firefox', | ||
| version: '60', | ||
| tunnelIdentifier, | ||
| }, | ||
| { | ||
| browserName: 'firefox', | ||
| version: '68', | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Latest Firefox ESR version is 68: https://www.mozilla.org/en-US/firefox/68.4.2/releasenotes/
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't seem to support FireFox ESR https://angular.io/guide/browser-support#browser-support
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I’d consider it technically a latest version of Firefox; making Firefox essentially have two. The ESR latest version is used predominantly in corporate environments (intranet applications, etc.) due to its support and stability guarantees. @IgorMinar thoughts?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm fine adding it, but then we should also document it and add it to the test suite no the framework repo. |
||
| browserName: 'safari', | ||
| platform: 'macOS 10.15', | ||
| version: '13.0', | ||
| tunnelIdentifier, | ||
| }, | ||
| { | ||
|
|
@@ -81,12 +56,6 @@ exports.config = { | |
| version: '11', | ||
| tunnelIdentifier, | ||
| }, | ||
| { | ||
| browserName: "MicrosoftEdge", | ||
| platform: 'Windows 10', | ||
| version: "14.14393", | ||
| tunnelIdentifier, | ||
| }, | ||
| { | ||
| browserName: "MicrosoftEdge", | ||
| platform: 'Windows 10', | ||
|
|
||
This file was deleted.
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.
This was here to ensure that the nomodule polyfill works.
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 asked @IgorMinar if we should drop the polyfill in the first place since it’s an unsupported browser.
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.
Can we test the nomodules polyfill on ie?
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.
The polyfill is only used on Safari 10.1 (iOS Safari 10.3). That specific version is in the unique situation of supporting module scripts but not the nomodule attribute. This causes both sets of scripts (ES5 & ES2015) to be executed on page load. Both the version prior (10.0) and the version after (11.0) do not have this issue. Since 10.1 is technically out of the support range, the polyfill could be dropped and the polyfill script could be manually included by any application attempting to support 10.1. (script link: https://gist.github.com/samthor/64b114e4a4f539915a95b91ffd340acc)
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.
sounds good to me. let's drop it.