From 9831636ffbdd4956aadf0c15e77c227f4091cfae Mon Sep 17 00:00:00 2001 From: David Monjoie Date: Wed, 4 Feb 2015 13:21:51 +0100 Subject: [PATCH] [FIX] website_event_sale: fixed test to allow structural dom changes Correction of c3c7aa79a06715c7bf64af6e3c73387c80d00c48, apparently the tour system doesn't click on the a if the selected element is not the a or an element inside of it, even if the selected item only has the a as child. --- .../website_event_sale/static/src/js/website.tour.event_sale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_event_sale/static/src/js/website.tour.event_sale.js b/addons/website_event_sale/static/src/js/website.tour.event_sale.js index addfa1dc69d..21fcc3598bd 100644 --- a/addons/website_event_sale/static/src/js/website.tour.event_sale.js +++ b/addons/website_event_sale/static/src/js/website.tour.event_sale.js @@ -30,7 +30,7 @@ }, { title: "Check the cart", - element: 'li:has(.my_cart_quantity):contains(5)' + element: 'a:has(.my_cart_quantity):contains(5)' }, { title: "Check if the cart have 2 order lines and add one VIP ticket",