Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 029cbb2

Browse files
a-orenAdva Oren
andauthored
add license explorer feature file (#60)
Licenses Display from Single SBOM feature test Co-authored-by: Adva Oren <aoren@aoren-thinkpadp1gen7.raanaii.csb>
1 parent 14dbb42 commit 029cbb2

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Feature: SBOM Explorer – View and Filter Package Licenses
2+
As a platform Eng
3+
I want to be able to view the licenses in specific SBOM when viewing the SBOM details in the UI.
4+
5+
Background: Authentication
6+
Given User is authenticated
7+
8+
Scenario: View per-package licence details for "<packageName>" in <sbomType> SBOM "<sbomName>"
9+
Given An ingested "<sbomType>" SBOM "<sbomName>" is available
10+
When User visits SBOM details Page of "<sbomName>"
11+
And User selects the Tab "Packages"
12+
Then The Package table contains the column "License"
13+
14+
When The "Name" column of the Package table contains "<packageName>"
15+
And User expands the package row "<packageName>"
16+
Then The expanded panel shows a section "Licenses"
17+
And The expanded panel lists at least one entry with "License Name" and "License Type"
18+
19+
Scenario: Search packages by licence "<licenseName>" in <sbomType> SBOM "<sbomName>"
20+
Given An ingested "<sbomType>" SBOM "<sbomName>" is available
21+
When User visits SBOM details Page of "<sbomName>"
22+
And User selects the Tab "Packages"
23+
When Search by FilterText "<licenseName>"
24+
Then The Package table total results is greater than 0
25+
And Every visible row in the Package table shows "<licenseName>" in the "License" column
26+
27+
When User clear all filters
28+
Then The Package table total results is greater than 1

0 commit comments

Comments
 (0)