mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
test(web): align unit + e2e expectations with section routes
This commit is contained in:
@@ -24,7 +24,7 @@ function _uploadMultipleFiles(page: import("@playwright/test").Page, filePaths:
|
||||
|
||||
test.describe("Batch processing preview and download", () => {
|
||||
test("batch adjust-colors shows image preview, not UUID text", async ({ loggedInPage: page }) => {
|
||||
await page.goto("/adjust-colors");
|
||||
await page.goto("/image/adjust-colors");
|
||||
|
||||
// Upload 2 images (PNG + JPG)
|
||||
const files = [getFixturePath("test-200x150.png"), getFixturePath("test-100x100.jpg")];
|
||||
@@ -66,7 +66,7 @@ test.describe("Batch processing preview and download", () => {
|
||||
});
|
||||
|
||||
test("batch adjust-colors with HEIC shows preview", async ({ loggedInPage: page }) => {
|
||||
await page.goto("/adjust-colors");
|
||||
await page.goto("/image/adjust-colors");
|
||||
|
||||
// Upload HEIC + PNG
|
||||
const heicPath = getTestHeicPath();
|
||||
@@ -101,7 +101,7 @@ test.describe("Batch processing preview and download", () => {
|
||||
loggedInPage: page,
|
||||
}) => {
|
||||
await page.goto("/brightness-contrast");
|
||||
await page.waitForURL("/adjust-colors");
|
||||
await page.waitForURL("/image/adjust-colors");
|
||||
await expect(page.getByText("Adjust Colors")).toBeVisible();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user