Skip to content

Commit

Permalink
fix: tests corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
abhigyanghosh30 committed Feb 25, 2024
1 parent d6d5a1d commit d9c4591
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ test("Feature section renders correctly", () => {
</FormProvider>
);

screen.getAllByText("Ubuntu Pro");
screen.getAllByText("Ubuntu Pro (Infra-only)");
screen.getAllByText("Pro - all repositories");
screen.getAllByText("Infra only - limited subset");
});

test("Feature sections disables Infra + Apps if destkop is selected", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const Feature = () => {
value={Features.pro}
onChange={handleChange}
disabled={proDisabled}
data-testid="pro"
/>
<hr />
<RadioInput
Expand All @@ -56,6 +57,7 @@ const Feature = () => {
value={Features.infra}
onChange={handleChange}
disabled={infraOnlyDisabled}
data-testid="infra-only"
/>
</div>
</Col>
Expand Down

0 comments on commit d9c4591

Please sign in to comment.