Name: [FIX] website_sale: wait for each cart line removal in the reorder tour

State: Failed finished in 319m

PR State: open

PR Author: Roy Le

PR Author Email:

PR: #1300

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: 6d39a9af4fb7e0fba7670a923f8e54fd0e4c48bb

Description:

                                            [FIX] website_sale: wait for each cart line removal in the reorder tour

The fourth reorder of website_sale_reorder_from_portal empties the cart
by clicking the first delete link four times, one second apart. The
quantity change is debounced (500ms) then sent by RPC, and the input
ignores changes until the answer comes back; on a loaded runbot the
round trip exceeds the remaining 500ms, so a click hits the line still
being removed and is lost. A line stays in the cart, the reorder then
asks whether to clear it, and the tour fails at "Checking if Reorder
Product 1 is in the cart" (runbot build 225353).

Wait for the cart lines to be re-rendered (the clicked link is detached)
before removing the next line instead of sleeping a fixed second.
                                            

Branch: 17.0

Age:

Up-time:

Subbuilds Name State Detail
Build 422530 At install tests: from account to website_twitter 194m Succeed Log
Build 422531 Post install tests: step install all modules 84m Succeed Log
Build 422532 Post install tests: from account to hr_recruitment_survey 154m Succeed Log
Build 422533 Post install tests: from hr_skills to phone_validation 204m Succeed Log
Build 422534 Post install tests: from point_of_sale to purchase_requisition_stock 134m Succeed Log
Build 422535 Post install tests: from purchase_stock to test_limits 154m Succeed Log
Build 422536 Post install tests: from test_mail to to_purchase_line_numbering 189m Succeed Log
Build 422537 Post install tests: from to_purchase_order_advance to viin_approval_purpose_routing
Building with script
Log
Build 422538 Post install tests: from viin_approval_sale to viin_product_approval_marketplace 184m Succeed Log
Build 422539 Post install tests: from viin_product_approval_marketplace_website_sale to web_unsplash 129m Succeed Log
Build 422540 Post install tests: from website to website_twitter 144m Failed Log
Create Date Level Message
10/08/2026 22:05:49 INFO
Updated repository Viindoo-tvtmaaddons
10/08/2026 22:05:49 INFO
Updated repository Viindoo-erponline-enterprise
10/08/2026 22:05:49 INFO
Updated repository Viindoo-branding
10/08/2026 22:05:49 INFO
Cloned repository Viindoo-odoo
10/09/2026 03:25:44 WARNING
Subbuild # 422540: odoo.addons.website.tests.test_ui.TestUi.browser: Tour link_tools failed at step Pick '/contactus (trigger: ul.ui-autocomplete li div:contains('/contactus (Contact Us)')) { "content": "Check that link was updated and link content is synced with URL", "trigger": "iframe .s_text_image p a[href='http://callmemaybe.com']:contains('callmemaybe.com')" }, { "content": "Edit link label", "trigger": "iframe .s_text_image p a", "run": "[function]" }, { "content": "Enter partial URL", "trigger": "#o_link_dialog_url_input", "run": "text /contact" }, ----- FAILING STEP ----- { "content": "Pick '/contactus", "trigger": "ul.ui-autocomplete li div:contains('/contactus (Contact Us)')" }, ----------------------- { "content": "Check that links's href and label were updated", "trigger": "iframe .s_text_image p a[href='/contactus']:contains('/contactus')", "isCheck": true }, { "content": "Enter a non-existent URL", "trigger": "#o_link_dialog_url_input", "run": "text /this-address-does-not-exist" }, { "content": "Check that the link's href was updated and click on it", "trigger": "iframe .s_text_image p a[href='/this-address-does-not-exist']" },
10/09/2026 03:25:44 ERROR
Subbuild # 422540: odoo.addons.website.tests.test_ui.TestUi.browser: Tour link_tools failed at step Pick '/contactus (trigger: ul.ui-autocomplete li div:contains('/contactus (Contact Us)'))
10/09/2026 03:25:44 ERROR
Subbuild # 422540: odoo.addons.website.tests.test_ui: FAIL: TestUi.test_15_website_link_tools Traceback (most recent call last): File "/data/build/rb-6d39a9a-225376/addons/website/tests/test_ui.py", line 471, in test_15_website_link_tools self.start_tour(self.env['website'].get_client_action_url('/'), 'link_tools', login="admin") File "/data/build/rb-6d39a9a-225376/odoo/tests/common.py", line 2231, in start_tour return self.browser_js(url_path=url_path, code=code, ready=ready, **kwargs) File "/data/build/rb-6d39a9a-225376/odoo/tests/common.py", line 2208, in browser_js self.fail('%s\n\n%s' % (message, error)) AssertionError: The test code "odoo.startTour('link_tools', {"stepDelay": 0, "keepWatchBrowser": false, "startUrl": "/web#action=website.website_preview&path=%2F"})" failed Tour link_tools failed at step Pick '/contactus (trigger: ul.ui-autocomplete li div:contains('/contactus (Contact Us)'))
10/09/2026 03:25:44 ERROR
Subbuild # 422540: odoo.tests.result: 1 failed, 0 error(s) of 539 tests when loading database 'rb-6d39a9a-225376-422540'