Name: [FIX] website: deflake edit_menus tour when menu items overflow the dialog

State: Succeed finished in 193m

PR State: merged

PR Author: Roy Le

PR Author Email:

PR: #1253

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: 3df6733404d515e49d724e4941099378611bdb89

Description:

                                            [FIX] website: deflake edit_menus tour when menu items overflow the dialog

The final drag section of the edit_menus tour operates on rows the tour
itself appends at the bottom of the menu editor list. The drag helper
(drag_and_drop_native) computes viewport coordinates from
getBoundingClientRect() without scrolling the target into view first, so
when installed modules add enough top-level menu items (e.g. to_runbot
adds 'Runbot' and 'Runbot Standalone'), the rows to drag overflow the
fixed-height dialog body (~490px at 1366x768) and the pointer events
silently miss, failing the tour at:

    Check if 'nested_menu' and 'Modnar !!' is nested under 'new_menu'

Scroll the dialog body to the bottom right before the drag section so
the dragged rows are always within view. Reproduced and verified on a
database where the tour-time list reaches 14-18 rows: failed 6/6 before,
passes 3/3 (14 rows), and still passes at 18 and 10 rows after the fix.
                                            

Branch: 17.0

Age:

Up-time:

Subbuilds Name State Detail
Build 402928 At install tests: from account to website_twitter 110m Succeed Log
Build 402929 Post install tests: step install all modules 50m Succeed Log
Build 402930 Post install tests: from account to hr_recruitment_survey 94m Succeed Log
Build 402931 Post install tests: from hr_skills to phone_validation 79m Succeed Log
Build 402932 Post install tests: from point_of_sale to purchase_requisition_stock 89m Succeed Log
Build 402933 Post install tests: from purchase_stock to test_lint 94m Succeed Log
Build 402934 Post install tests: from test_mail to to_purchase_line_numbering 94m Succeed Log
Build 402935 Post install tests: from to_purchase_order_advance to viin_approval_purpose_routing 114m Succeed Log
Build 402936 Post install tests: from viin_approval_sale to viin_product_approval_marketplace 94m Succeed Log
Build 402937 Post install tests: from viin_product_approval_marketplace_website_sale to web_unsplash 94m Succeed Log
Build 402938 Post install tests: from website to website_twitter 98m Succeed Log
Create Date Level Message
08/11/2026 14:50:34 INFO
Updated repository Viindoo-tvtmaaddons
08/11/2026 14:50:34 INFO
Updated repository Viindoo-erponline-enterprise
08/11/2026 14:50:34 INFO
Updated repository Viindoo-branding
08/11/2026 14:50:34 INFO
Cloned repository Viindoo-odoo