diff options
| author | Romain Derie <rde@odoo.com> | 2019-06-06 11:13:43 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2019-06-06 15:08:04 +0200 |
| commit | aebbd0317f20c95d2fae9599bf56c840a2d30322 (patch) | |
| tree | cb071f3a174b83b956639c13c90614f5e346e18b /addons/mail/static/tests/tools/debug_manager_tests.js | |
| parent | 4f18c7c44bbe3d1b6adacd0ee5bd2e18a9316b38 (diff) | |
[FIX] mail, web: directly load async debug.xml during QUnit tests
Before this commit, the test `list: edit view menu item` would sometimes crash
as now the debug manager loads its templates with an `xmlDependencies` where it
was not the case before (included in base.xml), see 73327db0656bf.
Diffstat (limited to 'addons/mail/static/tests/tools/debug_manager_tests.js')
| -rw-r--r-- | addons/mail/static/tests/tools/debug_manager_tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/tests/tools/debug_manager_tests.js b/addons/mail/static/tests/tools/debug_manager_tests.js index 7671150f0d8..c21d36572b9 100644 --- a/addons/mail/static/tests/tools/debug_manager_tests.js +++ b/addons/mail/static/tests/tools/debug_manager_tests.js @@ -28,7 +28,7 @@ QUnit.module('Mail DebugManager', {}, function () { }, }); - debugManager.appendTo($('#qunit-fixture')); + await debugManager.appendTo($('#qunit-fixture')); // Simulate update debug manager from web client var action = { |
