mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +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
844 B
Gherkin
28 lines
844 B
Gherkin
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
@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 with name test_ikiwiki
|
|
And I delete the ikiwiki wiki
|
|
And I restore the ikiwiki app data backup with name test_ikiwiki
|
|
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
|