Daily updates from Odoo
Wednesday, March 13, 2024
1 change
Code cleanup and technical improvements
This update cleans up how automated test tours interact with embedded page content, making those tests simpler and more consistent. It helps reduce maintenance work and improves confidence in test coverage without changing the user-facing product.
Original PR description
In this commit, we change rest of triggers in tours where an iframe is selected (suite of #156653). To do this, we use the :iframe HOOT pseudo-selector. With this changes, we can now remove the getNodesFromSelector function in odoo/addons/web_tour/static/src/tour_service/tour_utils.js Note that in this previous function, a ([is-ready]="true") check was made for iframe elements but was only necessary for few of them (7). So, a stepUtils.waitIframeIsReady() has been added to check this state. task~3600484 https://github.com/odoo/odoo/pull/157217