Skip to content

Commit

Permalink
chore:fixed person responsible page title
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshmcg committed Dec 12, 2024
1 parent 9d0f522 commit b946d9f
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 @@ -9,7 +9,7 @@ import SectionFieldTemplate from "@bciers/components/form/fields/SectionFieldTem
import { Contact } from "@reporting/src/app/components/operations/types";

export const personResponsibleSchema: RJSFSchema = {
title: "Person Responsible",
title: "Person Responsible for Submitting Report",
type: "object",
properties: {
purpose_note: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ describe("PersonResponsible", () => {
it("renders the form correctly after loading", async () => {
render(<PersonResponsible version_id={1} />);
await waitFor(() => {
expect(screen.getByText("Person Responsible")).toBeInTheDocument();
expect(
screen.getByText("Person Responsible for Submitting Report"),
).toBeInTheDocument();
});
expect(screen.getByText(/Back/i)).toBeInTheDocument();
expect(screen.getByText(/Continue/i)).toBeInTheDocument();
Expand Down

0 comments on commit b946d9f

Please sign in to comment.