Install and Configure Playwright for the Dashboard
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 58/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, node.js, playwright, typescript
Research direction
Start with the root package.json and workspace setup to see how dependencies, scripts, and checks are configured; then inspect the Node server startup and test database options. Add the Playwright configuration, deterministic test data setup, smoke test, and ignored artifact paths described in the issue. Done means the smoke test runs against a test database and the listed typecheck, test, and lint commands pass.
Written by the indexing model from the issue text.
Description
Goal
Install and configure Playwright for the dashboard E2E suite so npm run test:e2e runs a browser test locally.
Background
The README claims Codra uses "Playwright browser tests", but Playwright is not installed and no config exists. This sub-issue sets up the foundation; the actual flows are covered in sibling sub-issues.
This sub-issue is part of the parent issue: Playwright E2E test suite for core dashboard flows.
What to Build
- Install
@playwright/testas a dev dependency in the root workspace - Create
playwright.config.tsat the repository root withbaseURL: http://localhost:3000 - Configure the
webServeroption to launch Codra's Node server against a test database, or document a pre-started server workflow - Create a seeded test data strategy (seeded jobs, repos, findings) so tests are deterministic
- Add a
test:e2escript topackage.json - Add
test-results/andplaywright-report/to.gitignore
Done When
-
npm run test:e2elaunches Playwright and opens a browser against the local server - One smoke test passes (e.g. landing page renders the login screen)
- Config uses a test database so runs do not touch real data
- New artifacts are gitignored
-
npm run typecheck,npm test, andnpm run lintall pass
- Dominant language
- TypeScript
- Stars
- 125
- Forks
- 23
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 12
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from devarshishimpi/codra
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
devarshishimpi/codra#178 ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
devarshishimpi/codra#176 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 4/5 3-5 days Newbie friendliness 48/100
devarshishimpi/codra#186 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 4/5 3-5 days Newbie friendliness 55/100
devarshishimpi/codra#185 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 3/5 1-2 days Newbie friendliness 62/100
devarshishimpi/codra#183 ·
Maintainers usually reply within 1 day
All issues in devarshishimpi/codra
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
hemilabs/ui-monorepo#2711 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
code-yeongyu/senpi#6929 ·
Maintainers usually reply within 1 day
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 72/100
lingdojo/kana-dojo#34261 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
embedpdf/embed-pdf-viewer#1116 ·
Maintainers usually reply within 1 day
-
current task
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Sunday-School-Software/Sunday-School-Scheduler#87 ·
Maintainers usually reply within 1 day