Joseph Nuthalapati b3fd24ce6f
functional-tests: Move @backups to Scenario level
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Fix marks for quassel app]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-05-18 21:39:05 -07:00

29 lines
838 B
Gherkin

# SPDX-License-Identifier: AGPL-3.0-or-later
@apps @ssh
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.
@backups
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