[FIX] website_sale_coupon: adapt test tour to new checkout flow

This commit is contained in:
Christophe Simonis
2018-09-28 15:11:19 +02:00
parent b3d9496263
commit 1c4b562d6a
+2 -7
View File
@@ -169,16 +169,11 @@ tour.register('shop_sale_coupon', {
/* 4. Check /shop/payment does not break the `merged discount lines split per tax` (eg: with _compute_tax_id) */
{
content: "go to checkout",
trigger: 'a[href="/shop/checkout"]',
},
{
content: "Confirm checkout",
extra_trigger: "div.all_shipping .panel",
trigger: 'a[href="/shop/confirm_order"]',
trigger: 'a[href="/shop/checkout?express=1"]',
},
{
content: "check total is unchanged",
trigger: '.oe_currency_value:contains("967.50")',
trigger: 'tr#order_total .oe_currency_value:contains("967.50")',
run: function () {}, // it's a check
},
]