fix(web): kanban add-task tests #646

Closed
jason.woltje wants to merge 2 commits from fix/kanban-tests into main
Showing only changes of commit aa78df2c2c - Show all commits

View File

@@ -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(