PR: #434: test(bdd): park forums create archive slice [Story-1748] by @ankitmaheshwari-com
View PR →
Story-1748 · pramaan-app · BDD

Forums create/archive scenarios are authored, bound, and parked

This story adds the next forums proving slice without pretending the Atlas page-operation path is shipped. The scenarios are living documentation now; they are excluded from the green Playwright suite.

Scenario Status

Scenario Status Reason
Atlas creates a confirmed forum ⏳ pending (Atlas-blocked) The scenario waits for Atlas to operate the Forums page through the shipped path.
Atlas archives a forum without deleting it ⏳ pending (Atlas-blocked) Archive must use the reversible forum update path, not deletion.

What changed

Feature file

tests/e2e/features/forums-create-archive.feature captures create and archive in business language and tags the feature @pending.

Step stubs

tests/steps/playwright-bdd-wiring.steps.ts binds every new sentence. If someone forces the pending slice to run, the stubs mark it fixme instead of producing false evidence.

Runner exclusion

playwright.config.ts applies grepInvert: /@pending/ to the BDD project, so the pending scenarios never execute in the required green suite.

Archive Boundary

The documented archive path is the existing forum update mutation: useAppUpdateForum({ availability: "archived" }). The feature deliberately says archive, restore, and not deleted; it does not describe a delete operation.

Verification Commands

pnpm exec tsc --noEmit
pnpm run lint
pnpm run check:gherkin
pnpm run check:scenario-ids
pnpm exec bddgen
PLAYWRIGHT_SKIP_WEB_SERVER=1 pnpm exec playwright test --project=webkit-bdd --list

The list command is the proof that the green BDD project sees only non-pending tests after tag inversion.

Files changed

7 file(s), +123 / -13 lines

Path Role + -
.github/workflows/ci.ymlWorkflow+6-4
playwright.config.tsSource+3-1
scripts/bdd/check-features.tsScript+9-2
scripts/bdd/check-gherkin.tsScript+8-3
scripts/bdd/check-scenario-ids.tsScript+6-2
tests/e2e/features/forums-create-archive.featureTest+24-0
tests/steps/playwright-bdd-wiring.steps.tsTest+67-1