Before this commit, the isVisible helper would most of the time work as expected, except if an element has display: contents. In that case, it has no bounding box, but it may still be visible if one of its child is visible. This is particularly important since we want to set the display property of all field components to "contents". Part-of: odoo/odoo#96865
11 lines
181 B
JavaScript
11 lines
181 B
JavaScript
/** @odoo-module **/
|
|
|
|
import { setupQUnit } from "./qunit";
|
|
import { setupTests } from "./setup";
|
|
|
|
(async () => {
|
|
setupQUnit();
|
|
await setupTests();
|
|
QUnit.start();
|
|
})();
|