From 5920fc6a91ce5fd73464232a18c6728ab7b996ff Mon Sep 17 00:00:00 2001 From: Nhomar Hernandez Date: Tue, 26 May 2015 18:37:59 +0200 Subject: [PATCH] [FIX] website_sale_options: Test not enough restrictive The `shop_customize` test (`website_sale.test.js`) relies on a link containing 'shop'. The probability to have several links in the ecommerce containing 'Shop' is high, and we therefore specify a bit more the test to prevent the test to fail if other modules (community/extra) add links containing 'Shop' within the ecommerce opw-640639 --- addons/website_sale_options/static/src/js/website_sale.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale_options/static/src/js/website_sale.test.js b/addons/website_sale_options/static/src/js/website_sale.test.js index b4d07b3f6da..e1ab16d3e35 100644 --- a/addons/website_sale_options/static/src/js/website_sale.test.js +++ b/addons/website_sale_options/static/src/js/website_sale.test.js @@ -71,7 +71,7 @@ }, { title: "click on shop", - element: "a:contains(Shop)", + element: "a:contains(Continue Shopping)", waitNot: '#products_grid_before .js_attributes', }, {