Wednesday, September 11, 2024
1 change
Code cleanup and technical improvements
This update changes how test files are created so they work consistently across more web browsers. It reduces the risk of browser-specific test failures in Documents, Payroll, Mail, and WhatsApp-related areas without changing customer-facing features.
Original PR description
*test_l10n_be_hr_payroll_account, test_mail_enterprise, whatsapp Purpose of this commit: `createFile` used the File System API to create test files in the browser's temporary file system. However, since not all browsers support this API, it has been replaced with the new File(...) constructor, which is supported by all browsers. This change makes the tests more compatible across different browsers. community: https://github.com/odoo/odoo/pull/179600 task-4161755