Skip to content

fix: only allow submitting form if changes have been made #14602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: apply 'make fmt'
  • Loading branch information
DanielleMaywood committed Sep 10, 2024
commit c947bc6966d30107cd2158f6d485fa314f19e9f8
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ test("Submit button is only enabled when changes are made", async () => {
});
await waitForLoaderToBeRemoved();

const submitButton: HTMLButtonElement = screen.getByRole("button", { name: "Submit" });
const submitButton: HTMLButtonElement = screen.getByRole("button", {
name: "Submit",
});

const form = screen.getByTestId("form");
const parameter1 = within(form).getByLabelText(
Expand Down