[IMP] web: avoid failed tests affecting the next ones

When using positional clicks (among other examples) in tests, a previous failed
test might affect a next one because the assert failures are displayed on the
top of tests.
This commit is contained in:
Christophe Matthieu
2018-08-13 17:09:28 +02:00
parent 8f216482b8
commit 4d3a776389
@@ -98,7 +98,7 @@ var createActionManager = function (params) {
},
});
addMockEnvironment(widget, _.defaults(params, {debounce: false}));
widget.appendTo($target);
widget.prependTo($target);
widget.$el.addClass('o_web_client');
if (config.device.isMobile) {
widget.$el.addClass('o_touch_device');