Browse Source

🆘 idea to improve test

pull/159/head
Ivan Yelizariev 6 years ago
committed by GitHub
parent
commit
b9e2ea3760
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      mail_to/tests/test_default.py

1
mail_to/tests/test_default.py

@ -7,6 +7,7 @@ class TestUi(odoo.tests.HttpCase):
def test_01_mail_to(self):
# checks the presence of an element with a link to the recipient
# TODO: instead of timeout, try to put $('a.recipient_link') as ready argument of phantom_js (third parameter)
code = """
setTimeout(function () {
$('a.recipient_link')[0].click();

Loading…
Cancel
Save