Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chimanjain committed Aug 2, 2023
1 parent 86b2688 commit d181a9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ describe("GIVEN displayModules function", () => {

displayModules("helm", "powerscale", CONSTANTS);

expect($(".authorization").css("display")).toEqual("none");
expect($(".authorization").css("display")).toEqual("block");
expect($(".observability").css("display")).toEqual("block");
expect($(".vgsnapshot").css("display")).toEqual("none");
expect($(".storage-capacity").css("display")).toEqual("block");
Expand All @@ -543,7 +543,7 @@ describe("GIVEN displayModules function", () => {
displayModules("operator", "powerscale", CONSTANTS);

expect($(".vgsnapshot").css("display")).toEqual("none");
expect($(".authorization").css("display")).toEqual("none");
expect($(".authorization").css("display")).toEqual("block");
expect($(".observability").css("display")).toEqual("none");
expect($(".replication-mod").css("display")).toEqual("none");
expect($(".image-repository").css("display")).toEqual("none");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ function displayModules(installationType, driverName, CONSTANTS_PARAM) {
}
break;
case CONSTANTS_PARAM.POWERSCALE:
$(".authorization").hide();
$("#authorization").prop('checked', false);
$(".cert-secret-count-wrapper").show();
$(".resiliency").show();
$(".fsGroupPolicy").show();
Expand Down

0 comments on commit d181a9d

Please sign in to comment.