Skip to content

Commit 35fe4f5

Browse files
test: fix vulnerability count (#828)
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
1 parent 52fdc56 commit 35fe4f5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

e2e/tests/ui/pages/sbom-details/vulnerabilities/donutchart.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ test.describe("DonutChart validations", { tag: "@tier1" }, () => {
1616

1717
await expect(page.locator("#legend-labels-0")).toContainText("Critical: 0");
1818
await expect(page.locator("#legend-labels-1")).toContainText("High: 2");
19-
await expect(page.locator("#legend-labels-2")).toContainText("Medium: 14");
20-
await expect(page.locator("#legend-labels-3")).toContainText("Low: 0");
19+
await expect(page.locator("#legend-labels-2")).toContainText("Medium: 13");
20+
await expect(page.locator("#legend-labels-3")).toContainText("Low: 1");
2121
await expect(page.locator("#legend-labels-4")).toContainText("None: 0");
2222
await expect(page.locator("#legend-labels-5")).toContainText("Unknown: 0");
2323
});

e2e/tests/ui/pages/sbom-list/columns.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ test.describe("Columns validations", { tag: "@tier1" }, () => {
3737
},
3838
{
3939
severity: "medium",
40-
count: 14,
40+
count: 13,
41+
},
42+
{
43+
severity: "low",
44+
count: 1,
4145
},
4246
];
4347

0 commit comments

Comments
 (0)