Add a test to ensure that the `MediaDialog` is opened with the correct record `resId` (to properly link files to that record) inside an html field. task-3502797 closes odoo/odoo#138525 X-original-commit: 5184bed2efd9923c0371d5e117a7915415ceee5a Signed-off-by: David Monjoie (dmo) <dmo@odoo.com> Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>