Skip to content

test(web): E2E test token expiry and refresh with short TTL #116

@crrow

Description

@crrow

Problem

Token expiry/refresh is the most critical security component but has zero E2E test coverage. TOKEN_TTL_SECONDS is configurable, so we can use a short TTL for testing.

Acceptance Criteria

  • Start backend with TOKEN_TTL_SECONDS=10
  • Upload video, start playback
  • Wait for token to expire (>10s)
  • Verify playback continues (token was refreshed) or fails gracefully with user-visible error
  • Playwright test documented in docs/guides/playwright-testing.md

Depends on: token refresh fix (issue above)

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:claudeWork done by Claude agentenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions