Monday, January 29, 2024
1 change · 17.0
Enhancements to existing features
This update improves the speed of automated tests for inserting lists into spreadsheets by approximately 6.2 seconds. The tests now run more than twice as fast (from 11.6 seconds down to 5.4 seconds on average), which helps development teams get faster feedback during testing cycles without changing any user-facing functionality.
Original PR description
The helper `toggleCogMenuSpreadsheet`is quite slow atm. As much as this should be investigated, there is a quick win by cutting in the functional flow to insert a list in a spreadsheet and rely on the implementation by triggering the bus event related to tje insert of the list in a spreadsheet. This revision speeds up the related concerned tests by ~6.2 seconds on a local installation. Testing the modules `documents_spreadsheet > list view` and `documents_spreadsheet > insert_list_spreadsheet_menu`: Average on 10 runs Before: 11600 ms After: 5400 ms Forward-Port-Of: odoo/enterprise#55219 Forward-Port-Of: odoo/enterprise#55202