test: align automation integration coverage with current behavior
This commit is contained in:
1 parent
458b925f86
commit
bfb4f021ed
4 files changed
+42
-16
No files matched your search
@@ -266,9 +266,9 @@ describe("Settings system domains", () => {
|
||||
fireEvent.change(input, { target: { value: "Summarize updates every weekday at 9" } });
|
||||
fireEvent.click(screen.getByRole("button", { name: "Send message" }));
|
||||
await waitFor(() => expect(onStartAutomationChat).toHaveBeenCalledWith(
|
||||
"Create an automation for this request:\n\nSummarize updates every weekday at 9",
|
||||
undefined,
|
||||
"Summarize updates every weekday at 9",
|
||||
undefined,
|
||||
{ intent: "create_automation" },
|
||||
"primary",
|
||||
));
|
||||
fireEvent.click(screen.getByRole("button", { name: "Back to chat" }));
|
||||
|
||||
Reference in new issue
Block a user