mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
test: comprehensive GUI E2E for all 47 tools including 13 AI tools
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
// ========================================================================
|
||||
|
||||
Reference in New Issue
Block a user