summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/chrome
diff options
context:
space:
mode:
authorsvs-odoo <svs@odoo.com>2018-09-12 12:11:24 +0200
committerAlexandre Kühn <aku@odoo.com>2018-09-12 13:17:54 +0200
commitf339ed6ff60334f0ddbd243dcfc311c8d60b2c52 (patch)
tree36bf26fd0a72ea4fd1f5683e95115f6f7add3f9c /addons/web/static/tests/chrome
parent2b92f042896cd3f47e509ef741b67da32563fb23 (diff)
[FIX] web: avoid annoying xdg-open prompt
Due to the route beginning with 'test: ', it was interpreted like a protocol and on some OS (ubuntu for example), a xdg-open prompt pops up. So, the window looses focus and some tests will fail because of that.
Diffstat (limited to 'addons/web/static/tests/chrome')
-rw-r--r--addons/web/static/tests/chrome/action_manager_tests.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/tests/chrome/action_manager_tests.js b/addons/web/static/tests/chrome/action_manager_tests.js
index 95e5742e95f..82bf9f5c3d3 100644
--- a/addons/web/static/tests/chrome/action_manager_tests.js
+++ b/addons/web/static/tests/chrome/action_manager_tests.js
@@ -1906,7 +1906,7 @@ QUnit.module('ActionManager', {
start: function () {
var self = this;
return this._super.apply(this, arguments).then(function () {
- self.iframe.src = 'test: ' + self.iframe.getAttribute('src');
+ self.iframe.src = 'test ' + self.iframe.getAttribute('src');
});
}
});
@@ -1921,7 +1921,7 @@ QUnit.module('ActionManager', {
if (route === '/report/check_wkhtmltopdf') {
return $.when('broken');
}
- if (route === 'test: /report/html/some_report') {
+ if (route === 'test /report/html/some_report') {
return $.when();
}
return this._super.apply(this, arguments);
@@ -1946,7 +1946,7 @@ QUnit.module('ActionManager', {
'/web/action/load',
'/report/check_wkhtmltopdf',
'notification',
- 'test: /report/html/some_report', // report client action's iframe
+ 'test /report/html/some_report', // report client action's iframe
]);
actionManager.destroy();