Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Feb 6, 2023

Summary

PR gh-5190 added support for running tests on Playwright WebKit in CI. For efficiency reasons, Playwright dependencies are only installed for the test:browser npm script. However, that same script is also used for Firefox ESR testing.

This change makes Playwright dependencies installed only for cases where WebKitHeadless exists on the list of tested browsers.

Ref gh-5190

Checklist

PR jquerygh-5190 added support for running tests on Playwright WebKit
in CI. For efficiency reasons, Playwright dependencies are only
installed for the `test:browser` npm script. However, that same
script is also used for Firefox ESR testing.

This change makes Playwright dependencies installed only for cases
where `WebKitHeadless` exists on the list of tested browsers.

Ref jquerygh-5190
@mgol mgol added this to the 3.7.0 milestone Feb 6, 2023
@mgol mgol self-assigned this Feb 6, 2023
@mgol mgol added the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Mar 15, 2023
@timmywil timmywil removed the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Mar 20, 2023
Copy link
Member

@timmywil timmywil left a comment

Choose a reason for hiding this comment

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

I like the added flexibility

@mgol mgol removed the Needs review label Mar 20, 2023
@mgol mgol merged commit e77bd9d into jquery:main Mar 20, 2023
@mgol mgol deleted the ci-install-playwright-only-when-needed branch March 20, 2023 16:13
mgol added a commit to mgol/jquery that referenced this pull request Mar 20, 2023
PR jquerygh-5190 added support for running tests on Playwright WebKit
in CI. For efficiency reasons, Playwright dependencies are only
installed for the `test:browser` npm script. However, that same
script is also used for Firefox ESR testing.

This change makes Playwright dependencies installed only for cases
where `WebKitHeadless` exists on the list of tested browsers.

Closes jquerygh-5204
Ref jquerygh-5190

(cherry picked from commit e77bd9d)
@mgol
Copy link
Member Author

mgol commented Mar 20, 2023

Landed on main in e77bd9d & on 3.x-stable in 212b6a4.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

2 participants