[issues/542] Drop preconditions: and steps: from automated QA YAML entries#589
Conversation
…s: the integration tests are now the source of truth.
|
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 (6)
💤 Files with no reviewable changes (1)
WalkthroughThis PR updates QA test classification logic to treat integration tests as the canonical source for setup and prompts in automated and assisted scenarios, eliminating duplication and drift by omitting ChangesQA Test Classification and Documentation Alignment
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsStopped waiting for pipeline failures after 30000ms. One of your pipelines takes longer than our 30000ms fetch window to run, so review may not consider pipeline-failure results for inline comments if any failures occurred after the fetch window. Increase the timeout if you want to wait longer or run a Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ QA Coverage OK No user-visible changes were found in the PR; it primarily consists of documentation updates and clarifications regarding the QA process. Generated by QA Gap Check (GPT-4o-mini via GitHub Models) |
CI / Integration Tests (with extensions) — run summary
|
CI / Test & Validate — run summary
|
|
@CodeRabbit review - #589 (comment) reported a problem |
🧩 Analysis chainLet me fetch the referenced comment to understand the reported problem. 🏁 Script executed: Length of output: 23381
I'll kick off a fresh review now to ensure pipeline results are captured. ✅ Actions performedReview triggered.
|
Summary
Removes duplicated
preconditions:andsteps:blocks from every QA YAML test case markedautomated: trueorautomated: assisted(256 of 269 entries). For those TCs the integration test insrc/__integration-tests__/suite/is the canonical source of setup and actions; keeping a second copy in YAML invited drift. Manual TCs (automated: false) keep both fields intact because the YAML remains their only source of instructions.Changes
qa/qa-test-cases-v1.1.0.yaml: strippedpreconditions:andsteps:from 143automated: trueand 113automated: assistedentries; kept all 13automated: falseentries fully detailed. Rewrote the header schema comment to enumerate all threeautomatedvalues, documentlabels:, and explain that preconditions/steps live only on manual TCs.scripts/generate-qa-test-plan.sh: updated the inlineHEADER=template (lines 64-79) to match the new schema doc so v1.2.0+ YAML files inherit the corrected wording.TESTING.md: added a short subsection after theautomatedfield table explaining thatpreconditions:/steps:are only present onautomated: falseentries and must be deleted when a TC flips from false to true/assisted..claude/skills/qa-suggest/SKILL.md: Step 6 now offers two YAML templates (manual form with preconditions/steps, automated/assisted form without); Step 4 ignorespreconditions:/steps:removal as v1.1.0 schema-migration noise so the next /qa-suggest run does not flag all 256 carried-forward TCs as Changed.Test Plan
pnpm test— 1925/1925 unit tests passpnpm fix+pnpm lint:fix— cleannode scripts/resolve-qa-labels.js --yaml qa/qa-test-cases-v1.1.0.yaml ...— TC counts unchanged (143 / 113 / 13)pnpm test:release:automated— recommend running locally before merge; not run herePre-existing Issue (not in scope)
pnpm validate:qa-coveragereports one mismatch on the currentorigin/main:terminal-picker-006isautomated: falsein YAML but has an integration test in the suite. Verified pre-existing (confirmed bygit stash+ re-running the validator on the unmodified base). PR #586 (issues/574, squash-merged as02669f39) flipped this TC tofalsewithout removing the corresponding integration test. Worth a separate issue to either re-flip the YAML or remove the test.Related
Closes #542
Summary by CodeRabbit
Documentation
Chores