Wednesday, February 26, 2025
1 change · 18.0
Code cleanup and technical improvements
This update simplifies internal tests for website tour behavior so they wait for tours to finish in a more direct way. It does not change user-facing features, but helps developers maintain test coverage more reliably and clearly.
Original PR description
In this commit, we adapt the unit tests to use macro.isComplete. In all these tests, what we want to verify in the end is that the macro or tour has performed as expected. This allows to remove all await advanceTime() or await animationFrame() and makes the tests much clearer. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr