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

chore: Add puppeteer-core dependency #66

Merged
merged 1 commit into from
Feb 21, 2025
Merged

chore: Add puppeteer-core dependency #66

merged 1 commit into from
Feb 21, 2025

Conversation

just-boris
Copy link
Member

Description

Fixing this build issue: https://github.com/cloudscape-design/chat-components/actions/runs/13394949739/job/37411525211?pr=42

puppeteer-core is an optional peer dependency of webdriverio, typically not needed, but in this use-case we depend on it for taking screenshots, so need to be installed

Related links, issue #, if available: n/a

How has this been tested?

PR build passes (aka fails with a different known error)

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -114,6 +114,7 @@
"lodash-es": "^4.17.21",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"puppeteer-core": "^22.15.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

The latest is 24.x, I set it to 22.x to be in sync with what webdriverio wants: https://github.com/webdriverio/webdriverio/blob/main/packages/webdriverio/package.json#L105

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.20%. Comparing base (e3f4378) to head (8fe74a0).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   99.20%   99.20%           
=======================================
  Files          28       28           
  Lines         251      251           
  Branches       30       30           
=======================================
  Hits          249      249           
  Misses          1        1           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@just-boris just-boris marked this pull request as ready for review February 20, 2025 14:55
@just-boris just-boris requested a review from a team as a code owner February 20, 2025 14:55
@just-boris just-boris requested review from johannes-weber and removed request for a team February 20, 2025 14:55
@just-boris just-boris added this pull request to the merge queue Feb 21, 2025
Merged via the queue into main with commit 09a931e Feb 21, 2025
38 of 39 checks passed
@just-boris just-boris deleted the upgrade-vitest branch February 21, 2025 10:47
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.

2 participants