wip: checkpoint host working tree

Login-page gate, notification outbox dispatcher and cron, assignment
proposals/responses, coverage and training-guide updates, plus the generated
training PDFs. Checkpointed from the host before merging the invite-link fix.
This commit is contained in:
2026-11-22 17:42:51 +00:00
parent fac9b96cca
commit 55239ef1e9
41 changed files with 6873 additions and 455 deletions
+4 -7
View File
@@ -129,21 +129,18 @@ test.describe("event photo sharing", () => {
await page.getByLabel("Exposure").focus();
await page.getByLabel("Exposure").press("ArrowRight");
await page.getByRole("button", { name: "Save edited JPEG" }).click();
await expect(page.getByText("Full-resolution JPEG saved.")).toBeVisible({
timeout: 30_000,
});
// A successful save closes the editor and returns to the refreshed gallery.
await expect(page.getByRole("dialog")).toBeHidden({ timeout: 30_000 });
await expect(page.getByText("Edited", { exact: true })).toBeVisible();
const [download] = await Promise.all([
page.waitForEvent("download"),
page.getByRole("link", { name: "Download edited JPEG" }).click(),
page.getByRole("link", { name: "Download edited" }).click(),
]);
expect(download.suggestedFilename()).toBe("photo-edited.jpg");
const edited = await readFile((await download.path())!);
expect(edited.subarray(0, 3).toString("hex")).toBe("ffd8ff");
expect(edited.equals(PHOTO)).toBe(false);
await page.getByRole("button", { name: "Close photo editor" }).click();
await expect(page.getByText("Edited", { exact: true })).toBeVisible();
await expect(page.locator(`img[alt="${PHOTO_NAME}"]`)).toHaveAttribute(
"src",
/variant=edited/,