/** * Splash screen tests — logo, version, loading indicator, auto-dismiss. * * Note: The splash screen auto-fades once the app is ready. * These tests verify structure using display toggle (style:display). */ describe("Splash screen", () => { it("should have splash element in DOM", async () => { const splash = await $(".splash"); // Splash is always in DOM (display toggle), may already be hidden expect(await splash.isExisting()).toBe(true); }); it("should show the AGOR logo text", async () => { const logo = await $(".logo-text"); if (await logo.isExisting()) { expect(await logo.getText()).toBe("AGOR"); } }); it("should show version string", async () => { const version = await $(".splash .version"); if (await version.isExisting()) { const text = await version.getText(); expect(text).toMatch(/^v/); } }); it("should have loading indicator dots", async () => { const dots = await $$(".splash .dot"); if (dots.length > 0) { expect(dots.length).toBe(3); } }); });