functional_tests: Only select app under test for new backup

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
James Valleroy authored and Joseph Nuthalapati committed 2018-09-24 19:45:48 +05:30
1 parent 7817111928
commit 46e603bc9b
1 file changed
+4
+4
View File
@@ -160,6 +160,10 @@ def backup_create(browser, app_name):
browser.find_link_by_href('/plinth/sys/backups/create/').first.click()
browser.find_by_id('id_backups-name').fill('_functional_test_' + app_name)
for app in browser.find_by_css('input[type=checkbox]'):
app.uncheck()
browser.find_by_value(app_name).first.check()
submit(browser)