Compare commits
2 Commits
feat/ms23-
...
fix/ms23-p
| Author | SHA1 | Date | |
|---|---|---|---|
| 90d2fa7563 | |||
| 31af6c26ec |
@@ -132,7 +132,7 @@ describe("KanbanPage add task flow", (): void => {
|
||||
});
|
||||
|
||||
// Click the "+ Add task" button in the To Do column
|
||||
const addTaskButtons = screen.getAllByRole("button", { name: /\+ Add task/i });
|
||||
const addTaskButtons = await screen.findAllByRole("button", { name: /\+ Add task/i });
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
await user.click(addTaskButtons[0]!); // First column is "To Do"
|
||||
|
||||
@@ -165,7 +165,7 @@ describe("KanbanPage add task flow", (): void => {
|
||||
});
|
||||
|
||||
// Click the "+ Add task" button
|
||||
const addTaskButtons = screen.getAllByRole("button", { name: /\+ Add task/i });
|
||||
const addTaskButtons = await screen.findAllByRole("button", { name: /\+ Add task/i });
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
await user.click(addTaskButtons[0]!);
|
||||
|
||||
|
||||
@@ -102,5 +102,5 @@ describe("OnboardingWizard", () => {
|
||||
await waitFor(() => {
|
||||
expect(mockPush).toHaveBeenCalledWith("/");
|
||||
});
|
||||
});
|
||||
}, 10_000);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user