-
Notifications
You must be signed in to change notification settings - Fork 16.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Do not trigger sendAndWait response on bot visit if response type is approval #13792
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add tests for this? :)
…google-chat-send-and-wait
|
||
const result = await sendAndWaitWebhook.call(mockWebhookFunctions); | ||
|
||
expect(result).toEqual({ noWebhookResponse: true }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add a test for testing that res.send
gets called with ''
? :)
…google-chat-send-and-wait
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
n8n
|
Project |
n8n
|
Branch Review |
node-2485-google-chat-send-and-wait
|
Run status |
|
Run duration | 04m 39s |
Commit |
|
Committer | Michael Kret |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
5
|
|
0
|
|
441
|
View all changes introduced in this branch ↗︎ |
✅ All Cypress E2E specs passed |
Summary
Do not trigger sendAndWait response on bot visit if response type is approval
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/NODE-2485/google-chat-send-and-wait#comment-8def3048
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)