mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
27 lines
827 B
Gherkin
27 lines
827 B
Gherkin
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
@backups @system
|
|
Feature: Backups module
|
|
Create and restore backups.
|
|
|
|
Background:
|
|
Given I'm a logged in user
|
|
Given the bind application is installed
|
|
|
|
Scenario: Browser waits for redirect after restoring a backup
|
|
Given the bind application is enabled
|
|
When I create a backup of the bind app data
|
|
And I restore the bind app data backup
|
|
And I open the main page
|
|
And I wait for 5 seconds
|
|
Then the main page should be shown
|
|
|
|
Scenario: Download, upload and restore a backup
|
|
Given the bind application is enabled
|
|
When I set bind forwarders to 1.1.1.1
|
|
And I create a backup of the bind app data
|
|
And I set bind forwarders to 1.0.0.1
|
|
And I download the latest app data backup
|
|
And I restore the downloaded app data backup
|
|
Then bind forwarders should be 1.1.1.1
|