/** @odoo-module **/ import { registry } from "@web/core/registry"; import tourUtils from "@website_sale/js/tours/tour_utils"; registry.category("web_tour.tours").add('shop_buy_product', { test: true, url: '/shop', steps: () => [ ...tourUtils.searchProduct("Storage Box"), { content: "select Storage Box", trigger: '.oe_product_cart:first a:contains("Storage Box")', }, { content: "click on add to cart", trigger: '#product_detail form[action^="/shop/cart/update"] #add_to_cart', }, tourUtils.goToCart(), tourUtils.goToCheckout(), ...tourUtils.payWithTransfer(true), ] });