test: comprehensive GUI E2E for all 47 tools including 13 AI tools

This commit is contained in:
SnapOtter
2026-05-01 04:12:57 +08:00
parent 710b580cee
commit e071c2868b
5 changed files with 967 additions and 20 deletions
+13
View File
@@ -46,6 +46,12 @@ test.describe("GUI Layout Tools", () => {
// Spacing & Style section is open by default
await expect(page.getByText(/background/i).first()).toBeVisible();
});
test("submit button uses data-testid", async ({ loggedInPage: page }) => {
await page.goto("/collage");
await expect(page.getByTestId("collage-submit")).toBeVisible();
});
});
// ========================================================================
@@ -81,6 +87,13 @@ test.describe("GUI Layout Tools", () => {
await expect(page.getByText(/alignment|align/i).first()).toBeVisible();
});
test("submit button uses data-testid", async ({ loggedInPage: page }) => {
await page.goto("/stitch");
await uploadTestImage(page);
await expect(page.getByTestId("stitch-submit")).toBeVisible();
});
});
// ========================================================================