From ff2d04309fcf7fd02117d77e3695f55f7600a901 Mon Sep 17 00:00:00 2001 From: "Hugo P.Brito" Date: Tue, 26 May 2026 09:11:35 +0200 Subject: [PATCH] test(ui): quarantine attack-paths-page browser suite for redesign The browser E2E suite asserts the pre-redesign default view (finding nodes rendered eagerly in the default graph, click-to-filter from findings). The new template-graph view replaces that default with a grouped structural view that excludes findings, so the existing flows do not apply. Quarantined with describe.skip until the suite is rewritten for the new UX. --- .../attack-paths-page.browser.test.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ui/app/(prowler)/attack-paths/(workflow)/query-builder/attack-paths-page.browser.test.tsx b/ui/app/(prowler)/attack-paths/(workflow)/query-builder/attack-paths-page.browser.test.tsx index 9e455a4b6d..fb0ce968a8 100644 --- a/ui/app/(prowler)/attack-paths/(workflow)/query-builder/attack-paths-page.browser.test.tsx +++ b/ui/app/(prowler)/attack-paths/(workflow)/query-builder/attack-paths-page.browser.test.tsx @@ -10,7 +10,21 @@ * If you find yourself reaching for a DOM query in a test, push it into the harness. */ -import { beforeEach, describe, expect, test as base, vi } from "vitest"; +import { + beforeEach, + describe as describeBase, + expect, + test as base, + vi, +} from "vitest"; + +// POC quarantine: these browser E2E tests assert the legacy attack-paths view, +// where every concrete resource and its findings render in the default graph. +// The template-graph POC replaces that default with a grouped "structure of the +// attack" view (one node per resource type + an outcome node, expandable on +// click) and omits finding nodes from the structural view, so these flows no +// longer apply. Skipped until the suite is rewritten for the new UX. +const describe = describeBase.skip; import { handlersForFixture } from "@/__tests__/msw/handlers/attack-paths"; import { worker } from "@/__tests__/msw/worker";