fix(frontend): show person name inline in mobile status cell in TrainingHistory

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-17 20:52:08 +02:00
committed by marcel
parent 5e4f031537
commit 8860f17129
2 changed files with 7 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ describe('TrainingHistory — type and person columns', () => {
render(TrainingHistory, { runs: [run], personNames: { 'person-1': 'Karl Müller' } });
await expect.element(page.getByText(/Personalisiert/i)).toBeInTheDocument();
await expect.element(page.getByText('Karl Müller')).toBeInTheDocument();
// Name appears in both the mobile inline span and the desktop table cell
await expect.element(page.getByText('Karl Müller').first()).toBeInTheDocument();
});
});