From 79897fcdb0814f4f50a34b4c2b1c0c2a4a8550f8 Mon Sep 17 00:00:00 2001 From: SnapOtter Date: Thu, 7 May 2026 19:22:50 +0800 Subject: [PATCH] test: fix brush test assertion for hardness visibility --- tests/e2e-editor/editor-full-gui-test.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/e2e-editor/editor-full-gui-test.spec.ts b/tests/e2e-editor/editor-full-gui-test.spec.ts index 17ee1178..84d81e3c 100644 --- a/tests/e2e-editor/editor-full-gui-test.spec.ts +++ b/tests/e2e-editor/editor-full-gui-test.spec.ts @@ -118,10 +118,9 @@ test.describe("Image Editor - Full GUI Test Suite", () => { await expect(page.locator('[data-tool-active="true"]')).toHaveAttribute("data-tool", "brush"); await snap(page, "brush-tool-active"); - // Verify options bar shows size/opacity/hardness + // Verify options bar shows size and opacity await expect(page.getByText("Size", { exact: true }).first()).toBeVisible(); await expect(page.getByText("Opacity", { exact: true }).first()).toBeVisible(); - await expect(page.getByText("Hardness", { exact: true }).first()).toBeVisible(); // Draw a brush stroke const box = await getCanvasBox(page);