Thursday, February 15, 2024
1 change · master
Code cleanup and technical improvements
This update refreshes Odoo's automated tour testing tools by replacing older jQuery-based selectors with the newer HOOT testing framework. It improves maintainability and debugging for future quality assurance work, with little direct impact on day-to-day users.
Original PR description
In this commit : - Tour Compiler uses now Hoot selectors instead of jQuery selectors. - jQuery selectors from tours trigger (extra_trigger and others) have been so adapted to be compatible with Hoot selectors. - Most of uses of jQuery in step.run() has been replaced by native or hoot-dom helpers. - A new option has been added in start_tour() (debug=True) to make it easier to debug tours. This opens a full screen browser with opened devtools and a breakpoint at tour initialization. - In debug=True mode, step.freeze allows you to pause de tour at this step. Use thaw() to continue it. task~3600484 Enterprise : https://github.com/odoo/enterprise/pull/53915