backups: Add functional test to disable schedule backups

This test is at the end so that it leaves scheduled backups disabled
while other tests are running.

Helps #2058.

Tests:

- Ran functional tests for backups. All tests passed.

- Confirmed that scheduled backups are disabled after backup tests are
  complete.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
James Valleroy 2021-09-05 20:04:26 -04:00 committed by Sunil Mohan Adapa
parent 60ef19b6ec
commit 1e2ee690d7
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -29,3 +29,8 @@ Scenario: Set a schedule for a repository
Given the backup schedule is set to disable for 1 daily, 2 weekly and 3 monthly at 2:00 without app names
When I set the backup schedule to enable for 10 daily, 20 weekly and 30 monthly at 15:00 without app firewall
Then the schedule should be set to enable for 10 daily, 20 weekly and 30 monthly at 15:00 without app firewall
Scenario: Disable schedule for a repository
Given the backup schedule is set to enable for 10 daily, 20 weekly and 30 monthly at 15:00 without app firewall
When I set the backup schedule to disable for 1 daily, 2 weekly and 3 monthly at 2:00 without app names
Then the schedule should be set to disable for 1 daily, 2 weekly and 3 monthly at 2:00 without app names