diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-08-20 12:17:04 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-08-20 12:17:04 +0200 |
| commit | f26de445e5579913e27ea6a630bcee6d40eefc7d (patch) | |
| tree | 8b8e06be8a9d5fd3c1e5c31634611127446b9948 /odoo/tests | |
| parent | bc6accc5688d3c38a35949751779f808e9c2063f (diff) | |
| parent | 6f55fd65da8c50d36ca97654a920fb075076f125 (diff) | |
[MERGE] forward port branch saas-12.3 up to 6f55fd65da8
Diffstat (limited to 'odoo/tests')
| -rw-r--r-- | odoo/tests/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odoo/tests/common.py b/odoo/tests/common.py index c2f02a1304f..80e479005d1 100644 --- a/odoo/tests/common.py +++ b/odoo/tests/common.py @@ -706,7 +706,8 @@ class ChromeBrowser(): def set_cookie(self, name, value, path, domain): params = {'name': name, 'value': value, 'path': path, 'domain': domain} - self._websocket_send('Network.setCookie', params=params) + _id = self._websocket_send('Network.setCookie', params=params) + return self._websocket_wait_id(_id) def _wait_ready(self, ready_code, timeout=60): self._logger.info('Evaluate ready code "%s"', ready_code) |
