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:
James Valleroy authored and Joseph Nuthalapati committed 2018-09-24 19:44:45 +05:30
1 parent dd94cae272
commit 6b91058a77
3 files changed
+46 -1

No files matched your search

+15
View File
@@ -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)