summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2019-03-07 08:50:52 +0000
committerDavid Monjoie <dmo@odoo.com>2019-03-08 09:00:31 +0000
commit455a9c9d584ad5542364238ed18ab07429fc248b (patch)
tree4883843fae20b7e307525d1b5aa136a42c3ca10f /addons/web/static/src/js/fields/basic_fields.js
parent0bc24a78a2fa7836196f18218cce6d6135f9cc15 (diff)
[FIX] web_editor: fix non-deterministic tests
Those tests were skipped because they were failing non-deterministically. This commit aims to make them deterministic by putting back some guard promises that were lost during the jquery update adaptation. This commit also fixes a lingering issue with one of the asserts. We observed that sometimes, the "alt" and "title" attributes where both present on the element but displayed in different order in the string returned by wysiwyg.getValue(). This is because there is no set order in the attribute returned by jQuery.html(). Because of that, I replaced the simple sring test by a thorough manual comparison of the result that is expected to be equivalent. closes odoo/odoo#31671 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions