This commit makes bus tests more robust by implementing functions that wait for some events instead of relying on `nextTick` that might or not be sufficient. fixes runbot-23097 closes odoo/odoo#138221 Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>