# Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo.tests import HttpCase, tagged @tagged('-at_install', 'post_install') class TestWebsitePageProperties(HttpCase): def test_website_page_properties_common(self): self.start_tour('/test_view', 'website_page_properties_common', login='admin') def test_website_page_properties_can_publish(self): self.start_tour('/test_website/model_item/1', 'website_page_properties_can_publish', login='admin') def test_website_page_properties_website_page(self): # Create a website page with a different URL to be tested for dependency # tracking self.env['website.page'].create({ 'name': 'Base', 'type': 'qweb', 'arch': '
', 'key': 'test.cool_page', 'url': '/dependency_page', 'website_id': self.env['website'].search([], limit=1).id, }) self.start_tour('/', 'website_page_properties_website_page', login='admin')