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

Commit 5bb94fd

Browse files
Align to Patternfly v6 migration (#53)
The UI PR guacsec/trustify-ui#305 migrates the whole UI to Patternfly 6. This PR should make sure our tests are also aligned to the migration. We should merge this PR after the UI PR counterpart is merged --------- Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
1 parent 71b62d3 commit 5bb94fd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/ui/dependencies/global.setup.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ const uploadSboms = async (page: Page, files: string[]) => {
3232
);
3333

3434
await expect(
35-
page.locator(
36-
"#upload-sbom-tab-content .pf-v5-c-expandable-section__toggle-text"
37-
)
35+
page.locator("#upload-sbom-tab-content .pf-v6-c-expandable-section__toggle")
3836
).toContainText(`${files.length} of ${files.length} files uploaded`, {
3937
timeout: 60_000,
4038
});
@@ -52,7 +50,7 @@ const uploadAdvisories = async (page: Page, files: string[]) => {
5250

5351
await expect(
5452
page.locator(
55-
"#upload-advisory-tab-content .pf-v5-c-expandable-section__toggle-text"
53+
"#upload-advisory-tab-content .pf-v6-c-expandable-section__toggle"
5654
)
5755
).toContainText(`${files.length} of ${files.length} files uploaded`, {
5856
timeout: 60_000,

0 commit comments

Comments
 (0)