This test executes the QUnit js test suite. Since the new views, this suite keeps growing, which is good. The default timeout for phantomjs tests is 60 seconds, which starts to be tight for test_01_js when the runbot is overloaded. So this commit increases the timeout of this test to 120 seconds.
14 lines
314 B
Python
14 lines
314 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
import odoo.tests
|
|
|
|
|
|
class WebSuite(odoo.tests.HttpCase):
|
|
|
|
post_install = True
|
|
at_install = False
|
|
|
|
def test_01_js(self):
|
|
self.phantom_js('/web/tests?mod=web', "", "", login='admin', timeout=120)
|