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>
This commit is contained in:
Joseph Nuthalapati 2018-08-13 15:07:09 +05:30
parent 36774c9f41
commit bc3a43d18c
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35

View File

@ -32,6 +32,7 @@ Scenario: Change domain name
Scenario: Change default app Scenario: Change default app
Given the syncthing application is installed Given the syncthing application is installed
And the syncthing application is enabled
And the default app is syncthing And the default app is syncthing
When I change the default app to plinth When I change the default app to plinth
Then the default app should be plinth Then the default app should be plinth