Name: [FIX] tests, project: stabilise the browser tests that fail on the runbot

State: Succeed finished in 259m

PR State: merged

PR Author: David Tran

PR Author Email:

PR: #1280

Committer: David Tran

Committer Email: david.tran@tvtmarine.com

Commit: ffcd4ae4ee8b3ce5bef087f5f049c96f62f37e87

Description:

                                            [FIX] project: wait for quick-create to enable before editing

The "Second task" step in project_update_tour ran right after the
prior quick-create ("New task") was validated, while
KanbanRecordQuickCreate was still in its post-validate disabled
window (o_disabled, pointer-events: none) held until web_save ->
web_read -> onchange -> model.load resolve. Under network/CI latency
the tour's click, aimed at that inert input, resolved to the ancestor
`.o_kanban_group` instead (pointer-events: none excludes the input
from hit-testing), and the following edit step then failed with
"target should be editable".

This reproduced 3/3 on retry within a single Viindoo runbot build
but was intermittent across separate builds, consistent with a
latency-dependent race, and reproduced locally on demand by
injecting 150ms of CDP network latency.

Guard the step's trigger to wait until the quick-create leaves
o_disabled before interacting. The earlier "New task" edit step is
left unchanged: it runs right after opening a fresh quick-create,
not inside any post-validate disabled window.

Verified on this fix: one 0ms-latency run and two 150ms-latency runs,
two tours succeeded and none failed in each run. Without the guard
the same 150ms latency fails the tour at this step. Live users are
unaffected: focus stays in the quick-create input during the save.

Signed-off-by: David Tran <david.tran@tvtmarine.com>
                                            

Branch: 18.0

Age:

Up-time:

Subbuilds Name State Detail
Build 415455 At install tests: from account to website_sms 127m Succeed Log
Build 415456 Post install tests: step install all modules 52m Succeed Log
Build 415457 Post install tests: from account to hr_recruitment_survey 134m Succeed Log
Build 415458 Post install tests: from hr_skills to phone_validation 119m Succeed Log
Build 415459 Post install tests: from point_of_sale to purchase_requisition_stock 119m Succeed Log
Build 415460 Post install tests: from purchase_stock to test_limits 94m Succeed Log
Build 415461 Post install tests: from test_mail to to_purchase_line_numbering 134m Succeed Log
Build 415462 Post install tests: from to_purchase_order_advance to viin_approval_purpose_routing 100m Succeed Log
Build 415463 Post install tests: from viin_approval_sale to viin_product_approval_marketplace 124m Succeed Log
Build 415464 Post install tests: from viin_product_approval_marketplace_website_sale to web_unsplash 83m Succeed Log
Build 415465 Post install tests: from website to website_sms 99m Succeed Log
Create Date Level Message
09/14/2026 15:45:37 INFO
Updated repository Viindoo-tvtmaaddons
09/14/2026 15:45:37 INFO
Updated repository Viindoo-erponline-enterprise
09/14/2026 15:45:37 INFO
Updated repository Viindoo-branding
09/14/2026 15:45:37 INFO
Cloned repository Viindoo-odoo
09/14/2026 18:20:03 WARNING
Subbuild # 415464: odoo.addons.web.tests.test_js.WebSuite.test_unit_desktop.browser: [Owl] Unhandled error. Destroying the root component