Skip to content

Commit

Permalink
fix create-react-app test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
slax57 committed Jan 24, 2025
1 parent 69307a1 commit 67484eb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/create-react-admin/src/generateAppTestFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ test("should pass", async () => {
}
// Open the first post
fireEvent.click(await screen.findByText("Post 1"));
fireEvent.click(
await screen.findByText("Posts", undefined, { timeout: 4000 }),
);
fireEvent.click(
await screen.findByText("Post 1", undefined, { timeout: 8000 }),
);
fireEvent.click(
await screen.findByText("Edit", undefined, { timeout: 4000 }),
);
Expand Down

0 comments on commit 67484eb

Please sign in to comment.