Skip to content

Commit

Permalink
[RFR] Fix Filter Issues (#876)
Browse files Browse the repository at this point in the history
* Fix Filter Issues

Signed-off-by: Shveta Sachdeva <[email protected]>

* Fix Filter Issues

Signed-off-by: Shveta Sachdeva <[email protected]>

* Fix Filter Issues

Signed-off-by: Shveta Sachdeva <[email protected]>

---------

Signed-off-by: Shveta Sachdeva <[email protected]>
Co-authored-by: Shveta Sachdeva <[email protected]>
  • Loading branch information
sshveta and Shveta Sachdeva authored Dec 12, 2023
1 parent 98e9c6c commit ad329fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import * as data from "../../../../../utils/data_utils";
import { getRulesData } from "../../../../../utils/data_utils";

const applications: Analysis[] = [];
describe(["@tier4"], "Source Analysis of big applications", () => {
describe(["@tier1"], "Source Analysis of big applications", () => {
before("Login", function () {
login();
});
Expand Down
3 changes: 2 additions & 1 deletion cypress/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,15 +471,16 @@ export function applySearchFilter(
}
}
});
cy.get(filterDropDownContainer).find(filterDropDown).click();

if (isStandardKnownFilter) {
cy.get(filterDropDownContainer).find(filterDropDown).click();
filterValue.forEach((searchTextValue) => {
cy.get(standardFilter).contains(searchTextValue).click();
});
}

if (isSpecialKnownFilter) {
cy.get(filterDropDownContainer).find(filterDropDown).click();
filterValue.forEach((searchTextValue) => {
cy.get(specialFilter).contains(searchTextValue).click();
});
Expand Down

0 comments on commit ad329fa

Please sign in to comment.