Skip to content

Commit

Permalink
Update selectFilter() function
Browse files Browse the repository at this point in the history
Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr committed Jan 17, 2025
1 parent f8673c8 commit 8338f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ export function notExists(value: string, tableSelector = appTable): void {
});
}

export function selectFilter(filterName: string, identifiedRisk?: boolean, value = 0): void {
export function selectFilter(filterName: string): void {
cy.get("#filtered-by").click();
clickWithinByText('div[class="pf-v5-c-menu__content"]', "button", filterName);
}
Expand Down

0 comments on commit 8338f49

Please sign in to comment.