feat: deliver the redesigned desktop workspace
Rebuild downloads, link collection, settings, history, and statistics around a responsive desktop shell with compact account and queue tables, contextual navigation, persistent update affordances, unified overlays, and accessible keyboard interactions. Add safe history-folder reveal IPC, responsive 2560/1920/1366/1120 coverage, deterministic visual fixtures, focused component regressions, and release-tree exclusions for internal working files. Bump the public application version to 2.0.13.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { renderToStaticMarkup } from "react-dom/server";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { Toast } from "../src/renderer/ui/Toast";
|
||||
|
||||
describe("Toast", () => {
|
||||
it("announces the current single toast politely", () => {
|
||||
const html = renderToStaticMarkup(<Toast message="Einstellungen gespeichert" />);
|
||||
|
||||
expect(html).toContain("role=\"status\"");
|
||||
expect(html).toContain("aria-live=\"polite\"");
|
||||
expect(html).toContain("Einstellungen gespeichert");
|
||||
});
|
||||
|
||||
it("renders nothing without a message", () => {
|
||||
expect(renderToStaticMarkup(<Toast message="" />)).toBe("");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user