mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
test: expand test coverage across all layers (+1,157 tests)
Fix 2 failing unit tests (landing hero text mismatch) and broken coverage tooling (brace-expansion v5 override breaking minimatch). Add ~1,097 new test cases via 14-agent parallel expansion: - Unit: +290 tests (AI bridge, image-engine, stores, API helpers) - Integration: +504 tests (all tools, cross-format matrix, adversarial) - E2E: +363 tests (navigation, tool UI, batch/pipeline, settings, visual regression, accessibility, performance, cross-browser) Total: 4,223 unit + 6,057 integration + 1,563 E2E = 11,843 tests
This commit is contained in:
@@ -906,8 +906,8 @@ test.describe("GUI Essential Tools", () => {
|
||||
if (!box) return;
|
||||
|
||||
// Get initial crop X/Y values
|
||||
const initialX = await page.locator("#crop-x").inputValue();
|
||||
const initialY = await page.locator("#crop-y").inputValue();
|
||||
const _initialX = await page.locator("#crop-x").inputValue();
|
||||
const _initialY = await page.locator("#crop-y").inputValue();
|
||||
|
||||
// Perform a drag on the crop canvas to create/modify crop region
|
||||
await page.mouse.move(box.x + box.width * 0.2, box.y + box.height * 0.2);
|
||||
@@ -917,8 +917,8 @@ test.describe("GUI Essential Tools", () => {
|
||||
await page.waitForTimeout(500);
|
||||
|
||||
// After dragging, the numeric inputs should have updated
|
||||
const newX = await page.locator("#crop-x").inputValue();
|
||||
const newY = await page.locator("#crop-y").inputValue();
|
||||
const _newX = await page.locator("#crop-x").inputValue();
|
||||
const _newY = await page.locator("#crop-y").inputValue();
|
||||
const newWidth = await page.locator("#crop-width").inputValue();
|
||||
const newHeight = await page.locator("#crop-height").inputValue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user