Skip to content

Commit

Permalink
adapt selecting filter and mark bugs
Browse files Browse the repository at this point in the history
Signed-off-by: Neilhamza <[email protected]>
  • Loading branch information
Neilhamza committed Oct 3, 2023
1 parent 046866c commit 4a2795a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe(["@tier2"], "Business services filter validations", function () {
businessServicesList = createMultipleBusinessServices(2, stakeholdersList);
});

it("Name filter validations", function () {
it("Bug MTA-1375: Name filter validations", function () {
BusinessServices.openList();

// Enter an existing display name substring and assert
Expand Down Expand Up @@ -68,7 +68,7 @@ describe(["@tier2"], "Business services filter validations", function () {
clickByText(button, clearAllFilters);
});

it("Description filter validations", function () {
it("Bug MTA-1375: Description filter validations", function () {
BusinessServices.openList();

// Enter an existing description substring and assert
Expand Down Expand Up @@ -97,7 +97,7 @@ describe(["@tier2"], "Business services filter validations", function () {
clickByText(button, clearAllFilters);
});

it("Owner filter validations", function () {
it("Bug MTA-1375: Owner filter validations", function () {
BusinessServices.openList();

// Enter an existing owner substring and assert
Expand Down
4 changes: 2 additions & 2 deletions cypress/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ export function selectFilter(filterName: string, identifiedRisk?: boolean, value
.eq(value)
.within(() => {
cy.get("#filtered-by").click();
cy.get("div.pf-v5-c-menu__content").within(() => {
clickByText("span", filterName);
cy.get('ul[aria-labelledby="filtered-by"]').within(() => {
clickByText("a", filterName);
});
});
}
Expand Down

0 comments on commit 4a2795a

Please sign in to comment.