Repository navigation
test(web): seed a clean database before each end to end run - #16
Merged
Merged
Conversation
The suite carried state between runs, so a second run toggled reactions back off and asserted against data an earlier spec had changed.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughPlaywright now seeds ChangesPlaywright test setup
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This was referenced Jul 23, 2026
imshashank
added a commit
that referenced
this pull request
Aug 26, 2026
e2e/issues.spec.ts:89 took main red on d7df6fc against a tree byte identical to the branch head that had just passed the same gate, and a re-run of the unchanged commit went green. The ceiling was the test's own. The suite default has been 180s since #16, and 0c0b301 added a setTimeout of 120s to this one test, which lowers it, so the heaviest test in the suite had the shortest budget while its sibling in the same file kept 180s. It walks eight distinct routes that no earlier test reaches, and CI runs against a dev server, so it pays a first compile for each of them. It takes about 55s on a good run and hit exactly 2.0m on a bad one. It gets the default back.
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.
Adds a Playwright global setup that reseeds, so the suite no longer carries state between runs.