mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
functional_tests: Test ikiwiki 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
f500e3a027
commit
21abffd63b
3 files changed
+57
-2
No files matched your search
@@ -199,3 +199,18 @@ def set_mediawiki_admin_password(browser):
|
||||
@when(parsers.parse('I disable message archive management'))
|
||||
def set_mediawiki_admin_password(browser):
|
||||
application.disable_ejabberd_message_archive_management(browser)
|
||||
|
||||
|
||||
@when('there is an ikiwiki wiki')
|
||||
def ikiwiki_create_wiki_if_needed(browser):
|
||||
application.ikiwiki_create_wiki_if_needed(browser)
|
||||
|
||||
|
||||
@when('I delete the ikiwiki wiki')
|
||||
def ikiwiki_delete_wiki(browser):
|
||||
application.ikiwiki_delete_wiki(browser)
|
||||
|
||||
|
||||
@then('the ikiwiki wiki should be restored')
|
||||
def ikiwiki_should_exist(browser):
|
||||
assert application.ikiwiki_wiki_exists(browser)
|
||||
Reference in new issue
Block a user