diff --git a/addons/web_editor/static/src/js/editor/odoo-editor/test/utils.js b/addons/web_editor/static/src/js/editor/odoo-editor/test/utils.js index 388fd9035d8..e79d79910a8 100644 --- a/addons/web_editor/static/src/js/editor/odoo-editor/test/utils.js +++ b/addons/web_editor/static/src/js/editor/odoo-editor/test/utils.js @@ -277,7 +277,7 @@ export function customErrorMessage(assertLocation, value, expected) { value = value.replaceAll('\u0009', tab); expected = expected.replaceAll('\u0009', tab); - return `[${assertLocation}]\nactual : '${value}'\nexpected: '${expected}'\n\nStackTrace `; + return `${(isMobileTest ? '[MOBILE VERSION: ' : '[')}${assertLocation}]\nactual : '${value}'\nexpected: '${expected}'\n\nStackTrace `; } /**