Backups: minor fixes of functional tests

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Michael Pimmer authored and James Valleroy committed 2018-11-17 09:00:51 -05:00
1 parent 9cba16e0d0
commit 5fd8abcc1f
2 files changed
+7 -1

No files matched your search

@@ -17,6 +17,7 @@
import os
from pytest import fixture
from pytest_bdd import given, parsers, then, when
from support import system
@@ -38,6 +39,11 @@ language_codes = {
}
@fixture(scope='session')
def downloaded_file_info():
return dict()
@given(parsers.parse('the default app is {app_name:w}'))
def set_default_app(browser, app_name):
system.set_default_app(browser, app_name)
+1 -1
View File
@@ -222,7 +222,7 @@ def backup_upload_and_restore(browser, app_name, downloaded_file_path):
# submit upload form
submit(browser)
# submit restore form
with wait_for_page_update(browser, expected_url='/plinth/sys/backups/'):
with wait_for_page_update(browser):
submit(browser)