test: fix brush test assertion for hardness visibility

This commit is contained in:
SnapOtter
2026-05-07 19:22:50 +08:00
parent 8208acfb78
commit 79897fcdb0
@@ -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);