Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧪 Test Contribution
📝 Description
Which test did you add or modify? Link the related issue if applicable.
This pull request introduces end-to-end (e2e) testing with Playwright to the project, along with the necessary configuration and workflow integration. It also updates the
package.jsonto include Playwright as a development dependency and adds convenient scripts for running and viewing e2e tests.E2E Testing Integration:
playwright.config.tsto define test directories, parallelization, retries, reporting, and browser/device targets for e2e testing.package.jsonto add@playwright/testas a devDependency and included scripts for running, watching, and viewing Playwright e2e test reports (test:e2e,test:e2e:watch,show-report:e2e).CI Workflow Enhancements:
.github/workflows/ci.ymlto install Playwright browsers, run Playwright e2e tests, and upload test reports as CI artifacts. The workflow steps are now renumbered for clarity and e2e tests run before the build/lint pipeline.🎯 Test Type
npm run test:e2enpm run test:unit(in apps/api)npm run test:unit(in apps/web)✅ Checklist
📸 Screenshots / Trace (Optional)
If this is a UI test or complex flow, attach a screenshot or referencing the trace file.