[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:
Jeremy Kersten
2018-04-12 12:48:21 +02:00
parent 9bf1f97d9b
commit 3ac4b1ab51
2 changed files with 2 additions and 0 deletions
@@ -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,
}
]
);