mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-19 12:36:06 +00:00
functional_tests: Fix delete backup path
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
4901ad76f2
commit
a89190b700
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user