test: Sprachnotiz-Liste wartet auf die Geräteliste (Rennen im CI)
Backend Image / build-and-push (push) Successful in 22s
Frontend Image / build-and-push (push) Successful in 15m48s

Der Test las die Listeneinträge, sobald die Serverliste da war; die
Geräteliste aus IndexedDB kam im CI später. Er wartet jetzt auf
„Wartet auf Netz“, bevor er die Reihenfolge prüft.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Nick SzaunigandClaude Opus 5.5 committed 2026-10-16 12:43:32 +02:00
1 parent 92323197a7
commit fe1626b374
1 file changed
+3 -1
@@ -155,7 +155,9 @@ describe("VoiceListPage", () => {
}); });
renderPage(); renderPage();
const items = await screen.findAllByRole("listitem"); // The device list comes from IndexedDB and may arrive after the server list.
await screen.findByText("Wartet auf Netz");
const items = screen.getAllByRole("listitem");
expect(within(items[0]).getByText("B4")).toBeInTheDocument(); expect(within(items[0]).getByText("B4")).toBeInTheDocument();
expect(within(items[0]).getByText("Wartet auf Netz")).toBeInTheDocument(); expect(within(items[0]).getByText("Wartet auf Netz")).toBeInTheDocument();
expect(within(items[1]).getByText("B9")).toBeInTheDocument(); expect(within(items[1]).getByText("B9")).toBeInTheDocument();