FreedomBox/functional_tests/features/configuration.feature
Joseph Nuthalapati bc3a43d18c
functional tests: Fix failing test change default app
- Added an additional pre-condition to check whether the Syncthing app is
  enabled.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-08-13 15:07:09 +05:30

40 lines
1.2 KiB
Gherkin

#
# 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/>.
#
@system @essential @configuration
Feature: Configuration
Configure the system.
Background:
Given I'm a logged in user
Scenario: Change hostname
When I change the hostname to mybox
Then the hostname should be mybox
Scenario: Change domain name
When I change the domain name to mydomain
Then the domain name should be mydomain
Scenario: Change default app
Given the syncthing application is installed
And the syncthing application is enabled
And the default app is syncthing
When I change the default app to plinth
Then the default app should be plinth