UNPKG

1.82 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "title": "Protractor Target",
4 "description": "Protractor target options for Build Facade.",
5 "type": "object",
6 "properties": {
7 "protractorConfig": {
8 "type": "string",
9 "description": "The name of the Protractor configuration file."
10 },
11 "devServerTarget": {
12 "type": "string",
13 "description": "A dev-server builder target to run tests against in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
14 "pattern": "^([^:\\s]+:[^:\\s]+(:[^\\s]+)?)?$"
15 },
16 "grep": {
17 "type": "string",
18 "description": "Execute specs whose names match the pattern, which is internally compiled to a RegExp."
19 },
20 "invertGrep": {
21 "type": "boolean",
22 "description": "Invert the selection specified by the 'grep' option.",
23 "default": false
24 },
25 "specs": {
26 "type": "array",
27 "description": "Override specs in the protractor config.",
28 "default": [],
29 "items": {
30 "type": "string",
31 "description": "Spec name."
32 }
33 },
34 "suite": {
35 "type": "string",
36 "description": "Override suite in the protractor config."
37 },
38 "webdriverUpdate": {
39 "type": "boolean",
40 "description": "Try to update webdriver.",
41 "default": true
42 },
43 "port": {
44 "type": "number",
45 "description": "The port to use to serve the application."
46 },
47 "host": {
48 "type": "string",
49 "description": "Host to listen on."
50 },
51 "baseUrl": {
52 "type": "string",
53 "description": "Base URL for protractor to connect to."
54 }
55 },
56 "additionalProperties": false,
57 "required": ["protractorConfig"]
58}