mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
tests: Change the domain to be an FQDN
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
f132b2ada9
commit
a75b415624
@ -27,8 +27,8 @@ Scenario: Change hostname
|
|||||||
Then the hostname should be mybox
|
Then the hostname should be mybox
|
||||||
|
|
||||||
Scenario: Change domain name
|
Scenario: Change domain name
|
||||||
When I change the domain name to mydomain
|
When I change the domain name to mydomain.example
|
||||||
Then the domain name should be mydomain
|
Then the domain name should be mydomain.example
|
||||||
|
|
||||||
Scenario: Change default app
|
Scenario: Change default app
|
||||||
Given the syncthing application is installed
|
Given the syncthing application is installed
|
||||||
|
|||||||
@ -21,9 +21,9 @@ Feature: Matrix Synapse VoIP and Chat Server
|
|||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given I'm a logged in user
|
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 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
|
Scenario: Enable matrixsynapse application
|
||||||
Given the matrixsynapse application is disabled
|
Given the matrixsynapse application is disabled
|
||||||
|
|||||||
@ -41,7 +41,7 @@ def set_default_app(browser, app_name):
|
|||||||
system.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):
|
def set_domain_name(browser, domain):
|
||||||
system.set_domain_name(browser, domain)
|
system.set_domain_name(browser, domain)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user