Skip to content

ci: fix elements test on older browsers - #41324

Closed
gkalpak wants to merge 1 commit into
angular:masterfrom
gkalpak:ci-elements-fix-monitoring
Closed

gkalpak wants to merge 1 commit into
angular:masterfrom
gkalpak:ci-elements-fix-monitoring

Conversation

@gkalpak

@gkalpak gkalpak commented Mar 23, 2021

Copy link
Copy Markdown
Member

Some elements tests rely on window.customElements being available. On browsers where this was not present, the tests were skipped.

This commit includes the @webcomponents/custom-elements polyfill in order to be able to run all elements tests on older browsers, which do not natively support Custom Elements.

This, also, fixes the saucelabs_ivy and saucelabs_view_engine CI jobs (part of the monitoring workflow), which have been failing recently on IE 11 (probably due to the update to TS 4.2.3).

Some `elements` tests rely on `window.customElements` being available.
On browsers where this was not present, the tests were skipped.

This commit includes the `@webcomponents/custom-elements` polyfill in
order to be able to run all `elements` tests on older browsers, which do
not natively support Custom Elements.

This, also, fixes the [saucelabs_ivy][1] and [saucelabs_view_engine][2]
CI jobs (part of the `monitoring` workflow), which have been failing
recently on IE 11 (probably due to the update to TS 4.2.3).

[1]: https://circleci.com/gh/angular/angular/944291
[2]: https://circleci.com/gh/angular/angular/944289
@gkalpak gkalpak added area: build & ci Related the build and CI infrastructure of the project target: patch This PR is targeted for the next patch release area: elements Issues related to Angular Elements labels Mar 23, 2021
@ngbot ngbot Bot added this to the Backlog milestone Mar 23, 2021
@google-cla google-cla Bot added the cla: yes label Mar 23, 2021
@gkalpak
gkalpak force-pushed the ci-elements-fix-monitoring branch from 5337c53 to 38979d1 Compare March 23, 2021 18:06
@gkalpak

gkalpak commented Mar 23, 2021

Copy link
Copy Markdown
Member Author

BTW, you can see the previously failing jobs now passing here:

@mary-poppins

Copy link
Copy Markdown

@gkalpak
gkalpak marked this pull request as ready for review March 23, 2021 18:52
@gkalpak
gkalpak requested a review from josephperrott March 24, 2021 10:51

@josephperrott josephperrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@josephperrott josephperrott added the action: merge The PR is ready for merge by the caretaker label Mar 24, 2021
josephperrott pushed a commit that referenced this pull request Mar 24, 2021
Some `elements` tests rely on `window.customElements` being available.
On browsers where this was not present, the tests were skipped.

This commit includes the `@webcomponents/custom-elements` polyfill in
order to be able to run all `elements` tests on older browsers, which do
not natively support Custom Elements.

This, also, fixes the [saucelabs_ivy][1] and [saucelabs_view_engine][2]
CI jobs (part of the `monitoring` workflow), which have been failing
recently on IE 11 (probably due to the update to TS 4.2.3).

[1]: https://circleci.com/gh/angular/angular/944291
[2]: https://circleci.com/gh/angular/angular/944289

PR Close #41324
@gkalpak
gkalpak deleted the ci-elements-fix-monitoring branch March 24, 2021 15:33
TeriGlover pushed a commit to TeriGlover/angular that referenced this pull request Apr 5, 2021
Some `elements` tests rely on `window.customElements` being available.
On browsers where this was not present, the tests were skipped.

This commit includes the `@webcomponents/custom-elements` polyfill in
order to be able to run all `elements` tests on older browsers, which do
not natively support Custom Elements.

This, also, fixes the [saucelabs_ivy][1] and [saucelabs_view_engine][2]
CI jobs (part of the `monitoring` workflow), which have been failing
recently on IE 11 (probably due to the update to TS 4.2.3).

[1]: https://circleci.com/gh/angular/angular/944291
[2]: https://circleci.com/gh/angular/angular/944289

PR Close angular#41324
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Apr 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project area: elements Issues related to Angular Elements cla: yes target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants