Daily updates from Odoo
Wednesday, March 30, 2022
1 change
Resolved issues and error corrections
This update prevents shared test settings in the Gantt planning view from being accidentally changed by one test and affecting later tests. It improves the reliability of automated checks, reducing false failures and helping development teams maintain quality with less rework.
Original PR description
Since https://github.com/odoo/enterprise/commit/fc5179a3580e1a01d66f5ebd0e2fc58854476e44 `ganttViewParams` which is used for all the tests is modified during the test on `collapse_first_level`. As such, it is potentially breaking tests that are performed after as they were relying on the fact that `collapse_first_level` is not set. This commit prevent the mutation of `ganttViewParams`. This commit also: - Adds missing `;` in tests. - Modifies some of the assert in order to improve debugging when test fails.