diff options
| author | Benoit Socias <bso@odoo.com> | 2020-11-27 11:00:19 +0000 |
|---|---|---|
| committer | Benoit Socias <bso@odoo.com> | 2020-11-27 11:00:19 +0000 |
| commit | db3296c034fe4c82d19580418fd5cdecdf578395 (patch) | |
| tree | e22eb913ef0236438211143dbf66ff4312049c0f /addons/mail/models/mail_thread.py | |
| parent | 2a12393b68bbec9b76f1534b3e881c39348d8a0e (diff) | |
[FIX] website_links: not perform a request during automated test
This commit fixes the step trigger:
'#o_website_links_link_tracker_form
#generated_tracked_link:contains("/r/")' that was taking too long
because of a call to _get_title_from_url happening during the creation
of a 'link.tracker'.
Before this commit the automated tests of website_links did trigger an
http request on the 'contactus' page which sometimes took too long to
respond and reached the test failure timeout.
After this commit the information obtained from this request is
hard-coded to avoid the unpredictable timing of the test.
This commit is a manual port of #62479.
task-2397724
closes odoo/odoo#62508
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/mail/models/mail_thread.py')
0 files changed, 0 insertions, 0 deletions
