tests: Change the domain to be an FQDN

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati 2018-10-25 11:36:43 -07:00 committed by James Valleroy
parent f132b2ada9
commit a75b415624
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
3 changed files with 5 additions and 5 deletions

View File

@ -27,8 +27,8 @@ Scenario: Change hostname
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
When I change the domain name to mydomain.example
Then the domain name should be mydomain.example
Scenario: Change default app
Given the syncthing application is installed

View File

@ -21,9 +21,9 @@ Feature: Matrix Synapse VoIP and Chat Server
Background:
Given I'm a logged in user
Given the domain name is set to mydomain
Given the domain name is set to mydomain.example
Given the matrixsynapse application is installed
Given the domain name for matrixsynapse is set to mydomain
Given the domain name for matrixsynapse is set to mydomain.example
Scenario: Enable matrixsynapse application
Given the matrixsynapse application is disabled

View File

@ -41,7 +41,7 @@ def set_default_app(browser, app_name):
system.set_default_app(browser, app_name)
@given(parsers.parse('the domain name is set to {domain:w}'))
@given(parsers.parse('the domain name is set to {domain:S}'))
def set_domain_name(browser, domain):
system.set_domain_name(browser, domain)