Skip to content

Feat/add e2e tests#79

Merged
binit2-1 merged 2 commits intomainfrom
feat/add-e2e-tests
Jan 24, 2026
Merged

Feat/add e2e tests#79
binit2-1 merged 2 commits intomainfrom
feat/add-e2e-tests

Conversation

@binit2-1
Copy link
Owner

🧪 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.json to include Playwright as a development dependency and adds convenient scripts for running and viewing e2e tests.

E2E Testing Integration:

  • Added Playwright configuration file playwright.config.ts to define test directories, parallelization, retries, reporting, and browser/device targets for e2e testing.
  • Updated package.json to add @playwright/test as 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:

  • Modified .github/workflows/ci.yml to 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

  • 🟢 E2E (Root) - npm run test:e2e
  • 🟡 Unit (API) - npm run test:unit (in apps/api)
  • 🔵 Unit (Web) - npm run test:unit (in apps/web)

✅ Checklist

  • I have verified that the new test passed locally.
  • I have ensured that I didn't break existing tests.
  • (If E2E) I used the isolated test database mechanism.
  • I have cleansed any hardcoded secrets/IDs.

📸 Screenshots / Trace (Optional)

If this is a UI test or complex flow, attach a screenshot or referencing the trace file.

@vercel
Copy link

vercel bot commented Jan 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
composter-api Ready Ready Preview, Comment Jan 24, 2026 4:21pm
composter-web Ready Ready Preview, Comment Jan 24, 2026 4:21pm

@binit2-1 binit2-1 merged commit 95b6734 into main Jan 24, 2026
6 of 7 checks passed
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.

1 participant