Monday, April 8, 2024
1 change
Code cleanup and technical improvements
This update reorganizes and simplifies automated tests for Point of Sale related modules by merging duplicate helpers, improving naming, and removing unused test utilities. It helps make future quality checks easier to maintain without changing customer-facing POS behavior.
Original PR description
*: all pos-related modules - search helpers that do the same thing or can be merged - rename selectPriceList in clickPriceList - include testing and JsDoc in (easier to make test code, rise lisibility of test code): - clickPaymentMethod - clickDisplayedProduct - clickPriceList - clickFiscalPosition - enterPaymentLineAmount - modify tours with the new or adapted utils - kill test in product_screen_tour that allready done in acceptance_tour - modify all tour in point_of_sale to have all step made by utils - move out function to util in pos_restaurant - kill 10 utils functions that was not use anymore - rename : pressNumpad by clickNumpad controlButton by clickControlButton controlButtonMore by clickControlButtonMore tasks id : 3820758 Linked PR: https://github.com/odoo/odoo/pull/159277