Joseph Nuthalapati 2bf652f469
functional-tests: Use Name attribute in backups
- 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>
2020-05-18 21:39:02 -07:00

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