mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
functional_tests: Test repro config 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
dd94cae272
commit
6b91058a77
3 files changed
+46
-1
No files matched your search
@@ -96,3 +96,18 @@ def mediawiki_delete_main_page(browser):
|
||||
@then('the mediawiki main page should be restored')
|
||||
def mediawiki_verify_text(browser):
|
||||
assert site.mediawiki_has_main_page(browser)
|
||||
|
||||
|
||||
@given('repro has been configured')
|
||||
def repro_configure(browser):
|
||||
site.repro_configure(browser)
|
||||
|
||||
|
||||
@when('I delete the repro configuration')
|
||||
def repro_delete_config(browser):
|
||||
site.repro_delete_config(browser)
|
||||
|
||||
|
||||
@then('the repro configuration should be restored')
|
||||
def repro_is_configured(browser):
|
||||
assert site.repro_is_configured(browser)
|
||||
Reference in new issue
Block a user