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

This commit is contained in:
2026-09-02 09:45:57 +02:00
parent ed0acbf8c8
commit 320e7212ef
25 changed files with 1453 additions and 76 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ test("authors and re-inspects a patch without flashing state", async ({
}) => {
const external = await localOnly(page);
await page.goto("/deep/nested/git/");
await page.getByRole("tab", { name: "Author" }).click();
await page.getByRole("button", { name: "Author" }).click();
await page.getByLabel("After text").fill("alpha\nbeta\n");
await page.getByRole("button", { name: "Generate patch" }).click();
await expect(page.getByLabel("Generated patch")).toContainText("+alpha");
@@ -52,7 +52,7 @@ test("serves release identity and hardened headers", async ({ request }) => {
const manifest = await request.get("/deep/nested/git/toolbox-app.json");
await expect(manifest.json()).resolves.toMatchObject({
id: "de.add-ideas.git-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/git/");
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);
});