Release Calendar Tools 0.2.0
Verify / verify (push) Canceled after 0s

This commit is contained in:
2026-09-02 11:20:48 +02:00
parent 47fbaba0b7
commit 1a741d6802
25 changed files with 1499 additions and 137 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ test("keeps prior inspection on failure and diagnoses a DST overlap", async ({
await page.getByLabel("iCalendar source").fill("broken");
await page.getByRole("button", { name: "Inspect calendar" }).click();
await expect(page.getByRole("alert")).toBeVisible();
await page.getByRole("tab", { name: "Timezone" }).click();
await page.getByRole("button", { name: "Timezone" }).click();
await page.getByRole("button", { name: "Diagnose" }).click();
await expect(
page.getByText(/Overlap: this local time occurs 2 times/u),
@@ -55,7 +55,7 @@ test("serves release identity and hardened headers", async ({ request }) => {
const manifest = await request.get("/deep/nested/calendar/toolbox-app.json");
await expect(manifest.json()).resolves.toMatchObject({
id: "de.add-ideas.calendar-tools",
version: "0.1.0",
version: "0.2.0",
entry: "./",
privacy: { processing: "local", telemetry: false },
});
+18
View File
@@ -0,0 +1,18 @@
import { expect, test } from "@playwright/test";
test("keeps the primary workspace inside a narrow viewport", async ({
page,
}) => {
await page.goto("/deep/nested/calendar/");
await expect(page.locator("main").first()).toBeVisible();
await expect(
page.locator("main .loading, main .workbench-loading"),
).toHaveCount(0);
const widths = await page.evaluate(() => ({
content: document.documentElement.scrollWidth,
viewport: document.documentElement.clientWidth,
}));
expect(widths.viewport).toBeLessThanOrEqual(430);
expect(widths.content).toBeLessThanOrEqual(widths.viewport + 1);
});