Repository navigation
test(e2e): add Playwright dashboard smoke setup - #187
devarshishimpi merged 13 commits into
Conversation
There was a problem hiding this comment.
Codra Review
✅ Nothing to flag. Reviewed 8 files (266 changed lines) and found no issues worth raising.
Reviewed commit: c73f7144e4
ℹ️ About Codra in GitHub
Your team has set up Codra to review pull requests in this repo. Reviews are triggered when you:
- Open a pull request for review
- Mark a draft as ready
Every review posts a summary here. A clean pass also gets a 👍 on the pull request itself.
|
Hey! @ADAMDEV01 I'll require you to sign the CLA and complete the PR format first in order to review the PR. |
There was a problem hiding this comment.
Codra Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 34e4933b1c
ℹ️ About Codra in GitHub
Your team has set up Codra to review pull requests in this repo. Reviews are triggered when you:
- Open a pull request for review
- Mark a draft as ready
If Codra has suggestions, it will comment; otherwise it will react with 👍.
There was a problem hiding this comment.
Codra Review
✅ Nothing to flag. Reviewed 8 files (284 changed lines) and found no issues worth raising.
Note
1 candidate did not survive the evidence and claim gates — see the dashboard for what was dropped and why.
Reviewed commit: f862b212eb
ℹ️ About Codra in GitHub
Your team has set up Codra to review pull requests in this repo. Reviews are triggered when you:
- Open a pull request for review
- Mark a draft as ready
Every review posts a summary here. A clean pass also gets a 👍 on the pull request itself.
|
Thanks for the contribution! LGTM. If you find the project useful, a star on the repo would help others find it too. |
Description
Adds a dedicated Playwright smoke-test setup for the Codra dashboard without changing the existing Vitest/JSDOM test suite.
Fixes #184.
@playwright/test, pinned to 1.65.1, and keeps browser tests in a separateplaywright/directory.baseURL: http://localhost:3000, browser artifact output, and awebServerlauncher for Codra's Node server..env.e2e.exampleand launcher that loads the isolated test environment, generates a throwaway GitHub App key, disables the review worker and telemetry, and starts the Node dev server.npm run test:e2escript, ignores Playwright artifacts, and documents the disposable PostgreSQL/Redis setup.Type of change
How Has This Been Tested?
The following checks were completed:
node --check scripts/start-e2e-server.mjssuccessfully before the latest error-cause change.The full dependency install, typecheck, lint, and browser run have not yet been completed in this environment. The documented local command is
npm run test:e2e. The smoke test does not require database migrations or seeded rows; PostgreSQL and Redis are isolated local services.Checklist: