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

Add Playwright and Docker support for e2e tests #2037

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

abernier
Copy link
Member

@abernier abernier commented Jul 17, 2024

Related to #2035

Update e2e testing to use Playwright within a Docker container.

  • Dockerfile: Add a Dockerfile to create a Docker container for running Playwright tests using the mcr.microsoft.com/playwright image.
  • e2e.sh: Update the script to use Playwright instead of Puppeteer for end-to-end testing.
  • snapshot.test.js: Replace Puppeteer-specific code with Playwright code for taking screenshots and comparing them with previous snapshots.
  • package.json: Add Playwright as a dependency and remove Puppeteer.
  • release.yml: Update the GitHub Actions workflow to support running jobs in a Playwright Docker container.

For more details, open the Copilot Workspace session.

Copy link

vercel bot commented Jul 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drei ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 17, 2024 7:35pm

Copy link

codesandbox-ci bot commented Jul 17, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@abernier abernier merged commit ab5354c into pmndrs:master Jul 17, 2024
4 checks passed
Copy link

🎉 This PR is included in version 9.109.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant