summaryrefslogtreecommitdiff
path: root/addons/website/tests/test_ui.py
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2020-03-10 09:15:25 +0000
committerJeremy Kersten <jke@odoo.com>2020-09-10 21:09:38 +0000
commit02e1b1f659d5f588cc4e52f48217f8e2c7771ad4 (patch)
tree5a93ed649b34a794c8853cb5e9b98fe6f3aec321 /addons/website/tests/test_ui.py
parent14b05235b8b6cec6fbee44bea03b47852d9a513c (diff)
[IMP] website: remove extra step of banner tour
Now that we will write tour by theme, this part is useless. We just keep the old steps that will be not covered by future theme tour. task-2172208
Diffstat (limited to 'addons/website/tests/test_ui.py')
-rw-r--r--addons/website/tests/test_ui.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/addons/website/tests/test_ui.py b/addons/website/tests/test_ui.py
index 88643ec593a..9dab4e6583b 100644
--- a/addons/website/tests/test_ui.py
+++ b/addons/website/tests/test_ui.py
@@ -110,10 +110,7 @@ class TestUiTranslate(odoo.tests.HttpCase):
@odoo.tests.common.tagged('post_install', '-at_install')
class TestUi(odoo.tests.HttpCase):
- def test_01_admin_tour_banner(self):
- self.start_tour("/", 'banner', login='admin', step_delay=100)
-
- def test_02_restricted_editor(self):
+ def test_01_restricted_editor(self):
self.restricted_editor = self.env['res.users'].create({
'name': 'Restricted Editor',
'login': 'restricted',
@@ -125,10 +122,10 @@ class TestUi(odoo.tests.HttpCase):
})
self.start_tour("/", 'restricted_editor', login='restricted')
- def test_03_backend_dashboard(self):
+ def test_02_backend_dashboard(self):
self.start_tour("/", 'backend_dashboard', login='admin')
- def test_04_website_navbar_menu(self):
+ def test_03_website_navbar_menu(self):
website = self.env['website'].search([], limit=1)
self.env['website.menu'].create({
'name': 'Test Tour Menu',
@@ -139,7 +136,7 @@ class TestUi(odoo.tests.HttpCase):
})
self.start_tour("/", 'website_navbar_menu')
- def test_05_specific_website_editor(self):
+ def test_04_specific_website_editor(self):
website_default = self.env['website'].search([], limit=1)
new_website = self.env['website'].create({'name': 'New Website'})
website_editor_assets_view = self.env.ref('website.assets_wysiwyg')