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

WRR-626: Updated puppeteer and wait-on dependencies to latest version #97

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

daniel-stoian-lgp
Copy link
Contributor

@daniel-stoian-lgp daniel-stoian-lgp commented Sep 13, 2024

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • At least one test case is included for this feature or bug fix
  • I have run automated testing and it is passed
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

Puppeteer needed upgrade to the latest version
wait-on needed upgrade to the latest version

Resolution

changelog for puppeteer-core: https://github.com/puppeteer/puppeteer/blob/main/packages/puppeteer-core/CHANGELOG.md
Updated puppeteer dependencies to latest version
Unfortunately, "ws" subdependency had to be pinned to an older version in order for the tests to work. This means that the security vulnerabilities could not be solved by this PR

Fot wait-on, there were no breaking changes affecting us https://github.com/jeffbski/wait-on/releases

Additional Considerations

executablePath is required to be added since puppteer19
headless:true was required because of this breaking change puppeteer/puppeteer#11815
jsdon-extended.js file was added because of a conflict between jsdom and new ReadableStreams introduced in puppeteer 22 puppeteer/puppeteer#11805 . Solution could be found here: mswjs/msw#1916 (comment)

Links

WRR-626

Comments

Enact-DCO-1.0-Signed-off-by: Daniel Stoian (daniel.stoian@lgepartner.com)

jsdom-extended.js Outdated Show resolved Hide resolved
@daniel-stoian-lgp daniel-stoian-lgp changed the title WRR-626: Updated puppeteer dependencies to latest version WRR-626: Updated puppeteer and wait-on dependencies to latest version Sep 20, 2024
Copy link
Contributor

@adrian-cocoara-lgp adrian-cocoara-lgp left a comment

Choose a reason for hiding this comment

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

LGTM 👍

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