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

test(deps): replace Zombie by Puppeteer #1331

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

Kocal
Copy link
Member

@Kocal Kocal commented Sep 5, 2024

https://github.com/assaf/zombie is archived since december 2023, and its last release is from 4 years ago.

I've replaced it by https://github.com/puppeteer/puppeteer, a modern and maintained API to run and test code in a real browser (zombie used jsdom). I had to adapt requestTestPage to pass the browser as first argument, because I want to launch the browser only a single time (in before()).

@Kocal Kocal force-pushed the chore/replace-zombie branch from 24fc72b to 24757cf Compare September 5, 2024 09:21
@Kocal Kocal requested a review from stof September 5, 2024 09:35
.github/workflows/lint.yaml Outdated Show resolved Hide resolved
test/helpers/setup.js Outdated Show resolved Hide resolved
@Kocal Kocal force-pushed the chore/replace-zombie branch 2 times, most recently from 732d61a to 7eb7fe1 Compare September 6, 2024 05:35
Copy link
Member

@stof stof left a comment

Choose a reason for hiding this comment

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

You need to rebase to fix conflict on the yarn.lock file, but otherwise, things look fine.

@Kocal Kocal force-pushed the chore/replace-zombie branch from 7eb7fe1 to 39807a7 Compare September 6, 2024 15:09
@Kocal Kocal merged commit 90d4b21 into symfony:main Sep 6, 2024
28 checks passed
@Kocal Kocal deleted the chore/replace-zombie branch September 6, 2024 15:25
@stof stof mentioned this pull request Sep 7, 2024
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