Skip to content

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

@lauriii

Description

@lauriii

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions