forked from currents-dev/currents-nx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
105 lines (104 loc) · 3 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"title": "Currents Target",
"type": "object",
"outputCapture": "pipe",
"cli": "nx",
"properties": {
"projectRoot": {
"type": "string",
"description": "The cwd to run all the commands from"
},
"cloudServiceUrl": {
"type": "string",
"description": "Specify the endpoint for cypress agents to use",
"default": "https://cy.currents.dev"
},
"cypressConfig": {
"type": "string",
"description": "The path of the Cypress configuration json file.",
"x-completion-type": "file",
"x-completion-glob": "cypress?(*)@(.js|.ts|.json)"
},
"tsConfig": {
"type": "string",
"description": "The path of the Cypress tsconfig configuration json file.",
"x-completion-type": "file",
"x-completion-glob": "tsconfig.*.json"
},
"devServerTarget": {
"type": "string",
"description": "Dev server target to run tests against."
},
"key": {
"type": "string",
"description": "The key for accessing cloud orchestration service (CI only)."
},
"record": {
"type": "boolean",
"description": "Whether or not record the results of the tests.",
"default": false
},
"parallel": {
"type": "boolean",
"description": "Whether or not run the tests in parallel (CI only).",
"default": false
},
"baseUrl": {
"type": "string",
"description": "The address (with the port) which your application is running on."
},
"browser": {
"type": "string",
"description": "The browser to run tests in."
},
"env": {
"type": "object",
"description": "A key-value Pair of environment variables to pass to Cypress runner."
},
"spec": {
"type": "string",
"description": "A comma delimited glob string that is provided to the Cypress runner to specify which spec files to run. i.e. `**examples/**,**actions.spec**`."
},
"ciBuildId": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
],
"description": "A unique identifier for a run to enable grouping or parallelization."
},
"group": {
"type": "string",
"description": "A named group for recorded runs in the Cypress dashboard."
},
"reporter": {
"type": "string",
"description": "The reporter used during cypress run."
},
"reporterOptions": {
"type": "string",
"description": "The reporter options used. Supported options depend on the reporter."
},
"skipServe": {
"type": "boolean",
"description": "Skip dev-server build.",
"default": false
},
"testingType": {
"type": "string",
"description": "Specify the type of tests to execute.",
"enum": ["component", "e2e"],
"default": "e2e"
},
"tag": {
"type": "string",
"description": "A comma delimited list to identify a run with.",
"aliases": ["t"]
}
},
"additionalProperties": true,
"required": ["cypressConfig"]
}