rspace-online/modules/rsocials/components
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
..
campaign-planner.css feat(rsocials): campaign planner polish 2026-04-16 16:13:20 -04:00
campaign-wizard.css fix(ui): theme-adaptive rSocials buttons + device link textbox 2026-03-25 11:39:14 -07:00
campaign-workflow.css fix(layout): viewport-filling rApp layout — eliminate body scroll 2026-03-31 10:57:09 -07:00
folk-campaign-manager.ts fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
folk-campaign-planner.ts test(rsocials): Playwright smoke suite + planner reliability fixes 2026-04-16 16:59:59 -04:00
folk-campaign-wizard.ts feat(rsocials): campaign planner polish 2026-04-16 16:13:20 -04:00
folk-campaign-workflow.ts feat(rsocials): connect drafted threads to campaign flows via picker dropdowns 2026-03-21 14:13:31 -07:00
folk-campaigns-dashboard.ts feat(rsocials): campaign planner polish 2026-04-16 16:13:20 -04:00
folk-newsletter-manager.ts fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
folk-thread-builder.ts fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
folk-thread-gallery.ts fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
newsletter.css fix(rsocials): replace hardcoded dark-mode colors with CSS variables for light/dark theme support 2026-03-21 13:18:13 -07:00
socials.css fix(rsocials): replace hardcoded dark-mode colors with CSS variables for light/dark theme support 2026-03-21 13:18:13 -07:00