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

This commit is contained in:
2026-09-02 08:33:59 +02:00
parent 84a9978aa8
commit f209bf78ee
27 changed files with 1621 additions and 106 deletions
+3 -3
View File
@@ -40,11 +40,11 @@ test("streams, filters, correlates, and redacts the sample locally", async ({
).toBeVisible();
await page.getByLabel("Literal search").fill("timeout");
await expect(page.getByText(/1 of 4 retained records match/u)).toBeVisible();
await page.getByRole("tab", { name: "Correlation" }).click();
await page.getByRole("button", { name: "Correlation" }).click();
await expect(
page.getByRole("heading", { name: "Hourly timeline" }),
).toBeVisible();
await page.getByRole("tab", { name: "Redaction" }).click();
await page.getByRole("button", { name: "Redaction" }).click();
await expect(page.getByLabel("Redacted preview")).not.toContainText(
"ada@example.test",
);
@@ -77,7 +77,7 @@ test("serves release identity and hardened headers", async ({ request }) => {
const manifest = await request.get("/deep/nested/log/toolbox-app.json");
await expect(manifest.json()).resolves.toMatchObject({
id: "de.add-ideas.log-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/log/");
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);
});