Skip to Content

Name: [FIX] website, test_website: merge upstream 19.0 and make website tours robust on slow runners

State: Failed finished in 220m

PR State: merged

PR Author: David Tran

PR Author Email:

PR: #1316

Committer: David Tran

Committer Email: david.tran@tvtmarine.com

Commit: 01d1866dad46358008ff0c7d19127e73f8b5c0d4

Description:

                                            [FIX] test_website: make test_replace_media tour robust on slow runners

After an image is replaced by another image, the step "ensure image
size is displayed" was satisfied by the old Image options container,
which stays mounted until the builder re-targets the new media. The
next "Replace" click then acted on the detached element ("Invalid
selection. Node is not part of the editable: None") and the Icon
container never appeared. Runbot signature: "[18/36] Tour
test_replace_media -> Step ensure icon block is displayed".

The tour now marks the container of the media being replaced and waits
for an Image container without that mark. That is the container of the
new media, a new component since containers are keyed per element.

Verified by injecting latency on /html_editor/get_image_info (+1 s):
the tour passes 3/3 with the fix and fails at the same step with the
same warning when the fix is reverted.

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

Branch: 19.0

Age:

Up-time:

Subbuilds Name State Detail
Build 427566 At install tests: from account to website_timesheet 123m Succeed Log
Build 427567 Post install tests: step install all modules 24m Succeed Log
Build 427568 Post install tests: from account to hr_recruitment_survey 158m Succeed Log
Build 427569 Post install tests: from hr_skills to phone_validation 294m Succeed Log
Build 427570 Post install tests: from point_of_sale to purchase_requisition_stock 213m Succeed Log
Build 427571 Post install tests: from purchase_stock to test_l10n_vn_viin_edi 153m Succeed Log
Build 427572 Post install tests: from test_mail to to_product_return_reason_stock 193m Succeed Log
Build 427573 Post install tests: from to_registration_email_blacklist to viin_approval_purpose_routing 138m Succeed Log
Build 427574 Post install tests: from viin_approval_sale to viin_product 193m Failed Log
Build 427575 Post install tests: from viin_project to web_unsplash 118m Succeed Log
Build 427576 Post install tests: from website to website_timesheet 114m Succeed Log
Create Date Level Message
10/22/2026 02:10:29 PM INFO
Updated repository Viindoo-tvtmaaddons
10/22/2026 02:10:29 PM INFO
Updated repository Viindoo-erponline-enterprise
10/22/2026 02:10:29 PM INFO
Updated repository Viindoo-branding
10/22/2026 02:10:29 PM INFO
Cloned repository Viindoo-odoo
10/22/2026 06:15:03 PM WARNING
Subbuild # 427570: odoo.http: You can only cancel a session that is in opening control state and has no orders.
10/22/2026 06:15:03 PM WARNING
Subbuild # 427570: odoo.http: You can only cancel a session that is in opening control state and has no orders.
10/22/2026 06:15:03 PM WARNING
Subbuild # 427570: odoo.http: You can only cancel a session that is in opening control state and has no orders.
10/22/2026 06:15:03 PM WARNING
Subbuild # 427570: odoo.http: You can only cancel a session that is in opening control state and has no orders.
10/22/2026 05:55:10 PM ERROR
Subbuild # 427574: odoo.addons.viin_document.tests.test_document_tour.TestDocumentUxTour.test_document_select_sidebar_preview_ux.browser: FAILED: [31/35] Tour viin_document_select_sidebar_preview → Step The selection survives the plain category switch (no view remount yet - the guard only runs when the sidebar remounts on a view switch) (trigger: .v_document_right_sidebar_widget .txt-selected-file span:text("2")). Element (.v_document_right_sidebar_widget .txt-selected-file span:text("2")) has not been found. TIMEOUT step failed to complete within 10000 ms.
10/22/2026 05:55:10 PM ERROR
Subbuild # 427574: odoo.addons.viin_document.tests.test_document_tour: FAIL: TestDocumentUxTour.test_document_select_sidebar_preview_ux Traceback (most recent call last): File "/data/build/Viindoo-erponline-enterprise-19.0/viin_document/tests/test_document_tour.py", line 90, in test_document_select_sidebar_preview_ux self.start_tour( File "/data/build/rb-01d1866-225816/odoo/tests/common.py", line 2612, in start_tour self.browser_js(url_path=url_path, code=code, ready=ready, timeout=timeout, success_signal="tour succeeded", **kwargs) File "/data/build/rb-01d1866-225816/odoo/tests/common.py", line 2582, in browser_js self.fail('%s\n\n%s' % (message, error)) AssertionError: The test code "odoo.startTour('viin_document_select_sidebar_preview', {"stepDelay": 0, "keepWatchBrowser": false, "debug": false, "startUrl": "/odoo", "delayToCheckUndeterminisms": 0})" failed FAILED: [31/35] Tour viin_document_select_sidebar_preview → Step The selection survives the plain category switch (no view remount yet - the guard only runs when the sidebar remounts on a view switch) (trigger: .v_document_right_sidebar_widget .txt-selected-file span:text("2")). Element (.v_document_right_sidebar_widget .txt-selected-file span:text("2")) has not been found. TIMEOUT step failed to complete within 10000 ms.
10/22/2026 05:55:10 PM ERROR
Subbuild # 427574: odoo.tests.result: 1 failed, 0 error(s) of 5059 tests when loading database 'rb-01d1866-225816-427574'