Skip to content

Enable mocking e2e test data #1511

Closed
Closed

Description

@fennifith

Currently, the e2e screenshot tests depend on the dev server rendering the /posts/example post. This depends on a number of external APIs that can make it inconsistent between CI and local development.

We should create a config or dev mode that substitutes these services with mock data instead of the real backends. This includes:

  • /tasks/url-metadata on Hoof
  • /tasks/post-images on Hoof
  • the GitHub graphql endpoint
  • OEmbed providers / video embed data

The end result should be that /posts/example can be used in e2e tests without needing external internet access at all.

Activity

  1. moved this from Todo to In Progress in Playful Developmenton Jan 19, 2026
  2. self-assigned this
    on Jan 19, 2026
  3. added a commit that references this issue on Jan 19, 2026
    43dfac1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions