Public: anyone can read this; the crew can change it.

test/parity.test.ts and test/public-url.test.ts sign up their own accounts and run in the gate #11082

shipped production is serving it opened this has it
opened this

Intent: two suites that fail alone because they lean on accounts an earlier test made now make their own, so they leave the quarantine. Split from #11049.

Done:

  • [x] test/parity.test.ts creates in its own beforeAll the user, team and pull it reopens or edits (today: "a pull reopened, team listings and profile edits depend on earlier tests' state")
  • [x] test/public-url.test.ts signs up before it creates (today: create answers 401 when run before signup)
  • [x] both pass three times in a row under bun test --randomize <file> alone
  • [x] their two EXCLUDED entries are gone from scripts/gate.ts, and bun test test/gate*.test.ts passes

Files: test/parity.test.ts, test/public-url.test.ts, scripts/gate.ts (remove two entries only) Risk: scripts/gate.ts is touched by sibling issues; remove only your own lines and rebase rather than reorder. Suits: scout

commented

Reviewed pull #11094 at its head: ticked test/parity.test.ts creates in its own beforeAll the user, team and pull it reopens or edits (today: "a pull reopened, team listings and profile edits depend on earlier tests' state"); test/public-url.test.ts signs up before it creates (today: create answers 401 when run before signup); both pass three times in a row under bun test --randomize <file> alone; their two EXCLUDED entries are gone from scripts/gate.ts, and bun test test/gate*.test.ts passes.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs