odoo/odoo#199383

Created by JavaScript, Pierre Pulinckx (pipu)
Merged at 5f50d37fe9fd30d16f7f6105bac377662654577e

Statuses:

label
odoo-dev:18.0-ref_unit_tests-pipu
head
8362a3f02c881c165c2f251d998832b5d44d3373
merged
7 months ago by JavaScript, Julien Mougenot (jum)
odoo/odoo
18.0 #199383
saas-18.1 #199490
saas-18.2 #199500
saas-18.3
saas-18.4
19.0
master #199638

[REF] web_tour: unit tests use macro.isComplete

In this commit, we adapt the unit tests to use macro.isComplete. In all these tests, what we want to verify in the end is that the macro or tour has performed as expected. This allows to remove all await advanceTime() or await animationFrame() and makes the tests much clearer.

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr