[FIX] website_sale[_event]: add timout for tour.
Seems like this tour crash randomly due to default 10000 ms. This button, in some case, seems to take more than 10000ms (slow server? slow connection ?) to validate the order (cretae invoice, generate PDF, send mail, ...) It is a test to see if increase the timeout could decrease the risk of false positive on the runbot.
This commit is contained in:
@@ -91,6 +91,7 @@ tour.register('event_buy_tickets', {
|
||||
{
|
||||
content: "Last step",
|
||||
trigger: '.oe_website_sale:contains("Thank you for your order")',
|
||||
timeout: 30000,
|
||||
}
|
||||
]
|
||||
);
|
||||
|
||||
@@ -76,6 +76,7 @@ tour.register('shop_buy_product', {
|
||||
{
|
||||
content: "finish",
|
||||
trigger: '.oe_website_sale:contains("Thank you for your order")',
|
||||
timeout: 30000,
|
||||
}
|
||||
]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user