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

28 lines
838 B
Gherkin

# SPDX-License-Identifier: AGPL-3.0-or-later
@apps @ssh @backups
Feature: Secure Shell Server
Run secure shell server.
Background:
Given I'm a logged in user
Given the ssh application is installed
Scenario: Enable ssh application
Given the ssh application is disabled
When I enable the ssh application
Then the ssh service should be running
Scenario: Disable ssh application
Given the ssh application is enabled
When I disable the ssh application
Then the ssh service should not be running
# TODO: Improve this to actually check that earlier ssh certificate has been
# restored.
Scenario: Backup and restore ssh
Given the ssh application is enabled
When I create a backup of the ssh app data with name test_ssh
And I restore the ssh app data backup with name test_ssh
Then the ssh service should be running