mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
To reduce memory/CPU requirement on the VM running the services for functional tests. The following items are kept enabled as these are enabled by default in FreedomBox.: - NTP daemon - Restricted console login - Unattended upgrades Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
43 lines
1.4 KiB
Gherkin
43 lines
1.4 KiB
Gherkin
#
|
|
# This file is part of FreedomBox.
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
@apps @ikiwiki @backups
|
|
Feature: ikiwiki Wiki and Blog
|
|
Manage wikis and blogs.
|
|
|
|
Background:
|
|
Given I'm a logged in user
|
|
Given the wiki application is installed
|
|
|
|
Scenario: Enable wiki application
|
|
Given the wiki application is disabled
|
|
When I enable the wiki application
|
|
Then the wiki site should be available
|
|
|
|
Scenario: Backup and restore wiki
|
|
Given the wiki application is enabled
|
|
When there is an ikiwiki wiki
|
|
And I create a backup of the ikiwiki app data
|
|
And I delete the ikiwiki wiki
|
|
And I restore the ikiwiki app data backup
|
|
Then the ikiwiki wiki should be restored
|
|
|
|
Scenario: Disable wiki application
|
|
Given the wiki application is enabled
|
|
When I disable the wiki application
|
|
Then the wiki site should not be available
|