Sunday, November 16, 2025
7 changes
3 changes
Resolved issues and error corrections
This update improves automated web tests by making sure unfinished drag actions are properly canceled at the end of each test. It prevents leftover test actions from causing delayed errors after a test has already completed, making the test suite more stable and reliable.
Original PR description
Before this commit, when initiating an unfinished drag sequence (i.e. calling `drag` without `drop` or `cancel`), the drag sequence was ended by destroying the component, which could throw asynchronous errors after the test finished. One possible fix would be to wait for these errors upon ending a test, but this process is handled by Owl and through a possible chain of promises, which would have to be accounted for by an arbitrary amount of 'animationFrame' or 'advanceTime' calls. Instead, the `contains...drag` and `contains...dragAndDrop` now handle a single drag sequence at a time, with a systematic cleanup after each test in case a drag sequence has been left pending. In such cases, the sequence is canceled. Enterprise: https://github.com/odoo/enterprise/pull/99369 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#235593 Forward-Port-Of: odoo/odoo#235359
This update makes automated drag-and-drop tests finish their cancel or drop actions before the test ends. It helps prevent flaky test results and makes the test suite more reliable.
Original PR description
Since drag sequences are automatically canceled at the end of tests, 'cancel' or 'drop' calls should be properly awaited before the end of a test. This commit ensures that these actions are properly finished before a test ends. Community: https://github.com/odoo/odoo/pull/235359 Forward-Port-Of: odoo/enterprise#99449 Forward-Port-Of: odoo/enterprise#99369
This change prevents product review cards from appearing through the portal chatter area when viewed on mobile. It restores the correct background in the sticky section so the page looks clean and readable while scrolling.
Original PR description
To reproduce: ============= 1- Enable product reviews on the website 2- Add a few reviews 3- Switch to mobile view -> Scroll to see the behavior Why: ==== This commit did the problem https://github.com/odoo/odoo/commit/f13ee41a4a62f7fedbddc4245e52ee8e9dce9e0e Specifically this change: https://github.com/odoo/odoo/commit/f13ee41a4a62f7fedbddc4245e52ee8e9dce9e0e#diff-6e5197b652583a0032baba5d873fb639b7567600f54b58acce137945ca072b03L23-R24 So the value of the background-color for the portal Chatter is no longer getting background-color of the body. Solution: ========= Apply the body background-color to the sticky part. opw-5098372 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#229272
3 changes
Resolved issues and error corrections
This update makes automated tests properly wait for drag-and-drop actions to complete before ending. It helps prevent occasional test instability and makes the test suite more reliable.
Original PR description
Since drag sequences are automatically canceled at the end of tests, 'cancel' or 'drop' calls should be properly awaited before the end of a test. This commit ensures that these actions are properly finished before a test ends. Community: https://github.com/odoo/odoo/pull/235359 Forward-Port-Of: odoo/enterprise#99449 Forward-Port-Of: odoo/enterprise#99369
1 change
Resolved issues and error corrections
This update fixes an issue on mobile where product review cards could appear through the portal chatter area while scrolling. It restores the correct background so the content displays cleanly and remains readable.
Original PR description
To reproduce: ============= 1- Enable product reviews on the website 2- Add a few reviews 3- Switch to mobile view -> Scroll to see the behavior Why: ==== This commit did the problem https://github.com/odoo/odoo/commit/f13ee41a4a62f7fedbddc4245e52ee8e9dce9e0e Specifically this change: https://github.com/odoo/odoo/commit/f13ee41a4a62f7fedbddc4245e52ee8e9dce9e0e#diff-6e5197b652583a0032baba5d873fb639b7567600f54b58acce137945ca072b03L23-R24 So the value of the background-color for the portal Chatter is no longer getting background-color of the body. Solution: ========= Apply the body background-color to the sticky part. opw-5098372 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#229272
This change improves automated test reliability by making sure unfinished drag-and-drop actions are canceled instead of left hanging. It prevents delayed errors from appearing after a test has already ended, which helps keep test runs stable and easier to trust.
Original PR description
Before this commit, when initiating an unfinished drag sequence (i.e. calling `drag` without `drop` or `cancel`), the drag sequence was ended by destroying the component, which could throw asynchronous errors after the test finished. One possible fix would be to wait for these errors upon ending a test, but this process is handled by Owl and through a possible chain of promises, which would have to be accounted for by an arbitrary amount of 'animationFrame' or 'advanceTime' calls. Instead, the `contains...drag` and `contains...dragAndDrop` now handle a single drag sequence at a time, with a systematic cleanup after each test in case a drag sequence has been left pending. In such cases, the sequence is canceled. Enterprise: https://github.com/odoo/enterprise/pull/99369 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#235593 Forward-Port-Of: odoo/odoo#235359
This update prevents product review cards from showing through the portal chatter area when customers view the website on mobile devices. It restores the expected background coverage so the page looks clean and readable while scrolling.
Original PR description
To reproduce: ============= 1- Enable product reviews on the website 2- Add a few reviews 3- Switch to mobile view -> Scroll to see the behavior Why: ==== This commit did the problem https://github.com/odoo/odoo/commit/f13ee41a4a62f7fedbddc4245e52ee8e9dce9e0e Specifically this change: https://github.com/odoo/odoo/commit/f13ee41a4a62f7fedbddc4245e52ee8e9dce9e0e#diff-6e5197b652583a0032baba5d873fb639b7567600f54b58acce137945ca072b03L23-R24 So the value of the background-color for the portal Chatter is no longer getting background-color of the body. Solution: ========= Apply the body background-color to the sticky part. opw-5098372 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#229272