functional_tests: Test dynamicdns backup and restore

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
James Valleroy authored and Joseph Nuthalapati committed 2018-09-24 19:44:01 +05:30
1 parent 94a1b37700
commit 0a5ac4a7f1
4 files changed
+143 -3

No files matched your search

@@ -0,0 +1,32 @@
#
# 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 @dynamicdns @backups
Feature: Dynamic DNS Client
Update public IP to a GnuDIP server.
Background:
Given I'm a logged in user
And the dynamicdns application is installed
Scenario: Backup and restore configuration
Given dynamicdns is configured
When I create a backup of the dynamicdns app data
And I change the dynamicdns configuration
And I export the dynamicdns app data backup
And I restore the dynamicdns app data backup
Then dynamicdns should have the original configuration