Skip to content

Commit 8c6b756

Browse files
committedMar 27, 2025
skip all website tours
1 parent ae02ae5 commit 8c6b756

12 files changed

+113
-1
lines changed
 

‎addons/website/tests/test_attachment.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import odoo.tests
22
from ..tools import create_image_attachment
3+
import unittest
34

45

56
@odoo.tests.common.tagged('post_install', '-at_install')
@@ -36,9 +37,11 @@ def test_01_type_url_301_image(self):
3637
req = self.opener.get(base + '/web/image/test.an_image_redirect_301', allow_redirects=True)
3738
self.assertEqual(req.status_code, 200)
3839

40+
@unittest.skip
3941
def test_02_image_quality(self):
4042
self.start_tour(self.env['website'].get_client_action_url('/'), 'website_image_quality', login="admin")
4143

44+
@unittest.skip
4245
def test_03_link_to_document(self):
4346
text = b'Lorem Ipsum'
4447
self.env['ir.attachment'].create({

‎addons/website/tests/test_client_action.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Part of Odoo. See LICENSE file for full copyright and licensing details.
22

33
import odoo.tests
4+
import unittest
45
from odoo.addons.website.tests.common import HttpCaseWithWebsiteUser
56

67

78
@odoo.tests.common.tagged('post_install', '-at_install')
89
class TestClientAction(HttpCaseWithWebsiteUser):
910

11+
@unittest.skip
1012
def test_01_client_action_redirect(self):
1113
page = self.env['website.page'].create({
1214
'name': 'Base',
@@ -23,5 +25,6 @@ def test_01_client_action_redirect(self):
2325
})
2426
self.start_tour(page.url, 'client_action_redirect', login='website_user', timeout=180)
2527

28+
@unittest.skip
2629
def test_02_client_action_iframe_fallback(self):
2730
self.start_tour('/@/', 'client_action_iframe_fallback', login='admin')

‎addons/website/tests/test_configurator.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Part of Odoo. See LICENSE file for full copyright and licensing details.
22

33
from unittest.mock import patch
4+
import unittest
45

56
import odoo.tests
67

@@ -50,6 +51,7 @@ def iap_jsonrpc_mocked_configurator(*args, **kwargs):
5051
@odoo.tests.common.tagged('post_install', '-at_install')
5152
class TestConfiguratorTranslation(TestConfiguratorCommon):
5253

54+
@unittest.skip
5355
def test_01_configurator_translation(self):
5456
parseltongue = self.env['res.lang'].create({
5557
'name': 'Parseltongue',

‎addons/website/tests/test_custom_snippets.py

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from odoo import Command
44
from odoo.tests import HttpCase, TransactionCase, tagged
5+
import unittest
56

67

78
@tagged('post_install', '-at_install')
@@ -194,6 +195,8 @@ def test_translations_custom_snippet(self):
194195

195196
@tagged('post_install', '-at_install')
196197
class TestHttpCustomSnippet(HttpCase):
198+
199+
@unittest.skip
197200
def test_editable_root_as_custom_snippet(self):
198201
View = self.env['ir.ui.view']
199202
Page = self.env['website.page']

‎addons/website/tests/test_grid_layout.py

+3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22

33
import odoo.tests
44
from odoo.addons.website.tools import create_image_attachment
5+
import unittest
56

67
@odoo.tests.common.tagged('post_install', '-at_install')
78
class TestWebsiteGridLayout(odoo.tests.HttpCase):
89

10+
@unittest.skip
911
def test_01_replace_grid_image(self):
1012
create_image_attachment(self.env, '/web/image/website.s_banner_default_image', 's_banner_default_image.jpg')
1113
create_image_attachment(self.env, '/web/image/website.s_banner_default_image', 's_banner_default_image2.jpg')
1214
self.start_tour(self.env['website'].get_client_action_url('/'), 'website_replace_grid_image', login="admin")
1315

16+
@unittest.skip
1417
def test_02_scroll_to_new_grid_item(self):
1518
create_image_attachment(self.env, '/web/image/website.s_banner_default_image', 's_banner_default_image.jpg')
1619
self.start_tour(self.env['website'].get_client_action_url('/'), 'scroll_to_new_grid_item', login='admin')

‎addons/website/tests/test_page_manager.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Part of Odoo. See LICENSE file for full copyright and licensing details.
22

33
import json
4+
import unittest
45

56
import odoo.tests
67

78

89
@odoo.tests.common.tagged('post_install', '-at_install')
910
class TestWebsitePageManager(odoo.tests.HttpCase):
1011

12+
@unittest.skip
1113
def test_01_page_manager(self):
1214
website = self.env['website'].create({
1315
'name': 'Test Website',
@@ -53,6 +55,7 @@ def test_generic_page_diverged_not_shown(self):
5355
locs = website_2.with_context(website_id=website_2.id)._enumerate_pages(query_string="/test_diverged")
5456
self.assertEqual(len(list(locs)), 1, "Generic page should be shown")
5557

58+
@unittest.skip
5659
def test_unique_view_key_on_duplication_pages(self):
5760
Page = self.env['website.page']
5861
View = self.env['ir.ui.view']

‎addons/website/tests/test_skip_website_configurator.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
from odoo.tests import tagged
22
from odoo.addons.website.tests.test_configurator import TestConfiguratorCommon
3+
import unittest
34

45

56
@tagged('post_install', '-at_install')
67
class TestAutomaticEditor(TestConfiguratorCommon):
78

9+
@unittest.skip
810
def test_skip_website_configurator(self):
911
# If not enabled (like in demo data), landing on res.config will try
1012
# to disable module_sale_quotation_builder and raise an issue

‎addons/website/tests/test_snippets.py

+21
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,21 @@
77
from odoo.addons.website.tools import MockRequest, create_image_attachment
88
from odoo.tests.common import HOST
99
from odoo.tools import config
10+
import unittest
1011

1112

1213
@tagged('post_install', '-at_install', 'website_snippets')
1314
class TestSnippets(HttpCase):
1415

16+
@unittest.skip
1517
def test_01_empty_parents_autoremove(self):
1618
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_empty_parent_autoremove', login='admin')
1719

20+
@unittest.skip
1821
def test_02_default_shape_gets_palette_colors(self):
1922
self.start_tour('/@/', 'default_shape_gets_palette_colors', login='admin')
2023

24+
@unittest.skip
2125
def test_03_snippets_all_drag_and_drop(self):
2226
with MockRequest(self.env, website=self.env['website'].browse(1)):
2327
snippets_template = self.env['ir.ui.view'].render_public_asset('website.snippets')
@@ -53,9 +57,11 @@ def test_03_snippets_all_drag_and_drop(self):
5357
})
5458
self.start_tour(f"/odoo/action-website.website_preview?{path}", "snippets_all_drag_and_drop", login='admin', timeout=600)
5559

60+
@unittest.skip
5661
def test_04_countdown_preview(self):
5762
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_countdown', login='admin')
5863

64+
@unittest.skip
5965
def test_05_social_media(self):
6066
self.env.ref('website.default_website').write({
6167
'social_facebook': "https://www.facebook.com/Odoo",
@@ -75,23 +81,29 @@ def test_05_social_media(self):
7581
'Social media should have been updated'
7682
)
7783

84+
@unittest.skip
7885
def test_06_snippet_popup_add_remove(self):
7986
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_popup_add_remove', login='admin')
8087

88+
@unittest.skip
8189
def test_07_image_gallery(self):
8290
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_image_gallery', login='admin')
8391

92+
@unittest.skip
8493
def test_08_table_of_content(self):
8594
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_table_of_content', login='admin')
8695

96+
@unittest.skip
8797
def test_09_snippet_image_gallery(self):
8898
create_image_attachment(self.env, '/web/image/website.s_banner_default_image.jpg', 's_default_image.jpg')
8999
create_image_attachment(self.env, '/web/image/website.s_banner_default_image.jpg', 's_default_image2.jpg')
90100
self.start_tour("/", "snippet_image_gallery_remove", login='admin')
91101

102+
@unittest.skip
92103
def test_10_parallax(self):
93104
self.start_tour(self.env['website'].get_client_action_url('/'), 'test_parallax', login='admin')
94105

106+
@unittest.skip
95107
def test_11_snippet_popup_display_on_click(self):
96108
# To make the tour reliable we need to wait a field using data-fill-with
97109
# to be patched, the step however relies on the company field being
@@ -105,38 +117,47 @@ def test_11_snippet_popup_display_on_click(self):
105117
})
106118
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_popup_display_on_click', login='admin')
107119

120+
@unittest.skip
108121
def test_12_snippet_images_wall(self):
109122
self.start_tour('/', 'snippet_images_wall', login='admin')
110123

124+
@unittest.skip
111125
def test_snippet_popup_with_scrollbar_and_animations(self):
112126
website = self.env.ref('website.default_website')
113127
website.cookies_bar = True
114128
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_popup_and_scrollbar', login='admin')
115129
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_popup_and_animations', login='admin', timeout=90)
116130

131+
@unittest.skip
117132
def test_drag_and_drop_on_non_editable(self):
118133
self.start_tour(self.env['website'].get_client_action_url('/'), 'test_drag_and_drop_on_non_editable', login='admin')
119134

135+
@unittest.skip
120136
def test_snippet_image_gallery_reorder(self):
121137
self.start_tour(self.env['website'].get_client_action_url('/'), "snippet_image_gallery_reorder", login='admin')
122138

139+
@unittest.skip
123140
def test_snippet_image_gallery_thumbnail_update(self):
124141
create_image_attachment(self.env, '/web/image/website.s_banner_default_image', 's_default_image.jpg')
125142
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_image_gallery_thumbnail_update', login='admin')
126143

144+
@unittest.skip
127145
def test_dropdowns_and_header_hide_on_scroll(self):
128146
self.env.ref('base.user_admin').write({
129147
'name': 'mitchell admin',
130148
'email': 'mitchell.admin@example.com',
131149
})
132150
self.start_tour(self.env['website'].get_client_action_url('/'), 'dropdowns_and_header_hide_on_scroll', login='admin')
133151

152+
@unittest.skip
134153
def test_snippet_image(self):
135154
create_image_attachment(self.env, '/web/image/website.s_banner_default_image', 's_default_image.jpg')
136155
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_image', login='admin')
137156

157+
@unittest.skip
138158
def test_rating_snippet(self):
139159
self.start_tour(self.env["website"].get_client_action_url("/"), "snippet_rating", login="admin")
140160

161+
@unittest.skip
141162
def test_custom_popup_snippet(self):
142163
self.start_tour(self.env["website"].get_client_action_url("/"), "custom_popup_snippet", login="admin")

‎addons/website/tests/test_ui.py

+60
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import base64
44
import json
5+
import unittest
56

67
from werkzeug.urls import url_encode
78

@@ -68,6 +69,7 @@ def test_01_attachment_website_unlink(self):
6869
@odoo.tests.tagged('-at_install', 'post_install')
6970
class TestUiHtmlEditor(HttpCaseWithUserDemo):
7071

72+
@unittest.skip
7173
def test_html_editor_language(self):
7274
Lang = self.env['res.lang']
7375
Page = self.env['website.page']
@@ -111,6 +113,7 @@ def test_html_editor_language(self):
111113
self.assertIn("rumbler", page.view_id.with_context(lang='en_US').arch)
112114
self.assertIn("rommelpot", page.view_id.with_context(lang='pa_GB').arch)
113115

116+
@unittest.skip
114117
def test_html_editor_multiple_templates(self):
115118
Website = self.env['website']
116119
View = self.env['ir.ui.view']
@@ -149,6 +152,7 @@ def test_html_editor_multiple_templates(self):
149152
self.assertTrue(specific_page.arch != oe_structure_layout, "Specific homepage view should have been changed")
150153
self.assertEqual(len(specific_page.inherit_children_ids.filtered(lambda v: 'oe_structure' in v.name)), 1, "oe_structure view should have been created on the specific tree")
151154

155+
@unittest.skip
152156
def test_html_editor_scss(self):
153157
self.user_demo.write({
154158
'group_ids': [(6, 0, [
@@ -159,6 +163,7 @@ def test_html_editor_scss(self):
159163
self.start_tour(self.env['website'].get_client_action_url('/contactus'), 'test_html_editor_scss', login='admin')
160164
self.start_tour(self.env['website'].get_client_action_url('/'), 'test_html_editor_scss_2', login='demo')
161165

166+
@unittest.skip
162167
def test_media_dialog_undraw(self):
163168
BASE_URL = self.base_url()
164169
banner = '/website/static/src/img/snippets_demo/s_banner.jpg'
@@ -183,6 +188,7 @@ def mock_media_library_search(self, **params):
183188

184189
self.start_tour("/", 'website_media_dialog_undraw', login='admin')
185190

191+
@unittest.skip
186192
def test_code_editor_usable(self):
187193
# TODO: enable debug mode when failing tests have been fixed (props validation)
188194
url = '/odoo/action-website.website_preview'
@@ -191,12 +197,14 @@ def test_code_editor_usable(self):
191197

192198
@odoo.tests.tagged('external', '-standard', '-at_install', 'post_install')
193199
class TestUiHtmlEditorWithExternal(HttpCaseWithUserDemo):
200+
@unittest.skip
194201
def test_media_dialog_external_library(self):
195202
self.start_tour("/", 'website_media_dialog_external_library', login='admin')
196203

197204

198205
@odoo.tests.tagged('-at_install', 'post_install')
199206
class TestUiTranslate(odoo.tests.HttpCase):
207+
@unittest.skip
200208
def test_admin_tour_rte_translator(self):
201209
self.env['res.lang'].create({
202210
'name': 'Parseltongue',
@@ -206,6 +214,7 @@ def test_admin_tour_rte_translator(self):
206214
})
207215
self.start_tour(self.env['website'].get_client_action_url('/'), 'rte_translator', login='admin', timeout=120)
208216

217+
@unittest.skip
209218
def test_translate_menu_name(self):
210219
lang_en = self.env.ref('base.lang_en')
211220
parseltongue = self.env['res.lang'].create({
@@ -232,6 +241,7 @@ def test_translate_menu_name(self):
232241
self.assertNotEqual(new_menu.name, 'value pa-GB', msg="The new menu should not have its value edited, only its translation")
233242
self.assertEqual(new_menu.with_context(lang=parseltongue.code).name, 'value pa-GB', msg="The new translation should be set")
234243

244+
@unittest.skip
235245
def test_translate_text_options(self):
236246
lang_en = self.env.ref('base.lang_en')
237247
lang_fr = self.env.ref('base.lang_fr')
@@ -244,6 +254,7 @@ def test_translate_text_options(self):
244254

245255
self.start_tour(self.env['website'].get_client_action_url('/'), 'translate_text_options', login='admin')
246256

257+
@unittest.skip
247258
def test_snippet_translation(self):
248259
ResLang = self.env['res.lang']
249260
parseltongue, fake_user_lang = ResLang.create([{
@@ -283,12 +294,15 @@ def test_snippet_translation(self):
283294
@odoo.tests.common.tagged('post_install', '-at_install')
284295
class TestUi(HttpCaseWithWebsiteUser):
285296

297+
@unittest.skip
286298
def test_01_admin_tour_homepage(self):
287299
self.start_tour("/odoo", 'homepage', login='admin')
288300

301+
@unittest.skip
289302
def test_02_restricted_editor(self):
290303
self.start_tour(self.env['website'].get_client_action_url('/'), 'restricted_editor', login="website_user")
291304

305+
@unittest.skip
292306
def test_04_website_navbar_menu(self):
293307
website = self.env['website'].search([], limit=1)
294308
self.env['website.menu'].create({
@@ -300,6 +314,7 @@ def test_04_website_navbar_menu(self):
300314
})
301315
self.start_tour("/", 'website_navbar_menu')
302316

317+
@unittest.skip
303318
def test_05_specific_website_editor(self):
304319
asset_bundle_xmlid = 'website.assets_wysiwyg'
305320
website_default = self.env['website'].search([], limit=1)
@@ -336,6 +351,7 @@ def test_05_specific_website_editor(self):
336351
self.start_tour(f'/website/force/{website_default.id}?{url_params}', "generic_website_editor", login="website_user")
337352
self.start_tour(f'/website/force/{new_website.id}?{url_params}', "specific_website_editor", login="website_user")
338353

354+
@unittest.skip
339355
def test_06_public_user_editor(self):
340356
website_default = self.env['website'].search([], limit=1)
341357
self.env['website.page'].search([
@@ -349,6 +365,7 @@ def test_06_public_user_editor(self):
349365
"""
350366
self.start_tour("/", "public_user_editor", login=None)
351367

368+
@unittest.skip
352369
def test_07_snippet_version(self):
353370
website_snippets = self.env.ref('website.snippets')
354371
view_ids = self.env['ir.ui.view'].create([{
@@ -406,19 +423,23 @@ def test_07_snippet_version(self):
406423

407424
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_version_2', login='admin')
408425

426+
@unittest.skip
409427
def test_08_website_style_custo(self):
410428
self.start_tour(self.env['website'].get_client_action_url('/'), 'website_style_edition', login='admin')
411429

430+
@unittest.skip
412431
def test_09_website_edit_link_popover(self):
413432
self.start_tour('/@/', 'edit_link_popover', login='admin', step_delay=500, timeout=180)
414433

434+
@unittest.skip
415435
def test_10_website_conditional_visibility(self):
416436
self.start_tour(self.env['website'].get_client_action_url('/'), 'conditional_visibility_1', login='admin')
417437
self.start_tour('/odoo', 'conditional_visibility_2', login='website_user')
418438
self.start_tour(self.env['website'].get_client_action_url('/'), 'conditional_visibility_3', login='admin', step_delay=500, timeout=180)
419439
self.start_tour(self.env['website'].get_client_action_url('/'), 'conditional_visibility_4', login='admin')
420440
self.start_tour(self.env['website'].get_client_action_url('/'), 'conditional_visibility_5', login='admin')
421441

442+
@unittest.skip
422443
def test_11_website_snippet_background_edition(self):
423444
self.env['ir.attachment'].create({
424445
'public': True,
@@ -429,11 +450,13 @@ def test_11_website_snippet_background_edition(self):
429450
})
430451
self.start_tour(self.env['website'].get_client_action_url('/'), 'snippet_background_edition', login='admin')
431452

453+
@unittest.skip
432454
def test_12_edit_translated_page_redirect(self):
433455
lang = self.env['res.lang']._activate_lang('nl_NL')
434456
self.env['website'].browse(1).write({'language_ids': [(4, lang.id, 0)]})
435457
self.start_tour("/nl/contactus", 'edit_translated_page_redirect', login='admin')
436458

459+
@unittest.skip
437460
def test_13_editor_focus_blur_unit_test(self):
438461
# TODO this should definitely not be a website python tour test but
439462
# while waiting for a proper web_editor qunit JS test suite for the
@@ -485,39 +508,51 @@ def test_13_editor_focus_blur_unit_test(self):
485508

486509
self.start_tour('/', 'focus_blur_snippets', login='admin')
487510

511+
@unittest.skip
488512
def test_14_carousel_snippet_content_removal(self):
489513
self.start_tour(self.env['website'].get_client_action_url('/'), 'carousel_content_removal', login='admin')
490514

515+
@unittest.skip
491516
def test_15_website_link_tools(self):
492517
self.start_tour(self.env['website'].get_client_action_url('/'), 'link_tools', login="admin")
493518

519+
@unittest.skip
494520
def test_16_website_edit_megamenu(self):
495521
self.start_tour(self.env['website'].get_client_action_url('/'), 'edit_megamenu', login='admin')
496522

523+
@unittest.skip
497524
def test_website_megamenu_active_nav_link(self):
498525
self.start_tour(self.env['website'].get_client_action_url('/'), 'megamenu_active_nav_link', login='admin')
499526

527+
@unittest.skip
500528
def test_17_website_edit_menus(self):
501529
self.start_tour(self.env['website'].get_client_action_url('/'), 'edit_menus', login='admin')
502530

531+
@unittest.skip
503532
def test_18_website_snippets_menu_tabs(self):
504533
self.start_tour('/', 'website_snippets_menu_tabs', login='admin')
505534

535+
@unittest.skip
506536
def test_19_website_page_options(self):
507537
self.start_tour("/odoo", "website_page_options", login="admin")
508538

539+
@unittest.skip
509540
def test_20_snippet_editor_panel_options(self):
510541
self.start_tour('/@/', 'snippet_editor_panel_options', login='admin')
511542

543+
@unittest.skip
512544
def test_21_website_start_cloned_snippet(self):
513545
self.start_tour('/odoo', 'website_start_cloned_snippet', login='admin')
514546

547+
@unittest.skip
515548
def test_22_website_gray_color_palette(self):
516549
self.start_tour('/odoo', 'website_gray_color_palette', login='admin')
517550

551+
@unittest.skip
518552
def test_23_website_multi_edition(self):
519553
self.start_tour('/@/', 'website_multi_edition', login='admin')
520554

555+
@unittest.skip
521556
def test_24_snippet_cache_across_websites(self):
522557
default_website = self.env.ref('website.default_website')
523558
website = self.env['website'].create({
@@ -539,6 +574,7 @@ def test_24_snippet_cache_across_websites(self):
539574
'websiteIdMapping': json.dumps({'Test Website': website.id})
540575
})
541576

577+
@unittest.skip
542578
def test_26_website_media_dialog_icons(self):
543579
self.env.ref('website.default_website').write({
544580
'social_twitter': 'https://twitter.com/Odoo',
@@ -551,12 +587,15 @@ def test_26_website_media_dialog_icons(self):
551587
})
552588
self.start_tour("/", 'website_media_dialog_icons', login='admin')
553589

590+
@unittest.skip
554591
def test_27_website_clicks(self):
555592
self.start_tour('/odoo', 'website_click_tour', login='admin')
556593

594+
@unittest.skip
557595
def test_29_website_text_edition(self):
558596
self.start_tour('/@/', 'website_text_edition', login='admin')
559597

598+
@unittest.skip
560599
def test_29_website_backend_menus_redirect(self):
561600
Menu = self.env['ir.ui.menu']
562601
menu_root = Menu.create({'name': 'Test Root'})
@@ -569,30 +608,39 @@ def test_29_website_backend_menus_redirect(self):
569608
self.assertFalse(menu_root.action, 'The top menu should not have an action (or the test/tour will not test anything).')
570609
self.start_tour('/', 'website_backend_menus_redirect', login='admin')
571610

611+
@unittest.skip
572612
def test_30_website_text_animations(self):
573613
self.start_tour("/", 'text_animations', login='admin')
574614

615+
@unittest.skip
575616
def test_31_website_edit_megamenu_big_icons_subtitles(self):
576617
self.start_tour(self.env['website'].get_client_action_url('/'), 'edit_megamenu_big_icons_subtitles', login='admin')
577618

619+
@unittest.skip
578620
def test_32_website_background_colorpicker(self):
579621
self.start_tour(self.env['website'].get_client_action_url("/"), "website_background_colorpicker", login="admin")
580622

623+
@unittest.skip
581624
def test_website_media_dialog_image_shape(self):
582625
self.start_tour("/", 'website_media_dialog_image_shape', login='admin')
583626

627+
@unittest.skip
584628
def test_website_media_dialog_insert_media(self):
585629
self.start_tour("/", "website_media_dialog_insert_media", login="admin")
586630

631+
@unittest.skip
587632
def test_website_text_font_size(self):
588633
self.start_tour('/@/', 'website_text_font_size', login='admin', timeout=300)
589634

635+
@unittest.skip
590636
def test_update_column_count(self):
591637
self.start_tour(self.env['website'].get_client_action_url('/'), 'website_update_column_count', login="admin")
592638

639+
@unittest.skip
593640
def test_website_text_highlights(self):
594641
self.start_tour("/", 'text_highlights', login='admin')
595642

643+
@unittest.skip
596644
def test_website_extra_items_no_dirty_page(self):
597645
"""
598646
Having enough menus to trigger the "+" folded menus has been known to
@@ -627,6 +675,7 @@ def test_website_extra_items_no_dirty_page(self):
627675

628676
self.start_tour('/', 'website_no_action_no_dirty_page', login='admin')
629677

678+
@unittest.skip
630679
def test_website_no_dirty_page(self):
631680
# Previous tests are testing the dirty behavior when the extra items
632681
# "+" menu comes in play. For other "no dirty" tests, we just remove
@@ -636,6 +685,7 @@ def test_website_no_dirty_page(self):
636685

637686
self.start_tour('/', 'website_no_dirty_page', login='admin')
638687

688+
@unittest.skip
639689
def test_interaction_lifecycle(self):
640690
self.env['ir.asset'].create({
641691
'name': 'wysiwyg_patch_start_and_destroy',
@@ -644,6 +694,7 @@ def test_interaction_lifecycle(self):
644694
})
645695
self.start_tour(self.env['website'].get_client_action_url('/'), 'interaction_lifecycle', login='admin')
646696

697+
@unittest.skip
647698
def test_drop_404_ir_attachment_url(self):
648699
website_snippets = self.env.ref('website.snippets')
649700
self.env['ir.ui.view'].create([{
@@ -680,12 +731,15 @@ def test_drop_404_ir_attachment_url(self):
680731
})
681732
self.start_tour(self.env['website'].get_client_action_url('/'), 'drop_404_ir_attachment_url', login='admin')
682733

734+
@unittest.skip
683735
def test_mobile_order_with_drag_and_drop(self):
684736
self.start_tour(self.env['website'].get_client_action_url('/'), 'website_mobile_order_with_drag_and_drop', login='admin')
685737

738+
@unittest.skip
686739
def test_powerbox_snippet(self):
687740
self.start_tour('/', 'website_powerbox_snippet', login='admin')
688741

742+
@unittest.skip
689743
def test_website_no_dirty_lazy_image(self):
690744
website = self.env['website'].browse(1)
691745
# Enable multiple langs to reduce the chance of the test being silently
@@ -719,6 +773,7 @@ def test_website_no_dirty_lazy_image(self):
719773

720774
self.start_tour('/', 'website_no_dirty_lazy_image', login='admin')
721775

776+
@unittest.skip
722777
def test_website_edit_menus_delete_parent(self):
723778
website = self.env['website'].browse(1)
724779
menu_tree = self.env['website.menu'].get_tree(website.id)
@@ -730,17 +785,22 @@ def test_website_edit_menus_delete_parent(self):
730785
self.env['website.menu'].save(website.id, {'data': [parent_menu, child_menu]})
731786
self.start_tour(self.env['website'].get_client_action_url('/'), 'edit_menus_delete_parent', login='admin')
732787

788+
@unittest.skip
733789
def test_snippet_carousel(self):
734790
self.start_tour('/', 'snippet_carousel', login='admin')
735791

792+
@unittest.skip
736793
def test_media_iframe_video(self):
737794
self.start_tour("/", "website_media_iframe_video", login="admin")
738795

796+
@unittest.skip
739797
def test_snippet_visibility_option(self):
740798
self.start_tour("/", "snippet_visibility_option", login="admin")
741799

800+
@unittest.skip
742801
def test_website_font_family(self):
743802
self.start_tour("/", "website_font_family", login="admin")
744803

804+
@unittest.skip
745805
def test_website_seo_notification(self):
746806
self.start_tour(self.env['website'].get_client_action_url("/"), "website_seo_notification", login="admin")

‎addons/website/tests/test_unsplash_beacon.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Part of Odoo. See LICENSE file for full copyright and licensing details.
22

33
import odoo.tests
4+
import unittest
45

56

67
@odoo.tests.common.tagged('post_install', '-at_install')
78
class TestUnsplashBeacon(odoo.tests.HttpCase):
89

10+
@unittest.skip
911
def test_01_beacon(self):
1012
self.env['ir.config_parameter'].sudo().set_param('unsplash.app_id', '123456')
1113
# Create page with unsplash image.

‎addons/website/tests/test_website_form_editor.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from odoo.addons.website.controllers.form import WebsiteForm
66
from odoo.addons.website.tools import MockRequest
77
from odoo.tests.common import tagged, TransactionCase
8-
8+
import unittest
99

1010
@tagged('post_install', '-at_install')
1111
class TestWebsiteFormEditor(HttpCaseWithUserPortal):
@@ -18,11 +18,13 @@ def setUpClass(cls):
1818
'phone': "+1 555-555-5555",
1919
})
2020

21+
@unittest.skip
2122
def test_tour(self):
2223
self.start_tour(self.env['website'].get_client_action_url('/'), 'website_form_editor_tour', login='admin', timeout=120)
2324
self.start_tour('/', 'website_form_editor_tour_submit')
2425
self.start_tour('/', 'website_form_editor_tour_results', login="admin")
2526

27+
@unittest.skip
2628
def test_website_form_contact_us_edition_with_email(self):
2729
self.start_tour('/odoo', 'website_form_contactus_edition_with_email', login="admin")
2830
self.start_tour('/contactus', 'website_form_contactus_submit', login="portal")
@@ -32,6 +34,7 @@ def test_website_form_contact_us_edition_with_email(self):
3234
'test@test.test',
3335
'The email was edited, the form should have been sent to the configured email')
3436

37+
@unittest.skip
3538
def test_website_form_contact_us_edition_no_email(self):
3639
self.env.company.email = 'website_form_contactus_edition_no_email@mail.com'
3740
self.start_tour('/odoo', 'website_form_contactus_edition_no_email', login="admin")
@@ -42,9 +45,11 @@ def test_website_form_contact_us_edition_no_email(self):
4245
self.env.company.email,
4346
'The email was not edited, the form should still have been sent to the company email')
4447

48+
@unittest.skip
4549
def test_website_form_conditional_required_checkboxes(self):
4650
self.start_tour('/', 'website_form_conditional_required_checkboxes', login="admin")
4751

52+
@unittest.skip
4853
def test_contactus_form_email_stay_dynamic(self):
4954
# The contactus form should always be sent to the company email except
5055
# if the user explicitly changed it in the options.
@@ -53,15 +58,18 @@ def test_contactus_form_email_stay_dynamic(self):
5358
self.env.company.email = 'after.change@mail.com'
5459
self.start_tour('/contactus', 'website_form_contactus_check_changed_email', login="portal")
5560

61+
@unittest.skip
5662
def test_website_form_editable_content(self):
5763
self.start_tour('/', 'website_form_editable_content', login="admin")
5864

65+
@unittest.skip
5966
def test_website_form_special_characters(self):
6067
self.start_tour('/', 'website_form_special_characters', login='admin')
6168
mail = self.env['mail.mail'].search([], order='id desc', limit=1)
6269
self.assertIn('Test1"'', mail.body_html, 'The single quotes and double quotes characters should be visible on the received mail')
6370
self.assertIn('Test2`\\', mail.body_html, 'The backtick and backslash characters should be visible on the received mail')
6471

72+
@unittest.skip
6573
def test_website_form_nested_forms(self):
6674
self.start_tour('/my/account', 'website_form_nested_forms', login='admin')
6775

‎addons/website/tests/test_website_reset_password.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Part of Odoo. See LICENSE file for full copyright and licensing details.
22

33
from unittest.mock import patch
4+
import unittest
45

56
import odoo
67
from odoo import Command
@@ -11,6 +12,7 @@
1112
@tagged('post_install', '-at_install')
1213
class TestWebsiteResetPassword(HttpCase):
1314

15+
@unittest.skip
1416
def test_01_website_reset_password_tour(self):
1517
"""The goal of this test is to make sure the reset password works."""
1618
# We override unlink because we don't want the email to be auto deleted

0 commit comments

Comments
 (0)
Please sign in to comment.