Skip to content

renderPluginAt cannot render a plugin screen for a chosen tier #76

Description

@SirLouen

Current state: renderPluginAt in sdk/frontend/testing.tsx builds its own QueryClient and never seeds a session, so a plugin test that wants a screen rendered for a specific tier has to build its own provider instead. That path works today through seedSession and the canned sessions the testing module exports, so nothing is blocked, but the common case costs a provider every time. Proposal: give renderPluginAt an optional user parameter defaulting to the canned admin session. Trigger: the first plugin test that actually renders a screen differently for an admin and for a member.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions