c9e3866b5f6b6d3e6fdedb76449d67ccfb25ba6f
Before this commit, the modified test sometimes failed on runbot because it couldn't click on "Create and edit..." in the many2one dropdown. Here's what happened: 1) call editInput to write something in the many2one input 2) call selectDropdownItem to select "Create and edit..." This was done without mocking setTimeout. The problem is that editInput triggers the opening of the dropdown, but as setTimeout wasn't mocked, that opening was delayed. Then, selectDropdownItem first clicked on the input to open the dropdown, and then clicked on the requested item. It might happen that the click on the input actually closed the dropdown instead of opening it, if it had been already opened via editInput. In that case, the test failed because it couldn't click later on on "Create and edit". This commit also improves the test utils to better log what really happens: in this case, the dropdown isn't open at all, so we detect that specific issue and log it with a proper message (which is different than "the dropdown is open, but I can find the item you're looking found). Runbot issue 28207 closes odoo/odoo#143044 X-original-commit: 220d4325866330235ceccd61b8d1d00d8c919ba8 Signed-off-by: Francois Georis (fge) <fge@odoo.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%