From a89190b7000f28a8b814064958631e9abb396212 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Tue, 30 Jul 2019 18:49:50 -0400 Subject: [PATCH] functional_tests: Fix delete backup path Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- functional_tests/support/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functional_tests/support/system.py b/functional_tests/support/system.py index 2b24fd5aa..fb0f7612d 100644 --- a/functional_tests/support/system.py +++ b/functional_tests/support/system.py @@ -205,7 +205,7 @@ def dynamicdns_change_config(browser): def backup_delete_root_archives(browser): """Delete all archives of the root borg repository""" browser.visit(default_url + '/plinth/sys/backups/') - path = "//a[starts-with(@href,'/plinth/sys/backups/delete/root/')]" + path = "//a[starts-with(@href,'/plinth/sys/backups/root/delete/')]" while browser.find_by_xpath(path): browser.find_by_xpath(path).first.click() with wait_for_page_update(browser,