chore(frontend+e2e): fehlende testids an Dashboard, Sidebar, Toast und Personenliste ergaenzt #264
No reviewers
Labels
No labels
component/backend
component/docs
component/e2e
component/frontend
component/infra
component/keycloak
prio/high
prio/low
prio/medium
type/bug
type/chore
type/feature
type/refactor
type/test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
WompSchmiede/FamilienFeierPlaner!264
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-260"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Allgemein
Issue #260 — Fehlende testids an Dashboard, Sidebar, Toast und Personenliste ergaenzen
Issue #261 — Dashboard headings + Sidebar userinfo ersetzt
Branch:
issue-260(7 Commits)Altes Verhalten
data-testid, E2E-Tests nutztengetByRole('heading')getByTexterreichbarerror-alert.sveltewurde direkt in 11 Dateien importiertNeues Verhalten
$lib/components/toast.svelte) mit 3 Varianten:success— border-success/50 bg-success/10 (data-testid:toast-success)primary— border-primary/50 bg-primary/10 (data-testid:toast-success)error— border-destructive/50 bg-destructive/10 inkl. Icon + onRetry (data-testid:toast-error)<Toast>ersetzt,error-alert.svelteist interner Wrapperheading-next-event,heading-open-rsvps,heading-personstext-sidebar-name,text-sidebar-email,text-sidebar-role,text-sidebar-sessionheading-group-{slug},text-member-count-{id}auf Gruppen-HeaderngetByTestIdstattgetByText/getByRolein base, persons.max.mustermann, group-createBegruendung
Stabilere E2E-Selektoren, konsistente Darstellung von Erfolgs-/Fehlermeldungen, Eliminierung von dupliziertem Inline-Markup.
Commit-Uebersicht
32bee8647ddcc48f055eb16b1163af9e2b2b15b1a3b90a58fTest-Hinweise
npm run testim Frontend: 925 Tests, alle gruennpm run lintim Frontend: eslint + check-testid passnpm run test:integration:parallel: erfolgreich (alle passed)Checkliste
scripts/check-testid.mjserfolgreich