mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
- 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>
28 lines
838 B
Gherkin
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
|