Warn on small picture candidates

This commit is contained in:
2026-08-06 00:24:03 +02:00
parent 0987edd112
commit b5a69050e0
6 changed files with 33 additions and 8 deletions
+2 -1
View File
@@ -229,7 +229,8 @@ test("picture candidates show source, dimensions, target assignment and save act
await expect(page.locator("#sourceModal")).toBeVisible();
await expect(page.locator(".picture-candidate-title").first()).toHaveText("Hudy picture #1");
await expect(page.locator(".picture-candidate-dimensions").first()).toContainText("Size:");
await expect(page.locator(".picture-candidate-dimensions").first()).toContainText("too small, min 800 x 800");
await expect(page.locator(".picture-candidate").first()).toHaveClass(/is-too-small/);
await expect(page.locator(".picture-candidate-target").first()).toContainText("Target: color Carbon/Malibu Blue");
await expect(page.locator(".picture-candidate-save")).toHaveCount(2);
await expect(page.locator("#sourceBatchActionButton")).toBeVisible();