This commit is contained in:
@@ -140,8 +140,8 @@ describe("KanbanPage add task flow", (): void => {
|
||||
const titleInput = screen.getByPlaceholderText("Task title...");
|
||||
await user.type(titleInput, createdTask.title);
|
||||
|
||||
// Click the Add button
|
||||
await user.click(screen.getByRole("button", { name: /✓ Add/i }));
|
||||
// Press Enter to submit
|
||||
await user.keyboard("{Enter}");
|
||||
|
||||
await waitFor((): void => {
|
||||
expect(mockCreateTask).toHaveBeenCalledWith(
|
||||
|
||||
Reference in New Issue
Block a user