Commit aa3474dc authored by James Valleroy's avatar James Valleroy

functional_tests: Ensure that backups app is installed before test

Signed-off-by: James Valleroy's avatarJames Valleroy <jvalleroy@mailbox.org>
parent d232b978
Pipeline #19536 passed with stages
in 12 minutes and 30 seconds
...@@ -15,7 +15,7 @@ ...@@ -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): ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment