From a99c4e0901a9d065e50ec1d3d3f6809fa56a87f9 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Thu, 13 Dec 2018 20:48:14 -0500 Subject: [PATCH] functional_tests: Move backup test into backups feature Remove @bind tag from backups feature. Signed-off-by: James Valleroy --- functional_tests/features/backups.feature | 11 ++++++++++- functional_tests/features/bind.feature | 9 --------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/functional_tests/features/backups.feature b/functional_tests/features/backups.feature index 182e48f74..a62fa7506 100644 --- a/functional_tests/features/backups.feature +++ b/functional_tests/features/backups.feature @@ -15,7 +15,7 @@ # along with this program. If not, see . # -@backups @bind +@backups Feature: Backups module Create and restore backups. @@ -30,3 +30,12 @@ Scenario: Browser waits for redirect after restoring a 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 diff --git a/functional_tests/features/bind.feature b/functional_tests/features/bind.feature index bf3f15c61..f6d2651a2 100644 --- a/functional_tests/features/bind.feature +++ b/functional_tests/features/bind.feature @@ -61,12 +61,3 @@ Scenario: Backup and restore bind And I restore the bind app data backup Then bind forwarders should be 1.1.1.1 And bind DNSSEC should be disabled - -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