feat(join): A4 — Join household (accept invite) #61
@@ -23,7 +23,7 @@
|
|||||||
<p class="mb-2 font-[var(--font-sans)] text-[11px] font-medium uppercase tracking-wide text-[var(--green-light)]">
|
<p class="mb-2 font-[var(--font-sans)] text-[11px] font-medium uppercase tracking-wide text-[var(--green-light)]">
|
||||||
Als Mitglied kannst du
|
Als Mitglied kannst du
|
||||||
</p>
|
</p>
|
||||||
<ul class="flex flex-col gap-1.5">
|
<ul aria-label="Als Mitglied kannst du" class="flex flex-col gap-1.5">
|
||||||
<li class="flex items-center gap-2 font-[var(--font-sans)] text-[13px] text-white">
|
<li class="flex items-center gap-2 font-[var(--font-sans)] text-[13px] text-white">
|
||||||
<span class="font-semibold text-[var(--green-light)]" aria-hidden="true">✓</span>
|
<span class="font-semibold text-[var(--green-light)]" aria-hidden="true">✓</span>
|
||||||
Wochenplan einsehen
|
Wochenplan einsehen
|
||||||
|
|||||||
@@ -31,4 +31,11 @@ describe('HouseholdIdentityPanel', () => {
|
|||||||
});
|
});
|
||||||
expect(screen.getByText('🥗')).toBeInTheDocument();
|
expect(screen.getByText('🥗')).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('permissions list has accessible name', () => {
|
||||||
|
render(HouseholdIdentityPanel, {
|
||||||
|
props: { householdName: 'Smith family', inviterName: 'Sarah' }
|
||||||
|
});
|
||||||
|
expect(screen.getByRole('list', { name: /als mitglied kannst du/i })).toBeInTheDocument();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user