functional-tests: Move Disable tests to the end

Disabling an application at the end of test suite frees us system
resources for the remaining applications.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati 2020-02-07 11:22:24 +05:30 committed by Sunil Mohan Adapa
parent adc1c67e12
commit 8b721a27ef
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
4 changed files with 22 additions and 23 deletions

View File

@ -42,11 +42,6 @@ Scenario: Backup and restore gitweb
Then the repository should be restored
And the gitweb site should be available
Scenario: Disable gitweb application
Given the gitweb application is enabled
When I disable the gitweb application
Then the gitweb site should not be available
Scenario: Public gitweb site shows only public repositories
Given the gitweb application is enabled
And both public and private repositories exist
@ -90,3 +85,8 @@ Scenario: Access private repository with git client
And the repository should not be publicly writable
And the repository should be privately readable
And the repository should be privately writable
Scenario: Disable gitweb application
Given the gitweb application is enabled
When I disable the gitweb application
Then the gitweb site should not be available

View File

@ -14,11 +14,6 @@ Scenario: Enable samba application
When I enable the samba application
Then the samba service should be running
Scenario: Disable samba application
Given the samba application is enabled
When I disable the samba application
Then the samba service should not be running
Scenario: Enable open samba share
Given the samba application is enabled
When I enable the open samba share
@ -50,3 +45,8 @@ Scenario: Backup and restore samba
And I restore the samba app data backup
Then the samba service should be running
And I can write to the home samba share
Scenario: Disable samba application
Given the samba application is enabled
When I disable the samba application
Then the samba service should not be running

View File

@ -19,11 +19,6 @@ Scenario: Backup and restore searx
And I restore the searx app data backup
Then the searx site should be available
Scenario: Disable searx application
Given the searx application is enabled
When I disable the searx application
Then the searx site should not be available
Scenario: Enable public access
Given the searx application is enabled
When I enable public access in searx
@ -47,3 +42,7 @@ Scenario: Preserve public access setting
Then searx app should be visible on the front page
And the searx site should be available
Scenario: Disable searx application
Given the searx application is enabled
When I disable the searx application
Then the searx site should not be available

View File

@ -7,10 +7,10 @@ Feature: Software Upgrades
Background:
Given I'm a logged in user
Scenario: Disable automatic upgrades
Given automatic upgrades are enabled
When I disable automatic upgrades
Then automatic upgrades should be disabled
Scenario: Enable automatic upgrades
Given automatic upgrades are disabled
When I enable automatic upgrades
Then automatic upgrades should be enabled
Scenario: Backup and restore upgrades
When I enable automatic upgrades
@ -19,7 +19,7 @@ Scenario: Backup and restore upgrades
And I restore the upgrades app data backup
Then automatic upgrades should be enabled
Scenario: Enable automatic upgrades
Given automatic upgrades are disabled
When I enable automatic upgrades
Then automatic upgrades should be enabled
Scenario: Disable automatic upgrades
Given automatic upgrades are enabled
When I disable automatic upgrades
Then automatic upgrades should be disabled