Templates - campsych/concerto-platform GitHub Wiki
Templates are pages that will be shown to users during the test execution. Everything that the user sees in their browser window during the test can be determined at the template level. We call them templates because most pages will accept parameters from the test logic and change their look depending on the value of these parameters.
-
Accessibility – Describes who can view and edit an object in the administration panel. This can be one of the following:
- private – Can only be accessed by owner of the object, or super admins.
- group – Can be accessed by owner, users belonging to the same group as the object, or super admins.
- public – Can be accessed by anyone logged in to the administration panel.
- Archived – Archived objects will not be selectable from test wizard parameters.
- Description – Text describing the purpose of the object. This is visible as contextual information when using this object.
- Groups – Groups that this object belongs to. Used in conjunction with Accessibility.
- Name – Unique, human readable identifier, that will be used to reference the test in your test logic.
- Owner – Object owner. Used in conjunction with Accessibility.
HTML code that should be appended to the head tag when this template is shown.
CSS code that should be parsed when this template is shown.
javascript code that should be executed when this template is shown.
Actual template contents. This can be any valid HTML (including CSS or javascript). It is possible to edit this using the WYSIWYG editor or by editing the code directly in ‘source’ mode.