mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
functional_tests: Ensure that backups app is installed before test
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
parent
5f24cc0042
commit
20cbcbc491
@ -15,7 +15,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
from support import config
|
from support import application, config
|
||||||
|
|
||||||
from .interface import default_url, nav_to_module, submit
|
from .interface import default_url, nav_to_module, submit
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ def dynamicdns_change_config(browser):
|
|||||||
|
|
||||||
def backup_create(browser, app_name):
|
def backup_create(browser, app_name):
|
||||||
browser.visit(default_url)
|
browser.visit(default_url)
|
||||||
nav_to_module(browser, 'backups')
|
application.install(browser, 'backups')
|
||||||
delete = browser.find_link_by_href(
|
delete = browser.find_link_by_href(
|
||||||
'/plinth/sys/backups/delete/_functional_test_' + app_name + '/')
|
'/plinth/sys/backups/delete/_functional_test_' + app_name + '/')
|
||||||
if delete:
|
if delete:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user