Skip to Content

[FIX] viin_backend_theme: the clickbot waits for the first screen

Killed 355m merged
PR
#722
PR Author
Roy Le
Committer
Roy Le
Commit
e34151ece663
Branch
19.0
Age
Up-time
Commit message
[FIX] viin_backend_theme: the clickbot waits for the first screen

odoo.isReady is set once the web client is mounted, before it loads its
first screen: on the themed shell, the boot landing is a client action
loaded after that. Core's clickbot starts a second after it is called;
the themed walk started at once. When the landing was not there yet, the
walk clicked the apps button, which opened the home menu overlay, the
landing then mounted under it, and the walk clicked the first tile of the
page: the landing's one, under the overlay. The app opened, the overlay
stayed up and the walk waited 30 seconds for the home menu to go away:
8 apps of test_web_viin's TestMenus timed out on runbot build 227254.

The walk now waits for the first screen before it looks for the home menu.