Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kabeaty committed Nov 28, 2023
1 parent d019c0d commit f585529
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,12 @@ it("requires rejection reason when dsaFeaturesEnabled", async () => {
});
expect(submitReasonButton).toBeDisabled();

const addAdditionalInfoButton = within(reasonModal).getByRole("button", {
name: "Add explanation",
});

fireEvent.click(addAdditionalInfoButton);

const additionalInfo = within(reasonModal).getByTestId(
"moderation-reason-detailed-explanation"
);
Expand Down

0 comments on commit f585529

Please sign in to comment.