Skip to Content

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

State: Failed finished in 375m

PR State: merged

PR Author: Roy Le

PR Author Email:

PR: #1301

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: ed7f209cf33b2a588c01eaab3d3b14834558910c

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: 18.0

Age:

Up-time: