Blog View As Home Tasks

Detailed Task ListURL copied

TASK-BLOG_VIEW_AS_HOME-004: Add tests for homepage feed, preview, and RBAC rulesURL copied

  • Type: Task
  • Epic: BLOG_VIEW_AS_HOME
  • Sprint: Sprint 1
  • Points: 3
  • Assignee: Junior
  • Assigned to:
  • Depends on: TASK-BLOG_VIEW_AS_HOME-002, TASK-BLOG_VIEW_AS_HOME-003
  • Description: Add tests that prove the feed is newest-first, the %% more %% preview logic behaves correctly, the 5-block fallback works, and RBAC hides unauthorized items. Follow §Testing Strategy and keep the assertions at the behavior level.
  • Decision budget:
    • Junior can decide: test fixtures, sample markdown content, and assertion style.
    • Escalate to TL/PTL: any fixture or test change that implies a product-rule interpretation rather than a straight verification.
  • Acceptance criteria:
    • Task
      Tests cover %% more %% truncation.
    • Task
      Tests cover 5-block fallback previews.
    • Task
      Tests cover newest-first ordering and RBAC hiding.
  • Definition of Done:
    • Task
      Jira ticket updated to Done
    • Task
      Tests passing per §Testing Strategy
    • Task
      PR reviewed and merged to module branch
    • Task
      Relevant doc section updated if behavior changed