mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-22 11:59:33 +00:00
functional_tests: Check ejabberd contact list more robustly
Retry jsxc login if it gets disconnected. Fixes #1393. Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
6bf2b88874
commit
aef837c9d6
@ -281,7 +281,7 @@ def ejabberd_delete_contact(browser):
|
||||
|
||||
def ejabberd_has_contact(browser):
|
||||
"""Check whether the contact is in Ejabberd user's roster."""
|
||||
return site.jsxc_has_contact(browser)
|
||||
return eventually(site.jsxc_has_contact, [browser])
|
||||
|
||||
|
||||
def ikiwiki_create_wiki_if_needed(browser):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user