[FIX] website_sale: fix products_snippet_recently_viewed tour
The tour is failing undeterministically, seemingly because a step is done too soon after the previous one without giving the time for the website to reload everything as expected. By reordering the steps a bit, this issue can be avoided and fix the test issue. closes odoo/odoo#105891 X-original-commit: ff91efcda8cb80da4c376e74714f4c0dedad63c1 Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
This commit is contained in:
@@ -63,9 +63,9 @@ wTourUtils.registerWebsitePreviewTour('website_sale.products_snippet_recently_vi
|
||||
[
|
||||
wTourUtils.dragNDrop(productsSnippet),
|
||||
wTourUtils.clickOnSnippet(productsSnippet),
|
||||
...changeTemplate('dynamic_filter_template_product_product_add_to_cart'),
|
||||
wTourUtils.changeOption(optionBlock, 'we-select[data-name="filter_opt"] we-toggler', 'filter'),
|
||||
wTourUtils.changeOption(optionBlock, 'we-select[data-name="filter_opt"] we-button:contains("Recently Viewed")', 'filter'),
|
||||
...changeTemplate('dynamic_filter_template_product_product_add_to_cart'),
|
||||
...wTourUtils.clickOnSave(),
|
||||
{
|
||||
content: 'make delete icon appear',
|
||||
|
||||
Reference in New Issue
Block a user