Skip to content

Commit 54f4b91

Browse files
disnetclaude
andcommitted
e2e: seed plan limits so settings plan card renders
The "displays plan info" test asserts `getByText('Feed subscriptions')`, which only renders inside the Plan card's `{#if auth.user.limits}` block. The fixture never seeded `limits`, so that block never rendered in e2e — the assertion was incidentally satisfied by the PDS-sync paragraph copy ("...store your feed subscriptions on your PDS...", matched case-insensitively as a substring). This PR reworded that copy to "feed list", removing the substring and breaking the test. Seed `limits` on the fixture user so the Plan card's usage rows actually render, making the test verify what it claims to. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 5b6e6af commit 54f4b91

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

e2e/fixtures.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ export const test = base.extend<TestFixtures>({
4141
did,
4242
handle,
4343
displayName: 'Test User',
44+
// Seed plan limits so the settings "Plan" card renders its
45+
// subscription/save usage rows (gated on `auth.user.limits`).
46+
limits: {
47+
maxSubscriptions: 100,
48+
maxUrlSavesPerMonth: 100,
49+
},
4450
},
4551
})
4652
);

0 commit comments

Comments
 (0)