summaryrefslogtreecommitdiff
path: root/addons/mail/static/tests/thread_window/basic_thread_window_tests.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2018-12-06 14:41:33 +0000
committerGéry Debongnie <ged@odoo.com>2018-12-07 13:16:07 +0000
commitb1ef0001f61d29fc3d3be384422c0fb35a09806f (patch)
tree17890fff2ac46b121c4426193d9e49ea06977c29 /addons/mail/static/tests/thread_window/basic_thread_window_tests.js
parent40dd121938552d3f88289d2e5fcd1d57a0dd01bb (diff)
[REF] *: adapt all client actions
to ControlPanel/Search view refactoring. The ControlPanel being now inside the DOM of client actions, those existing widgets needed to be adapted (in the way they define if and how they want a ControlPanel, and in the way the manipulate their DOM as it slightly changed). Tests needed to be adapted as well. Part of task 1893568 Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: Martin Geubelle <mge@odoo.com>
Diffstat (limited to 'addons/mail/static/tests/thread_window/basic_thread_window_tests.js')
-rw-r--r--addons/mail/static/tests/thread_window/basic_thread_window_tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/tests/thread_window/basic_thread_window_tests.js b/addons/mail/static/tests/thread_window/basic_thread_window_tests.js
index c44df3e8e91..3fc942b506f 100644
--- a/addons/mail/static/tests/thread_window/basic_thread_window_tests.js
+++ b/addons/mail/static/tests/thread_window/basic_thread_window_tests.js
@@ -493,7 +493,7 @@ QUnit.test('do not autofocus chat window on receiving new direct message', funct
}
});
- var $formInput = form.$('input');
+ var $formInput = form.$('input[name=display_name]');
$formInput.focus();
assert.equal(document.activeElement, $formInput[0],