From 13f9a3738512ac6765aff1ae299069f862a603f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Rivas?= Date: Wed, 28 Aug 2024 10:40:03 +0200 Subject: [PATCH] [FIX] Test --- .../static/tests/tours/website_tour.js | 40 ++++++++++--------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/website_sale_product_attachment/static/tests/tours/website_tour.js b/website_sale_product_attachment/static/tests/tours/website_tour.js index 2e52535e3a..52330e9d42 100644 --- a/website_sale_product_attachment/static/tests/tours/website_tour.js +++ b/website_sale_product_attachment/static/tests/tours/website_tour.js @@ -1,22 +1,26 @@ -odoo.define("website_sale_product_attachment.tour", function (require) { - "use strict"; +odoo.define( + "website_sale_product_attachment.tour", + ["web_tour.tour"], + function (require) { + "use strict"; - var tour = require("web_tour.tour"); + var tour = require("web_tour.tour"); - tour.register( - "website_sale_product_attachment_tour", - { - url: "/shop", - test: true, - }, - [ + tour.register( + "website_sale_product_attachment_tour", { - trigger: "a:contains('Customizable Desk')", + test: true, + url: "/shop", }, - { - trigger: "a:contains('Product downloads')", - }, - ] - ); - return {}; -}); + [ + { + trigger: "a:contains('Customizable Desk')", + }, + { + trigger: "a:contains('Product downloads')", + }, + ] + ); + return {}; + } +);