Skip to content

Commit

Permalink
[FIX] website_sale_loyalty: fix website_sale_delivery_gift_card tour
Browse files Browse the repository at this point in the history
In this commit, we fix the tour by changing the order of steps at
the end of the tour.

closes odoo#186760

Signed-off-by: Bastien Fafchamps (bafa) <[email protected]>
  • Loading branch information
pipu-odoo committed Nov 8, 2024
1 parent 4b11542 commit 9836881
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ registry.category("web_tour.tours").add('shop_sale_loyalty_delivery', {
trigger: "form[name='coupon_code'] input[name='promo']",
run: "edit 123456",
},
wsTourUtils.confirmOrder(),
{
content: "click on 'Pay'",
content: "click on 'Apply'",
trigger: "a[role='button'].a-submit:contains(Apply)",
run: "click",
},
wsTourUtils.confirmOrder(),
...wsTourUtils.assertCartAmounts({
total: '0.00',
delivery: '5.00'
Expand Down

0 comments on commit 9836881

Please sign in to comment.