Thursday, April 25, 2024
1 change
Code cleanup and technical improvements
This update modernizes how Odoo's automated product tours simulate clicks and drag-and-drop actions, making tests more consistent and easier to maintain. It also simplifies the testing helper API by removing rarely useful focus and blur actions, with no expected impact on day-to-day users.
Original PR description
In this commit, click event and drag_and_drop_native events in web_tour/static/src/tour_service/tour_utils.js have been changed to use hoot events. Also, blur and focus utils have been removed from RunningTourActionHelper because there usages are not relevant and complicate the understanding of the API. https://github.com/odoo/odoo/pull/162031