Skip to content

Commit d4c950e

Browse files
committed
[FIX] im_livechat: chat bot step sequence tour
This commit fixes the `im_livechat_chatbot_steps_sequence_tour`. When creating the chat bot steps, we wait for the textarea to be cleared between each step. However, the selector is wrong: `value()` matches everything, regardless of the content. This commit fixes the issue by using `:empty` instead. follow-up of odoo#217760. fixes runbot-229755. closes odoo#218410 X-original-commit: f1280ae Signed-off-by: Sébastien Theys (seb) <[email protected]>
1 parent 0ae767e commit d4c950e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/im_livechat/static/tests/tours/im_livechat_chatbot_steps_sequence_tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function createChatbotSteps(...stepMessages) {
2929
},
3030
{
3131
trigger: ".modal textarea#message_0",
32-
run: () => waitFor(".modal textarea#message_0:value()"),
32+
run: () => waitFor(".modal textarea#message_0:empty"),
3333
},
3434
])
3535
.flat(),

0 commit comments

Comments
 (0)