test: update tests

This commit is contained in:
2026-09-13 13:07:10 +05:00
parent c2f3838485
commit d0857c5d45
11 changed files with 131 additions and 47 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ test.describe("known bugs — documented as fixme", () => {
await openTool(page, "resize-png");
await uploadImage(page, opaquePng);
await expect(page.locator("[role='alert']")).toHaveCount(0);
await expect(page.locator('img[alt="result"]')).toBeVisible();
await expect(page.locator('img[alt="Result image"]')).toBeVisible();
});
test.fixme("crop-png: upload produces a cropped result (no alert)", async ({
@@ -24,6 +24,6 @@ test.describe("known bugs — documented as fixme", () => {
await openTool(page, "crop-png");
await uploadImage(page, opaquePng);
await expect(page.locator("[role='alert']")).toHaveCount(0);
await expect(page.locator('img[alt="result"]')).toBeVisible();
await expect(page.locator('img[alt="Result image"]')).toBeVisible();
});
});