Joseph Nuthalapati 2bf652f469
functional-tests: Use Name attribute in backups
- The operations create backup, restore, delete and download are done
based on the name of the backup archive.
- Using select-all to uncheck all checkboxes for a minor speedup while
creating backups.
- Using the new name-based tests for backups for 3 apps

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Minor indentation fix]
[sunil: Use older API for searching links in Splinter, no advantage with new]
[sunil: Update patch for coturn and coquelicot]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>

test use name fixes

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-05-18 21:39:02 -07:00

26 lines
802 B
Gherkin

# SPDX-License-Identifier: AGPL-3.0-or-later
@essential @upgrades @system @backups
Feature: Software Upgrades
Configure automatic software upgrades
Background:
Given I'm a logged in user
Scenario: Enable automatic upgrades
Given automatic upgrades are disabled
When I enable automatic upgrades
Then automatic upgrades should be enabled
Scenario: Backup and restore upgrades
When I enable automatic upgrades
And I create a backup of the upgrades app data with name test_upgrades
And I disable automatic upgrades
And I restore the upgrades app data backup with name test_upgrades
Then automatic upgrades should be enabled
Scenario: Disable automatic upgrades
Given automatic upgrades are enabled
When I disable automatic upgrades
Then automatic upgrades should be disabled