From ab6c3f66a38181a274e9309e7c7dbf39ef1f3c95 Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Tue, 17 Apr 2018 15:13:49 +0200 Subject: [PATCH] [FIX] website_sale_wishlist: correct tour for new checkout The website sale wishlist tour checks if you are correctly redirected to the cart. To do so, it checks if the cart title 'Shopping Cart' appears on the screen. But since there is a new checkout in saas-11.3 with 006ce9c88 that removed this title, we need to trigger on something else. --- .../static/src/js/website_sale_tour_wishlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale_wishlist/static/src/js/website_sale_tour_wishlist.js b/addons/website_sale_wishlist/static/src/js/website_sale_tour_wishlist.js index c3e6c9349d8..d510a7f83a6 100644 --- a/addons/website_sale_wishlist/static/src/js/website_sale_tour_wishlist.js +++ b/addons/website_sale_wishlist/static/src/js/website_sale_tour_wishlist.js @@ -111,7 +111,7 @@ tour.register('shop_wishlist', { }, { content: "check that user is redirect - wishlist is empty", - trigger: "h2:contains('Shopping Cart')", + trigger: "#wrap #cart_products", run: function() {}, }, {