Fixed download error in testSessionRecordingConf

This commit is contained in:
Benjamin Graham 2020-06-09 12:36:23 -04:00 committed by Justin Stephenson
parent 7592ce8ab0
commit 11fd640fe5

View file

@ -153,6 +153,7 @@ class TestApplication(MachineCase):
test_file = "/tmp/test-tlog-rec-session.conf" test_file = "/tmp/test-tlog-rec-session.conf"
# Save the existing config # Save the existing config
b.click("#btn-save-tlog-conf")
m.download(conf_file, save_file) m.download(conf_file, save_file)
# Change all of the fields # Change all of the fields
b.set_input_text("#shell", "/test/path/shell") b.set_input_text("#shell", "/test/path/shell")
@ -201,6 +202,7 @@ class TestApplication(MachineCase):
test_all_file = "/tmp/test-all-sssd-session-recording.conf" test_all_file = "/tmp/test-all-sssd-session-recording.conf"
# Save the existing config # Save the existing config
b.click("#btn-save-sssd-conf")
m.download(conf_file, save_file) m.download(conf_file, save_file)
# Download test with scope 'None' # Download test with scope 'None'
b.set_val("#scope", "none") b.set_val("#scope", "none")