Just tests passing now
This commit is contained in:
@@ -4,20 +4,19 @@ dependency:
|
||||
options:
|
||||
requirements-file: requirements.yml
|
||||
driver:
|
||||
name: docker
|
||||
options:
|
||||
managed: false
|
||||
ansible_connection_options:
|
||||
ansible_connection: local
|
||||
name: default
|
||||
platforms:
|
||||
- name: localhost
|
||||
groups:
|
||||
- sovereign
|
||||
provisioner:
|
||||
name: ansible
|
||||
env:
|
||||
ANSIBLE_ROLES_PATH: "${MOLECULE_PROJECT_DIRECTORY}/.."
|
||||
inventory:
|
||||
host_vars:
|
||||
localhost:
|
||||
ansible_connection: local
|
||||
verifier:
|
||||
name: ansible
|
||||
|
||||
|
||||
@@ -73,22 +73,22 @@
|
||||
|
||||
- name: Assert element config contains tenant brand name
|
||||
ansible.builtin.assert:
|
||||
that: '"brand": "Test Corp"' in element_config
|
||||
that: element_config_parsed.brand == "Test Corp"
|
||||
fail_msg: "element/config.json does not contain brand: Test Corp"
|
||||
|
||||
- name: Assert element config contains matrix homeserver URL
|
||||
ansible.builtin.assert:
|
||||
that: '"https://matrix.test.example.com"' in element_config
|
||||
that: element_config_parsed['default_server_config']['m.homeserver']['base_url'] == "https://matrix.test.example.com"
|
||||
fail_msg: "element/config.json does not contain https://matrix.test.example.com"
|
||||
|
||||
- name: Assert element config contains jitsi domain
|
||||
ansible.builtin.assert:
|
||||
that: '"meet.test.example.com"' in element_config
|
||||
that: element_config_parsed.jitsi.preferred_domain == "meet.test.example.com"
|
||||
fail_msg: "element/config.json does not contain meet.test.example.com"
|
||||
|
||||
- name: Assert element config contains default theme
|
||||
ansible.builtin.assert:
|
||||
that: '"default_theme": "light"' in element_config
|
||||
that: element_config_parsed.default_theme == "light"
|
||||
fail_msg: "element/config.json does not contain default_theme: light"
|
||||
|
||||
- name: Check docker-compose.yml exists
|
||||
|
||||
Reference in New Issue
Block a user