Warn on small picture candidates
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user