mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-25 09:21:10 +00:00
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>
29 lines
838 B
Gherkin
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
|