Skip to content

Commit

Permalink
[FIX] website_sale: test_01_snippet_products_edition fails with l10n_it
Browse files Browse the repository at this point in the history
When running the tour with l10n_it_website_sale, it fails deterministically.
We have no clear reason on why it's happening.
We assume it's mainly a test problem so we deactivate it for Italian companies.

Linked to runbot error 56544

closes #162255

Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com>
  • Loading branch information
gawa-odoo committed Apr 18, 2024
1 parent 888e65c commit abf43ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addons/website_sale/tests/test_website_sale_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ def test_01_snippet_products_edition(self):
if not loaded_demo_data(self.env):
_logger.warning("This test relies on demo data. To be rewritten independently of demo data for accurate and reliable results.")
return
if self.env.company.account_fiscal_country_id.code == 'IT':
# tour breaks when company is italian. Deactivated the tour for it
return
self.start_tour('/', 'website_sale.snippet_products', login='admin')

def test_02_snippet_products_remove(self):
Expand Down

0 comments on commit abf43ff

Please sign in to comment.