schema_config.jsonThis is the main configuration for a test
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | schema_config.json |
object (Config file)
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| name | string |
Required | cannot be null | Config file |
| host | string |
Required | cannot be null | Config file |
| headless | boolean |
Optional | cannot be null | Config file |
| muted | boolean |
Optional | cannot be null | Config file |
| timeout | number |
Optional | cannot be null | Config file |
| close | boolean |
Optional | cannot be null | Config file |
| executable | string |
Optional | cannot be null | Config file |
| output | Merged | Optional | cannot be null | Config file |
| view | boolean |
Optional | cannot be null | Config file |
| viewport | object |
Optional | cannot be null | Config file |
| cookies | array |
Optional | cannot be null | Config file |
| localStorage | array |
Optional | cannot be null | Config file |
Test suit name
name
-
is required
-
Type:
string -
cannot be null
-
defined in: Config file
string
Website hostname for this test suite (only one)
host
-
is required
-
Type:
string -
cannot be null
-
defined in: Config file
string
pattern: the string must match the following regular expression:
^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$Run Chrome in headless (hidden) mode
headless
-
is optional
-
Type:
boolean -
cannot be null
-
defined in: Config file
boolean
The default value is:
trueMute Chrome entirely (only when not headless)
muted
-
is optional
-
Type:
boolean -
cannot be null
-
defined in: Config file
boolean
The default value is:
trueDefault timeout (ms) used in all tests
timeout
-
is optional
-
Type:
number -
cannot be null
-
defined in: Config file
number
minimum: the value of this number must greater than or equal to: 0
The default value is:
30000Automatically close Chrome after finish (only when not headless)
close
-
is optional
-
Type:
boolean -
cannot be null
-
defined in: Config file
boolean
The default value is:
truePath to Chrome executable
executable
-
is optional
-
Type:
string -
cannot be null
-
defined in: Config file
string
Path to the output dir or disabling output (if false)
output
-
is optional
-
Type: merged type (Details)
-
cannot be null
-
defined in: Config file
merged type (Details)
one (and only one) of
Open generated Viewer file in a browser after finish (if output is enabled)
view
-
is optional
-
Type:
boolean -
cannot be null
-
defined in: Config file
boolean
Used to set the viewport before executing a test suit
viewport
-
is optional
-
Type:
object(Viewport object) -
cannot be null
-
defined in: Config file
object (Viewport object)
Cookies to set before running test cases
cookies
-
is optional
-
Type:
object[](Cookie object) -
cannot be null
-
defined in: Config file
object[] (Cookie object)
Local Storage items to set before running test cases
localStorage
-
is optional
-
Type:
object[](Local Storage object) -
cannot be null
-
defined in: Config file
object[] (Local Storage object)