mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
functional_tests: Test ejabberd backup and restore
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
1 parent
46e603bc9b
commit
5f24cc0042
4 files changed
+83
-3
No files matched your search
@@ -214,3 +214,18 @@ def ikiwiki_delete_wiki(browser):
|
||||
@then('the ikiwiki wiki should be restored')
|
||||
def ikiwiki_should_exist(browser):
|
||||
assert application.ikiwiki_wiki_exists(browser)
|
||||
|
||||
|
||||
@given('I have added a contact to my roster')
|
||||
def ejabberd_add_contact(browser):
|
||||
application.ejabberd_add_contact(browser)
|
||||
|
||||
|
||||
@when('I delete the contact from my roster')
|
||||
def ejabberd_delete_contact(browser):
|
||||
application.ejabberd_delete_contact(browser)
|
||||
|
||||
|
||||
@then('I should have a contact on my roster')
|
||||
def ejabberd_should_have_contact(browser):
|
||||
assert application.ejabberd_has_contact(browser)
|
||||
Reference in new issue
Block a user