Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simensma-fresh committed Nov 27, 2024
1 parent 2e021e5 commit 5b18e2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const EditPermitConditionCategoryInline = (props: IPermitConditionCategor
icon={<FontAwesomeIcon icon={faXmark} />}
/>

<RenderSubmitButton buttonText="" aria-label="Confirm" buttonProps={{ className: "icon-button-container", style: { marginRight: 0, marginLeft: 0 }, icon: <FontAwesomeIcon icon={faCheck} /> }} />
<RenderSubmitButton buttonText="" buttonProps={{ "aria-label": "Confirm", className: "icon-button-container", style: { marginRight: 0, marginLeft: 0 }, icon: <FontAwesomeIcon icon={faCheck} /> }} />

<Popconfirm
disabled={props.conditionCount > 0}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe("PermitConditionCategorySelector", () => {
</FormWrapper>
</ReduxWrapper>
);
const input = screen.getByRole("combobox", { name: "Category Name" })
const input = screen.getByRole("combobox", { name: "description" })
expect(input).toBeInTheDocument();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe("PermitConditions", () => {

let descriptionInput;
await waitFor(() => {
descriptionInput = screen.getByRole("combobox", { "name": "Category Name" });
descriptionInput = screen.getByRole("combobox", { "name": "description" });
expect(descriptionInput).toBeInTheDocument();
})

Expand Down

0 comments on commit 5b18e2b

Please sign in to comment.