From aebbd0317f20c95d2fae9599bf56c840a2d30322 Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Thu, 6 Jun 2019 11:13:43 +0200 Subject: [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. --- addons/web/static/tests/tools/debug_manager_tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/tests/tools/debug_manager_tests.js') diff --git a/addons/web/static/tests/tools/debug_manager_tests.js b/addons/web/static/tests/tools/debug_manager_tests.js index 0de3d5857e0..0f850835c66 100644 --- a/addons/web/static/tests/tools/debug_manager_tests.js +++ b/addons/web/static/tests/tools/debug_manager_tests.js @@ -13,7 +13,7 @@ QUnit.module('DebugManager', {}, function () { var debugManager = createDebugManager(); - debugManager.appendTo($('#qunit-fixture')); + await debugManager.appendTo($('#qunit-fixture')); // Simulate update debug manager from web client var action = { -- cgit v1.2.3