This commit is contained in:
cursor[bot] 2026-08-27 20:06:58 -05:00 committed by GitHub
commit 84f45bfbfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,7 +131,7 @@ describe("UserSearchModal submit payload", () => {
const user = userEvent.setup({ pointerEventsCheck: PointerEventsCheckLevel.Never });
await user.click(screen.getByLabelText("Member Role"));
await user.click(await screen.findByRole("option", { name: /^admin/ }));
await user.click(await screen.findByRole("option", { name: /^admin/ }, { timeout: 5000 }));
await user.click(save());
await waitFor(() => expect(onSubmit).toHaveBeenCalledTimes(1));