Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test coverage to ensure that all basic starter routes render correct revisions #101

Open
lauriii opened this issue Aug 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@lauriii
Copy link
Contributor

lauriii commented Aug 8, 2022

We should add test coverage to ensure that both preview and non-preview mode load correct revisions of entities in all routes. This includes individual pages rendered with [..slug].ts and pages that list multiple entities.

The intended behavior is that on preview mode when the user is authenticated, all of the routes should render the latest revision, even if it's not public. When the user is not authenticated, the latest public revision should be rendered instead.

@lauriii lauriii added the enhancement New feature or request label Aug 8, 2022
@lauriii lauriii added this to the 1.0 General Availability milestone Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant