summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/tools/tools.js
AgeCommit message (Collapse)Author
2020-04-16[FIX] web: avoid "False-Positive"Romeo Fragomeli
For testing, we use helpers functions like testUtils.dragAndDrop(). Due to the commit odoo/odoo@de924f41eebf62516a39749e5924e19875ea59e5 these methods were wrapped by a deprecated function to add a deprecation warning in the console when these methods are used. After this commit, the deprecated method will properly propagate the returned value of the original function. And so if the returned value is a Promise now we can await this Promise. This should fix some false positives on runbot in saas-13.3 (e.g. FullCalendar). closes odoo/odoo#49611 X-original-commit: 33bfe175bf1ba7824a1bef27fd7fa0898dbe8cb3 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2018-11-20[IMP] web: testUtils: ensure backward compatibilityAaron Bohy
Rev. 7c3d5dc0 recently added new helpers to use in the tests, and moved some existing helpers to testUtils sub groups (like .dom or .mock). This rev. adds a compatibility layer to ease forwardports. closes odoo/odoo#28824