blob: 42e314d0c0781bc99ca8b0123cd42290f44b2245 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.base.tests.common import HttpCaseWithUserDemo
from odoo.tests import tagged
@tagged('post_install', '-at_install')
class TestUi(HttpCaseWithUserDemo):
def test_01_admin_forum_tour(self):
self.start_tour("/", 'question', login="admin", step_delay=100)
def test_02_demo_question(self):
forum = self.env.ref('website_forum.forum_help')
demo = self.user_demo
demo.karma = forum.karma_post + 1
self.start_tour("/", 'forum_question', login="demo")
|