[FIX] website_sale_stock_product_configurator : fix filename

In this commit 721efd0fd7e7a1fd78a812a4b752f126b455cbdb there is a typo
in a filename

opw-3341377

closes odoo/odoo#129964

X-original-commit: c4798a1e8e8aa1838a908d79d3bfacdfc6480520
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: Mahdi Cheikh Rouhou (macr) <macr@odoo.com>
This commit is contained in:
Mahdi Cheikh Rouhou (macr)
2023-07-28 14:54:16 +02:00
parent 1afc7cd23c
commit eeee7dc9e7
@@ -9,24 +9,25 @@ registry.category("web_tour.tours").add('website_sale_stock_message_after_close_
steps: () => [{
content: "Select Customizable Desk",
trigger: '.oe_product_cart a:contains("Product With Optional (TEST)")',
},{
content : "Check that the stock quantity is displayed and correct",
trigger : '#threshold_message:contains("30")',
run: function (){},
},{
content : "Add to cart",
}, {
content: "Check that the stock quantity is displayed and correct",
trigger: '#threshold_message:contains("30")',
run: function () { },
}, {
content: "Add to cart",
trigger: '#add_to_cart',
},{
}, {
content: "Continue shoppping",
extra_trigger: '.oe_advanced_configurator_modal',
trigger: 'button span:contains(Continue Shopping)',
run: 'click'
},{
content : "Check that the stock quantity is displayed and correct after adding to cart",
trigger : '#threshold_message:contains("29")',
run: function (){},
}, {
content: "Check that the stock quantity is displayed and correct after adding to cart",
trigger: '#threshold_message:contains("29")',
run: function () { },
}
]});
]
});
registry.category("web_tour.tours").add('website_sale_stock_message_after_close_onfigurator_modal_without_optional_products', {
// This tour relies on a data created from the python test.
@@ -35,17 +36,17 @@ registry.category("web_tour.tours").add('website_sale_stock_message_after_close_
steps: () => [{
content: "Select Office Lamp",
trigger: '.oe_product_cart a:contains("Product Without Optional (TEST)")',
},{
content : "Check that the stock quantity is displayed and correct",
trigger : '#threshold_message:contains("30")',
run: function (){},
},{
content : "Add to cart",
}, {
content: "Check that the stock quantity is displayed and correct",
trigger: '#threshold_message:contains("30")',
run: function () { },
}, {
content: "Add to cart",
trigger: '#add_to_cart',
},{
content : "Check that the stock quantity is displayed and correct after adding to cart",
trigger : '#threshold_message:contains("29")',
run: function (){},
}, {
content: "Check that the stock quantity is displayed and correct after adding to cart",
trigger: '#threshold_message:contains("29")',
run: function () { },
}
]});
]
});