rspace-online/e2e/tests
Jeff Emmett 68648608a9 test(rsocials): Playwright smoke suite + planner reliability fixes
Adds e2e/tests/rsocials-campaign-flow.spec.ts — 13 tests covering the
unified campaign flow UX: dashboard → planner navigation, brief canvas
node (+ preview banner), markdown import modal, wizard handoff, and
API shape. 36 passed / 3 AI-skipped across chromium/firefox/mobile.

Bug fixes uncovered by the suite:
- markDownstreamStale only redraws when a node actually flips stale,
  so typing in an input node no longer destroys the open inline-edit
  overlay.
- executeSave wraps the local-first write in try/catch and nulls the
  client on failure, so a half-initialised client (WS down, IDB
  unavailable) falls through to localStorage instead of throwing
  "Document not open".
- init-failure path also nulls the client so the first save after a
  failed subscribe doesn't hit a doc that was never opened.

Test infra:
- server/security.ts + server/index.ts honour DISABLE_RATE_LIMIT=1
  (and NODE_ENV=test) to bypass HTTP rate limiter and anon WS-per-IP
  cap so the suite can run under 8 parallel workers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-16 16:59:59 -04:00
..
api.spec.ts feat: add Playwright E2E test suite for all 25 rApps 2026-03-11 22:21:14 -07:00
auth.spec.ts feat: add Playwright E2E test suite for all 25 rApps 2026-03-11 22:21:14 -07:00
demo-modules.spec.ts feat: add Playwright E2E test suite for all 25 rApps 2026-03-11 22:21:14 -07:00
landing.spec.ts feat: add Playwright E2E test suite for all 25 rApps 2026-03-11 22:21:14 -07:00
navigation.spec.ts feat: add Playwright E2E test suite for all 25 rApps 2026-03-11 22:21:14 -07:00
rsocials-campaign-flow.spec.ts test(rsocials): Playwright smoke suite + planner reliability fixes 2026-04-16 16:59:59 -04:00
shell.spec.ts feat: add Playwright E2E test suite for all 25 rApps 2026-03-11 22:21:14 -07:00
space-creation.spec.ts feat: add Playwright E2E test suite for all 25 rApps 2026-03-11 22:21:14 -07:00
space-members-api.sh test(spaces): add API test script for space creation & member management 2026-03-16 21:15:52 -07:00