You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Mock external services in e2e tests (#1514)