mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +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:
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user