test(vaccinations): cover the immunization log end to end

Five Playwright flows over the built app, each asserting stable data-slot
attributes rather than viewport text: transcribe a catalogue pick with a lot
into its antigen group, a combination dose rendering under each of its three
component groups, the booster prompt minting a Vorsorge reminder that shows on
checkups and moves its due date when the next dose is logged, the module-off
redirect with the nav entry gone, and an axe pass over the list and the form.

The catalogue option gains a data-catalog-slug hook so a flow can pick an exact
antigen deterministically. The spec runs in a single project and serial, and
clears its own rows before each test, so a grouped verdict counts only what the
test wrote.
This commit is contained in:
Marc-André Bombeck committed 2026-08-08 23:00:29 +02:00
1 parent 958f3bc50a
commit a6a65719eb
4 files changed
+403

No files matched your search

@@ -116,6 +116,7 @@ export function CatalogPicker({
key={entry.slug}
type="button"
data-slot="vaccination-catalog-option"
data-catalog-slug={entry.slug}
onClick={() => {
onChange(entry.slug);
setOpen(false);