[FIX] web, tests: increase navigate_to timeout
The qunit loading is now arroud 15 seconds, breaking sometimes because of the 15 seconds timeout. A quick and dirty fix increases the timeout to 20 (freeze time) An deeper investigation is needed to speed up this page. Pregeneration of assets bundle may help closes odoo/odoo#99163 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
This commit is contained in:
@@ -1491,7 +1491,7 @@ which leads to stray network requests and inconsistencies."""))
|
||||
|
||||
def navigate_to(self, url, wait_stop=False):
|
||||
self._logger.info('Navigating to: "%s"', url)
|
||||
nav_result = self._websocket_request('Page.navigate', params={'url': url}, timeout=15.0)
|
||||
nav_result = self._websocket_request('Page.navigate', params={'url': url}, timeout=20.0)
|
||||
self._logger.info("Navigation result: %s", nav_result)
|
||||
if wait_stop:
|
||||
frame_id = nav_result['frameId']
|
||||
|
||||
Reference in New Issue
Block a user