972b6bc9d1ab2d2d9241fe16e39838ed4fe822b7
Currently, if a test fails there's very high chances the DOM will not be clean, because qunit doesn't have good cleanup APIs. This means a test failure will always be prefixed by a dump of the page DOM which is just confusing and makes it hard to find the actual error. This change updates the OdooAfterTestHook handler to: * Receive the `Test` itself, instead of adding more information to the synthetic object it currently receives. * Only show the leftover DOM if the test otherwise succeeded. * Do the entire reporting via `pushFailure`, rather than having duplication between an explicit `console.error` and a test failure. * Update the QUnit.log handler to - not show `undefined` - try to improve readability by removing the bracketing and quoting closes odoo/odoo#75951 Forward-port-of: #75939 X-original-commit: 8bceac8032f48ae77e8a2c0c038f3bc26489e0ac Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%