From ffd1c6868dc374e6c1c9a2bd2c5219c503749d62 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Mon, 8 Dec 2014 18:45:34 +0100 Subject: [PATCH] [FIX] website_sale: shop_buy_product: use properties selector --- .../website_sale/static/src/js/website_sale_tour_buy.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/website_sale/static/src/js/website_sale_tour_buy.js b/addons/website_sale/static/src/js/website_sale_tour_buy.js index 742bf975929..eccfd936565 100644 --- a/addons/website_sale/static/src/js/website_sale_tour_buy.js +++ b/addons/website_sale/static/src/js/website_sale_tour_buy.js @@ -25,8 +25,8 @@ }, { title: "click on add to cart", - waitFor: 'label:contains(32 GB) input[checked]', - element: 'form[action^="/shop/cart/update"] .btn', + waitFor: 'label:contains(32 GB) input:propChecked', + element: '#product_detail form[action^="/shop/cart/update"] .btn', }, { title: "add suggested", @@ -40,7 +40,7 @@ }, { title: "remove Headphones", - waitFor: '#cart_products tr:contains("32 GB") input.js_quantity[value=2]', + waitFor: '#cart_products tr:contains("32 GB") input.js_quantity:propValue(2)', element: '#cart_products tr:contains("Apple In-Ear Headphones") a.js_add_cart_json:first', }, { @@ -51,7 +51,7 @@ }, { title: "go to checkout", - waitFor: '#cart_products input.js_quantity[value=1]', + waitFor: '#cart_products input.js_quantity:propValue(1)', element: 'a[href="/shop/checkout"]', }, {