doc-detective-common 4.0.0-beta.0-dev.4 → 4.0.0-beta.0-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/.c8rc.json +0 -8
- package/.mocharc.yml +0 -1
- package/icon.png +0 -0
- package/scripts/check-coverage-ratchet.cjs +0 -123
- package/scripts/createCjsWrapper.js +0 -25
- package/scripts/generateTypes.cjs +0 -54
- package/src/detectTests.ts +0 -660
- package/src/index.ts +0 -3
- package/src/schemas/build/checkLink_v2.schema.json +0 -81
- package/src/schemas/build/checkLink_v3.schema.json +0 -92
- package/src/schemas/build/click_v3.schema.json +0 -145
- package/src/schemas/build/config_v2.schema.json +0 -1079
- package/src/schemas/build/config_v3.schema.json +0 -696
- package/src/schemas/build/context_v2.schema.json +0 -135
- package/src/schemas/build/context_v3.schema.json +0 -229
- package/src/schemas/build/dragAndDrop_v3.schema.json +0 -189
- package/src/schemas/build/find_v2.schema.json +0 -168
- package/src/schemas/build/find_v3.schema.json +0 -214
- package/src/schemas/build/goTo_v2.schema.json +0 -63
- package/src/schemas/build/goTo_v3.schema.json +0 -257
- package/src/schemas/build/httpRequest_v2.schema.json +0 -321
- package/src/schemas/build/httpRequest_v3.schema.json +0 -439
- package/src/schemas/build/loadCookie_v3.schema.json +0 -138
- package/src/schemas/build/loadVariables_v3.schema.json +0 -10
- package/src/schemas/build/moveTo_v2.schema.json +0 -99
- package/src/schemas/build/openApi_v2.schema.json +0 -76
- package/src/schemas/build/openApi_v3.schema.json +0 -161
- package/src/schemas/build/record_v3.schema.json +0 -70
- package/src/schemas/build/report_v3.schema.json +0 -53
- package/src/schemas/build/resolvedTests_v3.schema.json +0 -238
- package/src/schemas/build/runCode_v2.schema.json +0 -201
- package/src/schemas/build/runCode_v3.schema.json +0 -138
- package/src/schemas/build/runShell_v2.schema.json +0 -189
- package/src/schemas/build/runShell_v3.schema.json +0 -156
- package/src/schemas/build/saveCookie_v3.schema.json +0 -149
- package/src/schemas/build/saveScreenshot_v2.schema.json +0 -150
- package/src/schemas/build/screenshot_v3.schema.json +0 -250
- package/src/schemas/build/setVariables_v2.schema.json +0 -39
- package/src/schemas/build/sourceIntegration_v3.schema.json +0 -51
- package/src/schemas/build/spec_v2.schema.json +0 -199
- package/src/schemas/build/spec_v3.schema.json +0 -213
- package/src/schemas/build/startRecording_v2.schema.json +0 -57
- package/src/schemas/build/step_v3.schema.json +0 -669
- package/src/schemas/build/stopRecord_v3.schema.json +0 -13
- package/src/schemas/build/stopRecording_v2.schema.json +0 -33
- package/src/schemas/build/test_v2.schema.json +0 -244
- package/src/schemas/build/test_v3.schema.json +0 -292
- package/src/schemas/build/typeKeys_v2.schema.json +0 -72
- package/src/schemas/build/type_v3.schema.json +0 -131
- package/src/schemas/build/wait_v2.schema.json +0 -42
- package/src/schemas/build/wait_v3.schema.json +0 -37
- package/src/schemas/dereferenceSchemas.cjs +0 -208
- package/src/schemas/index.ts +0 -6
- package/src/schemas/output_schemas/analytics_v1.schema.json +0 -585
- package/src/schemas/output_schemas/checkLink_v1.schema.json +0 -42
- package/src/schemas/output_schemas/checkLink_v2.schema.json +0 -80
- package/src/schemas/output_schemas/checkLink_v3.schema.json +0 -145
- package/src/schemas/output_schemas/click_v1.schema.json +0 -60
- package/src/schemas/output_schemas/click_v3.schema.json +0 -252
- package/src/schemas/output_schemas/config_v2.schema.json +0 -2628
- package/src/schemas/output_schemas/config_v3.schema.json +0 -16470
- package/src/schemas/output_schemas/context_v2.schema.json +0 -134
- package/src/schemas/output_schemas/context_v3.schema.json +0 -374
- package/src/schemas/output_schemas/dragAndDrop_v3.schema.json +0 -496
- package/src/schemas/output_schemas/endRecord_v3.schema.json +0 -12
- package/src/schemas/output_schemas/find_v1.schema.json +0 -171
- package/src/schemas/output_schemas/find_v2.schema.json +0 -184
- package/src/schemas/output_schemas/find_v3.schema.json +0 -1349
- package/src/schemas/output_schemas/goTo_v1.schema.json +0 -30
- package/src/schemas/output_schemas/goTo_v2.schema.json +0 -62
- package/src/schemas/output_schemas/goTo_v3.schema.json +0 -419
- package/src/schemas/output_schemas/httpRequest_v1.schema.json +0 -115
- package/src/schemas/output_schemas/httpRequest_v2.schema.json +0 -392
- package/src/schemas/output_schemas/httpRequest_v3.schema.json +0 -994
- package/src/schemas/output_schemas/loadCookie_v3.schema.json +0 -228
- package/src/schemas/output_schemas/loadVariables_v3.schema.json +0 -9
- package/src/schemas/output_schemas/matchText_v1.schema.json +0 -32
- package/src/schemas/output_schemas/moveMouse_v1.schema.json +0 -60
- package/src/schemas/output_schemas/moveTo_v2.schema.json +0 -98
- package/src/schemas/output_schemas/openApi_v2.schema.json +0 -75
- package/src/schemas/output_schemas/openApi_v3.schema.json +0 -162
- package/src/schemas/output_schemas/record_v3.schema.json +0 -101
- package/src/schemas/output_schemas/report_v3.schema.json +0 -16826
- package/src/schemas/output_schemas/resolvedTests_v3.schema.json +0 -33331
- package/src/schemas/output_schemas/runCode_v2.schema.json +0 -200
- package/src/schemas/output_schemas/runCode_v3.schema.json +0 -222
- package/src/schemas/output_schemas/runShell_v1.schema.json +0 -35
- package/src/schemas/output_schemas/runShell_v2.schema.json +0 -188
- package/src/schemas/output_schemas/runShell_v3.schema.json +0 -236
- package/src/schemas/output_schemas/saveCookie_v3.schema.json +0 -245
- package/src/schemas/output_schemas/saveScreenshot_v2.schema.json +0 -149
- package/src/schemas/output_schemas/screenshot_v1.schema.json +0 -48
- package/src/schemas/output_schemas/screenshot_v3.schema.json +0 -681
- package/src/schemas/output_schemas/scroll_v1.schema.json +0 -50
- package/src/schemas/output_schemas/setVariables_v2.schema.json +0 -38
- package/src/schemas/output_schemas/sourceIntegration_v3.schema.json +0 -50
- package/src/schemas/output_schemas/spec_v2.schema.json +0 -2301
- package/src/schemas/output_schemas/spec_v3.schema.json +0 -16630
- package/src/schemas/output_schemas/startRecording_v1.schema.json +0 -55
- package/src/schemas/output_schemas/startRecording_v2.schema.json +0 -56
- package/src/schemas/output_schemas/step_v3.schema.json +0 -7317
- package/src/schemas/output_schemas/stopRecord_v3.schema.json +0 -12
- package/src/schemas/output_schemas/stopRecording_v1.schema.json +0 -20
- package/src/schemas/output_schemas/stopRecording_v2.schema.json +0 -32
- package/src/schemas/output_schemas/test_v2.schema.json +0 -1903
- package/src/schemas/output_schemas/test_v3.schema.json +0 -15863
- package/src/schemas/output_schemas/typeKeys_v2.schema.json +0 -71
- package/src/schemas/output_schemas/type_v1.schema.json +0 -62
- package/src/schemas/output_schemas/type_v3.schema.json +0 -244
- package/src/schemas/output_schemas/wait_v1.schema.json +0 -42
- package/src/schemas/output_schemas/wait_v2.schema.json +0 -41
- package/src/schemas/output_schemas/wait_v3.schema.json +0 -41
- package/src/schemas/schemas.json +0 -121331
- package/src/schemas/src_schemas/analytics_v1.schema.json +0 -585
- package/src/schemas/src_schemas/checkLink_v1.schema.json +0 -42
- package/src/schemas/src_schemas/checkLink_v2.schema.json +0 -65
- package/src/schemas/src_schemas/checkLink_v3.schema.json +0 -91
- package/src/schemas/src_schemas/click_v1.schema.json +0 -60
- package/src/schemas/src_schemas/click_v3.schema.json +0 -144
- package/src/schemas/src_schemas/config_v2.schema.json +0 -929
- package/src/schemas/src_schemas/config_v3.schema.json +0 -633
- package/src/schemas/src_schemas/context_v2.schema.json +0 -108
- package/src/schemas/src_schemas/context_v3.schema.json +0 -202
- package/src/schemas/src_schemas/dragAndDrop_v3.schema.json +0 -185
- package/src/schemas/src_schemas/find_v1.schema.json +0 -137
- package/src/schemas/src_schemas/find_v2.schema.json +0 -155
- package/src/schemas/src_schemas/find_v3.schema.json +0 -210
- package/src/schemas/src_schemas/goTo_v1.schema.json +0 -30
- package/src/schemas/src_schemas/goTo_v2.schema.json +0 -58
- package/src/schemas/src_schemas/goTo_v3.schema.json +0 -232
- package/src/schemas/src_schemas/httpRequest_v1.schema.json +0 -115
- package/src/schemas/src_schemas/httpRequest_v2.schema.json +0 -284
- package/src/schemas/src_schemas/httpRequest_v3.schema.json +0 -402
- package/src/schemas/src_schemas/loadCookie_v3.schema.json +0 -113
- package/src/schemas/src_schemas/loadVariables_v3.schema.json +0 -9
- package/src/schemas/src_schemas/matchText_v1.schema.json +0 -32
- package/src/schemas/src_schemas/moveMouse_v1.schema.json +0 -60
- package/src/schemas/src_schemas/moveTo_v2.schema.json +0 -89
- package/src/schemas/src_schemas/openApi_v2.schema.json +0 -64
- package/src/schemas/src_schemas/openApi_v3.schema.json +0 -161
- package/src/schemas/src_schemas/record_v3.schema.json +0 -69
- package/src/schemas/src_schemas/report_v3.schema.json +0 -52
- package/src/schemas/src_schemas/resolvedTests_v3.schema.json +0 -237
- package/src/schemas/src_schemas/runCode_v2.schema.json +0 -181
- package/src/schemas/src_schemas/runCode_v3.schema.json +0 -137
- package/src/schemas/src_schemas/runShell_v1.schema.json +0 -35
- package/src/schemas/src_schemas/runShell_v2.schema.json +0 -166
- package/src/schemas/src_schemas/runShell_v3.schema.json +0 -155
- package/src/schemas/src_schemas/saveCookie_v3.schema.json +0 -124
- package/src/schemas/src_schemas/saveScreenshot_v2.schema.json +0 -129
- package/src/schemas/src_schemas/screenshot_v1.schema.json +0 -48
- package/src/schemas/src_schemas/screenshot_v3.schema.json +0 -249
- package/src/schemas/src_schemas/scroll_v1.schema.json +0 -50
- package/src/schemas/src_schemas/setVariables_v2.schema.json +0 -38
- package/src/schemas/src_schemas/sourceIntegration_v3.schema.json +0 -45
- package/src/schemas/src_schemas/spec_v2.schema.json +0 -175
- package/src/schemas/src_schemas/spec_v3.schema.json +0 -212
- package/src/schemas/src_schemas/startRecording_v1.schema.json +0 -55
- package/src/schemas/src_schemas/startRecording_v2.schema.json +0 -54
- package/src/schemas/src_schemas/step_v3.schema.json +0 -632
- package/src/schemas/src_schemas/stopRecord_v3.schema.json +0 -9
- package/src/schemas/src_schemas/stopRecording_v1.schema.json +0 -20
- package/src/schemas/src_schemas/stopRecording_v2.schema.json +0 -32
- package/src/schemas/src_schemas/test_v2.schema.json +0 -200
- package/src/schemas/src_schemas/test_v3.schema.json +0 -268
- package/src/schemas/src_schemas/typeKeys_v2.schema.json +0 -63
- package/src/schemas/src_schemas/type_v1.schema.json +0 -62
- package/src/schemas/src_schemas/type_v3.schema.json +0 -118
- package/src/schemas/src_schemas/wait_v1.schema.json +0 -42
- package/src/schemas/src_schemas/wait_v2.schema.json +0 -41
- package/src/schemas/src_schemas/wait_v3.schema.json +0 -36
- package/src/types/generated/checkLink_v3.ts +0 -29
- package/src/types/generated/click_v3.ts +0 -17
- package/src/types/generated/config_v3.ts +0 -405
- package/src/types/generated/context_v3.ts +0 -112
- package/src/types/generated/dragAndDrop_v3.ts +0 -39
- package/src/types/generated/endRecord_v3.ts +0 -10
- package/src/types/generated/find_v3.ts +0 -17
- package/src/types/generated/goTo_v3.ts +0 -48
- package/src/types/generated/httpRequest_v3.ts +0 -17
- package/src/types/generated/loadCookie_v3.ts +0 -17
- package/src/types/generated/loadVariables_v3.ts +0 -10
- package/src/types/generated/openApi_v3.ts +0 -64
- package/src/types/generated/record_v3.ts +0 -34
- package/src/types/generated/report_v3.ts +0 -183
- package/src/types/generated/resolvedTests_v3.ts +0 -585
- package/src/types/generated/runCode_v3.ts +0 -59
- package/src/types/generated/runShell_v3.ts +0 -58
- package/src/types/generated/saveCookie_v3.ts +0 -17
- package/src/types/generated/screenshot_v3.ts +0 -76
- package/src/types/generated/sourceIntegration_v3.ts +0 -31
- package/src/types/generated/spec_v3.ts +0 -166
- package/src/types/generated/step_v3.ts +0 -1288
- package/src/types/generated/stopRecord_v3.ts +0 -10
- package/src/types/generated/test_v3.ts +0 -3048
- package/src/types/generated/type_v3.ts +0 -56
- package/src/types/generated/wait_v3.ts +0 -13
- package/src/validate.ts +0 -627
- package/tsconfig.json +0 -22
|
@@ -1,929 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "config",
|
|
3
|
-
"description": "Configuration options for Doc Detective operations.",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"additionalProperties": false,
|
|
6
|
-
"properties": {
|
|
7
|
-
"defaultCommand": {
|
|
8
|
-
"description": "Default command to run when no command is specified.",
|
|
9
|
-
"type": "string",
|
|
10
|
-
"enum": ["runTests", "runCoverage"]
|
|
11
|
-
},
|
|
12
|
-
"input": {
|
|
13
|
-
"default": ".",
|
|
14
|
-
"$ref": "#/definitions/input"
|
|
15
|
-
},
|
|
16
|
-
"output": {
|
|
17
|
-
"default": ".",
|
|
18
|
-
"$ref": "#/definitions/output"
|
|
19
|
-
},
|
|
20
|
-
"recursive": {
|
|
21
|
-
"default": true,
|
|
22
|
-
"$ref": "#/definitions/recursive"
|
|
23
|
-
},
|
|
24
|
-
"relativePathBase": {
|
|
25
|
-
"description": "Whether paths should be interpreted as relative to the current working directory (`cwd`) or to the file in which they're specified (`file`).",
|
|
26
|
-
"type": "string",
|
|
27
|
-
"enum": ["cwd", "file"],
|
|
28
|
-
"default": "cwd"
|
|
29
|
-
},
|
|
30
|
-
"envVariables": {
|
|
31
|
-
"description": "Path to a `.env` file to load before performing a Doc Detective operation.",
|
|
32
|
-
"type": "string"
|
|
33
|
-
},
|
|
34
|
-
"runTests": {
|
|
35
|
-
"type": "object",
|
|
36
|
-
"additionalProperties": false,
|
|
37
|
-
"description": "Options for running tests. When running tests, values set here override general configuration options.",
|
|
38
|
-
"properties": {
|
|
39
|
-
"input": {
|
|
40
|
-
"$ref": "#/definitions/input"
|
|
41
|
-
},
|
|
42
|
-
"output": {
|
|
43
|
-
"$ref": "#/definitions/output"
|
|
44
|
-
},
|
|
45
|
-
"setup": {
|
|
46
|
-
"description": "Path(s) to test specifications to perform before those specified by `input`. Useful for setting up testing environments.",
|
|
47
|
-
"anyOf": [
|
|
48
|
-
{
|
|
49
|
-
"type": "string"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"type": "array",
|
|
53
|
-
"items": {
|
|
54
|
-
"anyOf": [
|
|
55
|
-
{
|
|
56
|
-
"type": "string"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
|
-
"cleanup": {
|
|
64
|
-
"description": "Path(s) to test specifications to perform after those specified by `input`. Useful for cleaning up testing environments.",
|
|
65
|
-
"anyOf": [
|
|
66
|
-
{
|
|
67
|
-
"type": "string"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"type": "array",
|
|
71
|
-
"items": {
|
|
72
|
-
"anyOf": [
|
|
73
|
-
{
|
|
74
|
-
"type": "string"
|
|
75
|
-
}
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
},
|
|
81
|
-
"recursive": {
|
|
82
|
-
"$ref": "#/definitions/recursive"
|
|
83
|
-
},
|
|
84
|
-
"detectSteps": {
|
|
85
|
-
"type": "boolean",
|
|
86
|
-
"description": "Whether or not to detect steps in input files based on markup regex.",
|
|
87
|
-
"default": false
|
|
88
|
-
},
|
|
89
|
-
"mediaDirectory": {
|
|
90
|
-
"description": "DEPRECATED.",
|
|
91
|
-
"type": "string",
|
|
92
|
-
"default": "."
|
|
93
|
-
},
|
|
94
|
-
"downloadDirectory": {
|
|
95
|
-
"description": "Path of the directory in which to store downloaded files.",
|
|
96
|
-
"type": "string",
|
|
97
|
-
"default": "."
|
|
98
|
-
},
|
|
99
|
-
"contexts": {
|
|
100
|
-
"type": "array",
|
|
101
|
-
"description": "Application/platform sets to run tests in. If no contexts are specified but a context is required by one or more tests, Doc Detective attempts to identify a supported context in the current environment and run tests against it.",
|
|
102
|
-
"items": {
|
|
103
|
-
"oneOf": [
|
|
104
|
-
{
|
|
105
|
-
"$ref": "context_v2.schema.json#"
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
},
|
|
109
|
-
"default": [
|
|
110
|
-
{
|
|
111
|
-
"app": {
|
|
112
|
-
"name": "firefox",
|
|
113
|
-
"options": {
|
|
114
|
-
"width": 1200,
|
|
115
|
-
"height": 800,
|
|
116
|
-
"headless": true
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"platforms": ["linux", "mac", "windows"]
|
|
120
|
-
}
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"runCoverage": {
|
|
126
|
-
"description": "Options for performing test coverage analysis on documentation source files. When performing coveration analysis, values set here override general configuration options.",
|
|
127
|
-
"type": "object",
|
|
128
|
-
"additionalProperties": false,
|
|
129
|
-
"properties": {
|
|
130
|
-
"input": {
|
|
131
|
-
"$ref": "#/definitions/input"
|
|
132
|
-
},
|
|
133
|
-
"output": {
|
|
134
|
-
"$ref": "#/definitions/output"
|
|
135
|
-
},
|
|
136
|
-
"recursive": {
|
|
137
|
-
"$ref": "#/definitions/recursive"
|
|
138
|
-
},
|
|
139
|
-
"markup": {
|
|
140
|
-
"$ref": "#/definitions/markupToInclude",
|
|
141
|
-
"default": [
|
|
142
|
-
"onscreenText",
|
|
143
|
-
"emphasis",
|
|
144
|
-
"image",
|
|
145
|
-
"hyperlink",
|
|
146
|
-
"codeInline",
|
|
147
|
-
"codeBlock",
|
|
148
|
-
"interaction"
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"suggestTests": {
|
|
154
|
-
"description": "Options for suggesting tests based on documentation source files. When suggesting tests, values set here override general condiguration options.",
|
|
155
|
-
"type": "object",
|
|
156
|
-
"additionalProperties": false,
|
|
157
|
-
"properties": {
|
|
158
|
-
"input": {
|
|
159
|
-
"$ref": "#/definitions/input"
|
|
160
|
-
},
|
|
161
|
-
"output": {
|
|
162
|
-
"$ref": "#/definitions/output"
|
|
163
|
-
},
|
|
164
|
-
"recursive": {
|
|
165
|
-
"$ref": "#/definitions/recursive"
|
|
166
|
-
},
|
|
167
|
-
"markup": {
|
|
168
|
-
"$ref": "#/definitions/markupToInclude",
|
|
169
|
-
"default": [
|
|
170
|
-
"onscreenText",
|
|
171
|
-
"emphasis",
|
|
172
|
-
"image",
|
|
173
|
-
"hyperlink",
|
|
174
|
-
"codeInline",
|
|
175
|
-
"codeBlock",
|
|
176
|
-
"interaction"
|
|
177
|
-
]
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
"fileTypes": {
|
|
182
|
-
"description": "Information on supported file types and how to parse the markup within them.",
|
|
183
|
-
"type": "array",
|
|
184
|
-
"items": {
|
|
185
|
-
"oneOf": [
|
|
186
|
-
{
|
|
187
|
-
"type": "object",
|
|
188
|
-
"additionalProperties": false,
|
|
189
|
-
"properties": {
|
|
190
|
-
"name": {
|
|
191
|
-
"description": "Name of the file type.",
|
|
192
|
-
"type": "string"
|
|
193
|
-
},
|
|
194
|
-
"extensions": {
|
|
195
|
-
"description": "File extensions to support with this configuration.",
|
|
196
|
-
"type": "array",
|
|
197
|
-
"items": {
|
|
198
|
-
"oneOf": [
|
|
199
|
-
{
|
|
200
|
-
"type": "string"
|
|
201
|
-
}
|
|
202
|
-
]
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"testStartStatementOpen": {
|
|
206
|
-
"description": "Opening of an in-document test start statement.",
|
|
207
|
-
"type": "string"
|
|
208
|
-
},
|
|
209
|
-
"testStartStatementClose": {
|
|
210
|
-
"description": "Close of an in-document test start statement.",
|
|
211
|
-
"type": "string"
|
|
212
|
-
},
|
|
213
|
-
"testIgnoreStatement": {
|
|
214
|
-
"description": "Text for an in-document test ignore statement.",
|
|
215
|
-
"type": "string"
|
|
216
|
-
},
|
|
217
|
-
"testEndStatement": {
|
|
218
|
-
"description": "Text for an in-document test end statement.",
|
|
219
|
-
"type": "string"
|
|
220
|
-
},
|
|
221
|
-
"stepStatementOpen": {
|
|
222
|
-
"description": "Opening of an in-document step statement.",
|
|
223
|
-
"type": "string"
|
|
224
|
-
},
|
|
225
|
-
"stepStatementClose": {
|
|
226
|
-
"description": "Close of an in-document step statement.",
|
|
227
|
-
"type": "string"
|
|
228
|
-
},
|
|
229
|
-
"markup": {
|
|
230
|
-
"description": "Markup types and associated regex patterns to find in documentation source files.",
|
|
231
|
-
"type": "array",
|
|
232
|
-
"items": {
|
|
233
|
-
"oneOf": [
|
|
234
|
-
{
|
|
235
|
-
"type": "object",
|
|
236
|
-
"additionalProperties": false,
|
|
237
|
-
"properties": {
|
|
238
|
-
"name": {
|
|
239
|
-
"description": "Name of the markup type.",
|
|
240
|
-
"type": "string"
|
|
241
|
-
},
|
|
242
|
-
"regex": {
|
|
243
|
-
"description": "Regex patterns to find the markup type in documentation source files.",
|
|
244
|
-
"type": "array",
|
|
245
|
-
"minItems": 1,
|
|
246
|
-
"items": {
|
|
247
|
-
"oneOf": [
|
|
248
|
-
{
|
|
249
|
-
"type": "string"
|
|
250
|
-
}
|
|
251
|
-
]
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
"actions": {
|
|
255
|
-
"description": "Actions that apply to the markup type.",
|
|
256
|
-
"type": "array",
|
|
257
|
-
"items": {
|
|
258
|
-
"oneOf": [
|
|
259
|
-
{
|
|
260
|
-
"type": "string",
|
|
261
|
-
"enum": [
|
|
262
|
-
"checkLink",
|
|
263
|
-
"find",
|
|
264
|
-
"goTo",
|
|
265
|
-
"httpRequest",
|
|
266
|
-
"runShell",
|
|
267
|
-
"saveScreenshot",
|
|
268
|
-
"setVariables",
|
|
269
|
-
"startRecording",
|
|
270
|
-
"stopRecording",
|
|
271
|
-
"typeKeys",
|
|
272
|
-
"wait"
|
|
273
|
-
]
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"type": "object",
|
|
277
|
-
"additionalProperties": false,
|
|
278
|
-
"properties": {
|
|
279
|
-
"name": {
|
|
280
|
-
"description": "Name of the action.",
|
|
281
|
-
"type": "string",
|
|
282
|
-
"enum": [
|
|
283
|
-
"checkLink",
|
|
284
|
-
"find",
|
|
285
|
-
"goTo",
|
|
286
|
-
"httpRequest",
|
|
287
|
-
"runShell",
|
|
288
|
-
"saveScreenshot",
|
|
289
|
-
"setVariables",
|
|
290
|
-
"startRecording",
|
|
291
|
-
"stopRecording",
|
|
292
|
-
"typeKeys",
|
|
293
|
-
"wait"
|
|
294
|
-
]
|
|
295
|
-
},
|
|
296
|
-
"params": {
|
|
297
|
-
"description": "Parameters for the action.",
|
|
298
|
-
"type": "object",
|
|
299
|
-
"additionalProperties": true
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
"required": ["name"]
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"$ref": "checkLink_v2.schema.json#"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"$ref": "find_v2.schema.json#"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"$ref": "goTo_v2.schema.json#"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"$ref": "httpRequest_v2.schema.json#"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"$ref": "runShell_v2.schema.json#"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"$ref": "saveScreenshot_v2.schema.json#"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"$ref": "setVariables_v2.schema.json#"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"$ref": "startRecording_v2.schema.json#"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"$ref": "stopRecording_v2.schema.json#"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"$ref": "typeKeys_v2.schema.json#"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"$ref": "wait_v2.schema.json#"
|
|
336
|
-
}
|
|
337
|
-
]
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
"required": ["name", "regex"]
|
|
342
|
-
}
|
|
343
|
-
]
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
},
|
|
347
|
-
"required": [
|
|
348
|
-
"extensions",
|
|
349
|
-
"testStartStatementOpen",
|
|
350
|
-
"testStartStatementClose",
|
|
351
|
-
"testIgnoreStatement",
|
|
352
|
-
"testEndStatement",
|
|
353
|
-
"stepStatementOpen",
|
|
354
|
-
"stepStatementClose",
|
|
355
|
-
"markup"
|
|
356
|
-
]
|
|
357
|
-
}
|
|
358
|
-
]
|
|
359
|
-
},
|
|
360
|
-
"default": [
|
|
361
|
-
{
|
|
362
|
-
"name": "Markdown",
|
|
363
|
-
"extensions": [".md", ".markdown", ".mdx"],
|
|
364
|
-
"testStartStatementOpen": "[comment]: # (test start",
|
|
365
|
-
"testStartStatementClose": ")",
|
|
366
|
-
"testIgnoreStatement": "[comment]: # (test ignore)",
|
|
367
|
-
"testEndStatement": "[comment]: # (test end)",
|
|
368
|
-
"stepStatementOpen": "[comment]: # (step",
|
|
369
|
-
"stepStatementClose": ")",
|
|
370
|
-
"markup": [
|
|
371
|
-
{
|
|
372
|
-
"name": "onscreenText",
|
|
373
|
-
"regex": ["\\*\\*.+?\\*\\*"],
|
|
374
|
-
"actions": ["find"]
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
"name": "emphasis",
|
|
378
|
-
"regex": ["(?<!\\*)\\*(?!\\*).+?(?<!\\*)\\*(?!\\*)"]
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"name": "image",
|
|
382
|
-
"regex": ["!\\[.+?\\]\\(.+?\\)"],
|
|
383
|
-
"actions": ["checkLink"]
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"name": "hyperlink",
|
|
387
|
-
"regex": ["(?<!!)\\[.+?\\]\\(.+?\\)"],
|
|
388
|
-
"actions": ["checkLink"]
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"name": "navigationLink",
|
|
392
|
-
"regex": [
|
|
393
|
-
"(?:[Cc]hose|[Oo]pen|[Cc]lick|[Nn]avigate to|[Gg]o to)(?<!!)\\[.+?\\]\\(.+?\\)"
|
|
394
|
-
],
|
|
395
|
-
"actions": ["goTo"]
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"name": "orderedList",
|
|
399
|
-
"regex": ["(?<=\n) *?[0-9][0-9]?[0-9]?.\\s*.*"]
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
"name": "unorderedList",
|
|
403
|
-
"regex": ["(?<=\n) *?\\*.\\s*.*", "(?<=\n) *?-.\\s*.*"]
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"name": "codeInline",
|
|
407
|
-
"regex": ["(?<!`)`(?!`).+?(?<!`)`(?!`)"]
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
"name": "interaction",
|
|
411
|
-
"regex": [
|
|
412
|
-
"[cC]lick",
|
|
413
|
-
"[tT]ap",
|
|
414
|
-
"[tT]ouch",
|
|
415
|
-
"[sS]elect",
|
|
416
|
-
"[cC]hoose",
|
|
417
|
-
"[tT]oggle",
|
|
418
|
-
"[eE]nable",
|
|
419
|
-
"[dD]isable",
|
|
420
|
-
"[tT]urn [oO][ff|n]",
|
|
421
|
-
"[tT]ype",
|
|
422
|
-
"[eE]nter",
|
|
423
|
-
"[sS]end",
|
|
424
|
-
"[aA]dd",
|
|
425
|
-
"[rR]emove",
|
|
426
|
-
"[dD]elete",
|
|
427
|
-
"[uU]pload",
|
|
428
|
-
"[dD]ownload",
|
|
429
|
-
"[sS]croll",
|
|
430
|
-
"[sS]earch",
|
|
431
|
-
"[fF]ilter",
|
|
432
|
-
"[sS]ort",
|
|
433
|
-
"[cC]opy",
|
|
434
|
-
"[pP]aste",
|
|
435
|
-
"[cC]ut",
|
|
436
|
-
"[rR]eplace",
|
|
437
|
-
"[cC]lear",
|
|
438
|
-
"[rR]efresh",
|
|
439
|
-
"[rR]evert",
|
|
440
|
-
"[rR]estore",
|
|
441
|
-
"[rR]eset",
|
|
442
|
-
"[lL]ogin",
|
|
443
|
-
"[lL]ogout",
|
|
444
|
-
"[sS]ign [iI]n",
|
|
445
|
-
"[sS]ign [oO]ut",
|
|
446
|
-
"[sS]ubmit",
|
|
447
|
-
"[cC]ancel",
|
|
448
|
-
"[cC]lose",
|
|
449
|
-
"[aA]ccept",
|
|
450
|
-
"[dD]ecline",
|
|
451
|
-
"[dD]eny",
|
|
452
|
-
"[rR]eject",
|
|
453
|
-
"[rR]etry",
|
|
454
|
-
"[rR]estart",
|
|
455
|
-
"[rR]esume"
|
|
456
|
-
]
|
|
457
|
-
}
|
|
458
|
-
]
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
"name": "AsciiDoc",
|
|
462
|
-
"extensions": [".adoc", ".asciidoc, .asc"],
|
|
463
|
-
"testStartStatementOpen": "// (test start",
|
|
464
|
-
"testStartStatementClose": ")",
|
|
465
|
-
"testIgnoreStatement": "// (test ignore)",
|
|
466
|
-
"testEndStatement": "// (test end)",
|
|
467
|
-
"stepStatementOpen": "// (step",
|
|
468
|
-
"stepStatementClose": ")",
|
|
469
|
-
"markup": []
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"name": "HTML/XML",
|
|
473
|
-
"extensions": [".html", ".htm", ".xml", ".xhtml"],
|
|
474
|
-
"testStartStatementOpen": "<!-- test start",
|
|
475
|
-
"testStartStatementClose": "-->",
|
|
476
|
-
"testIgnoreStatement": "<!-- test ignore -->",
|
|
477
|
-
"testEndStatement": "<!-- test end -->",
|
|
478
|
-
"stepStatementOpen": "<!-- step",
|
|
479
|
-
"stepStatementClose": "-->",
|
|
480
|
-
"markup": []
|
|
481
|
-
}
|
|
482
|
-
]
|
|
483
|
-
},
|
|
484
|
-
"integrations": {
|
|
485
|
-
"description": "Options for connecting to external services.",
|
|
486
|
-
"type": "object",
|
|
487
|
-
"additionalProperties": false,
|
|
488
|
-
"properties": {
|
|
489
|
-
"openApi": {
|
|
490
|
-
"type": "array",
|
|
491
|
-
"items": {
|
|
492
|
-
"allOf": [
|
|
493
|
-
{
|
|
494
|
-
"$ref": "openApi_v2.schema.json#"
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"type": "object",
|
|
498
|
-
"properties": {
|
|
499
|
-
"operationId": {
|
|
500
|
-
"type": "null",
|
|
501
|
-
"$commment": "Only allow operationId at the step level."
|
|
502
|
-
}
|
|
503
|
-
},
|
|
504
|
-
"required": ["name", "descriptionPath"]
|
|
505
|
-
}
|
|
506
|
-
]
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
-
"telemetry": {
|
|
512
|
-
"description": "Options around sending telemetry for Doc Detective usage.",
|
|
513
|
-
"type": "object",
|
|
514
|
-
"additionalProperties": false,
|
|
515
|
-
"properties": {
|
|
516
|
-
"send": {
|
|
517
|
-
"description": "If `true`, sends Doc Detective telemetry.",
|
|
518
|
-
"type": "boolean",
|
|
519
|
-
"default": true
|
|
520
|
-
},
|
|
521
|
-
"userId": {
|
|
522
|
-
"description": "Identifier for the organization, group, or individual running Doc Detective.",
|
|
523
|
-
"type": "string"
|
|
524
|
-
}
|
|
525
|
-
},
|
|
526
|
-
"required": ["send"],
|
|
527
|
-
"default": {
|
|
528
|
-
"send": true
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
"logLevel": {
|
|
532
|
-
"description": "Amount of detail to output when performing an operation.",
|
|
533
|
-
"type": "string",
|
|
534
|
-
"enum": ["silent", "error", "warning", "info", "debug"],
|
|
535
|
-
"default": "info"
|
|
536
|
-
}
|
|
537
|
-
},
|
|
538
|
-
"definitions": {
|
|
539
|
-
"input": {
|
|
540
|
-
"description": "Path(s) to test specifications and documentation source files. May be paths to specific files or to directories to scan for files.",
|
|
541
|
-
"anyOf": [
|
|
542
|
-
{
|
|
543
|
-
"type": "string"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"type": "array",
|
|
547
|
-
"items": {
|
|
548
|
-
"anyOf": [
|
|
549
|
-
{
|
|
550
|
-
"type": "string"
|
|
551
|
-
}
|
|
552
|
-
]
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
]
|
|
556
|
-
},
|
|
557
|
-
"recursive": {
|
|
558
|
-
"description": "If `true` searches `input`, `setup`, and `cleanup` paths recursively for test specificaions and source files.",
|
|
559
|
-
"type": "boolean"
|
|
560
|
-
},
|
|
561
|
-
"output": {
|
|
562
|
-
"description": "Path of the of the file or directory in which to store the output of Doc Detective commands. If a file path is specified, the output is written to that file. If a file of that name already exists, Doc Detective creates appends an integer to the result file name. If a directory path is specified, the output file name is dependent on the command being run.",
|
|
563
|
-
"type": "string",
|
|
564
|
-
"default": "."
|
|
565
|
-
},
|
|
566
|
-
"markupToInclude": {
|
|
567
|
-
"description": "Markup types to include when performing this operation. If no markup types are specified, the operation includes all markup types as defined in `fileTypes`.",
|
|
568
|
-
"type": "array",
|
|
569
|
-
"items": {
|
|
570
|
-
"oneOf": [
|
|
571
|
-
{
|
|
572
|
-
"type": "string"
|
|
573
|
-
}
|
|
574
|
-
]
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
},
|
|
578
|
-
"examples": [
|
|
579
|
-
{},
|
|
580
|
-
{
|
|
581
|
-
"input": ".",
|
|
582
|
-
"output": "."
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
"defaultCommand": "runTests",
|
|
586
|
-
"envVariables": "",
|
|
587
|
-
"input": ".",
|
|
588
|
-
"output": ".",
|
|
589
|
-
"recursive": true,
|
|
590
|
-
"logLevel": "info",
|
|
591
|
-
"runTests": {
|
|
592
|
-
"input": ".",
|
|
593
|
-
"output": ".",
|
|
594
|
-
"setup": "",
|
|
595
|
-
"cleanup": "",
|
|
596
|
-
"recursive": true,
|
|
597
|
-
"downloadDirectory": ".",
|
|
598
|
-
"contexts": [
|
|
599
|
-
{
|
|
600
|
-
"app": {
|
|
601
|
-
"name": "firefox",
|
|
602
|
-
"path": ""
|
|
603
|
-
},
|
|
604
|
-
"platforms": ["linux", "mac", "windows"]
|
|
605
|
-
}
|
|
606
|
-
]
|
|
607
|
-
}
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"integrations": {
|
|
611
|
-
"openApi": [
|
|
612
|
-
{
|
|
613
|
-
"name": "Acme",
|
|
614
|
-
"descriptionPath": "https://www.acme.com/openapi.json",
|
|
615
|
-
"server": "https://api.acme.com",
|
|
616
|
-
"mockResponse": true
|
|
617
|
-
}
|
|
618
|
-
]
|
|
619
|
-
}
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"envVariables": "",
|
|
623
|
-
"input": ".",
|
|
624
|
-
"output": ".",
|
|
625
|
-
"recursive": true,
|
|
626
|
-
"logLevel": "info",
|
|
627
|
-
"runTests": {
|
|
628
|
-
"input": ".",
|
|
629
|
-
"output": ".",
|
|
630
|
-
"setup": "",
|
|
631
|
-
"cleanup": "",
|
|
632
|
-
"recursive": true,
|
|
633
|
-
"downloadDirectory": ".",
|
|
634
|
-
"contexts": [
|
|
635
|
-
{
|
|
636
|
-
"app": {
|
|
637
|
-
"name": "firefox",
|
|
638
|
-
"path": ""
|
|
639
|
-
},
|
|
640
|
-
"platforms": ["linux", "mac", "windows"]
|
|
641
|
-
}
|
|
642
|
-
]
|
|
643
|
-
},
|
|
644
|
-
"runCoverage": {
|
|
645
|
-
"recursive": true,
|
|
646
|
-
"input": ".",
|
|
647
|
-
"output": ".",
|
|
648
|
-
"markup": []
|
|
649
|
-
},
|
|
650
|
-
"fileTypes": [
|
|
651
|
-
{
|
|
652
|
-
"name": "Markdown",
|
|
653
|
-
"extensions": [".md", ".markdown", ".mdx"],
|
|
654
|
-
"testStartStatementOpen": "[comment]: # (test start",
|
|
655
|
-
"testStartStatementClose": ")",
|
|
656
|
-
"testIgnoreStatement": "[comment]: # (test ignore)",
|
|
657
|
-
"testEndStatement": "[comment]: # (test end)",
|
|
658
|
-
"stepStatementOpen": "[comment]: # (step",
|
|
659
|
-
"stepStatementClose": ")",
|
|
660
|
-
"markup": [
|
|
661
|
-
{
|
|
662
|
-
"name": "onscreenText",
|
|
663
|
-
"regex": ["\\*\\*.+?\\*\\*"],
|
|
664
|
-
"actions": ["find"]
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
"name": "emphasis",
|
|
668
|
-
"regex": ["(?<!\\*)\\*(?!\\*).+?(?<!\\*)\\*(?!\\*)"]
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"name": "image",
|
|
672
|
-
"regex": ["!\\[.+?\\]\\(.+?\\)"],
|
|
673
|
-
"actions": ["checkLink"]
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
"name": "hyperlink",
|
|
677
|
-
"regex": ["(?<!!)\\[.+?\\]\\(.+?\\)"],
|
|
678
|
-
"actions": ["checkLink"]
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
"name": "navigationLink",
|
|
682
|
-
"regex": [
|
|
683
|
-
"(?:[Cc]hose|[Oo]pen|[Cc]lick|[Nn]avigate to|[Gg]o to)(?<!!)\\[.+?\\]\\(.+?\\)"
|
|
684
|
-
],
|
|
685
|
-
"actions": ["goTo"]
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
"name": "orderedList",
|
|
689
|
-
"regex": ["(?<=\n) *?[0-9][0-9]?[0-9]?.\\s*.*"]
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"name": "unorderedList",
|
|
693
|
-
"regex": ["(?<=\n) *?\\*.\\s*.*", "(?<=\n) *?-.\\s*.*"]
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
"name": "codeInline",
|
|
697
|
-
"regex": ["(?<!`)`(?!`).+?(?<!`)`(?!`)"]
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
"name": "codeBlock",
|
|
701
|
-
"regex": ["(?=(```))(\\w|\\W)*(?<=```)"]
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"name": "interaction",
|
|
705
|
-
"regex": [
|
|
706
|
-
"[cC]lick",
|
|
707
|
-
"[tT]ap",
|
|
708
|
-
"[tT]ouch",
|
|
709
|
-
"[sS]elect",
|
|
710
|
-
"[cC]hoose",
|
|
711
|
-
"[tT]oggle",
|
|
712
|
-
"[eE]nable",
|
|
713
|
-
"[dD]isable",
|
|
714
|
-
"[tT]urn [oO][ff|n]",
|
|
715
|
-
"[tT]ype",
|
|
716
|
-
"[eE]nter",
|
|
717
|
-
"[sS]end",
|
|
718
|
-
"[aA]dd",
|
|
719
|
-
"[rR]emove",
|
|
720
|
-
"[dD]elete",
|
|
721
|
-
"[uU]pload",
|
|
722
|
-
"[dD]ownload",
|
|
723
|
-
"[sS]croll",
|
|
724
|
-
"[sS]earch",
|
|
725
|
-
"[fF]ilter",
|
|
726
|
-
"[sS]ort",
|
|
727
|
-
"[cC]opy",
|
|
728
|
-
"[pP]aste",
|
|
729
|
-
"[cC]ut",
|
|
730
|
-
"[rR]eplace",
|
|
731
|
-
"[cC]lear",
|
|
732
|
-
"[rR]efresh",
|
|
733
|
-
"[rR]evert",
|
|
734
|
-
"[rR]estore",
|
|
735
|
-
"[rR]eset",
|
|
736
|
-
"[lL]ogin",
|
|
737
|
-
"[lL]ogout",
|
|
738
|
-
"[sS]ign [iI]n",
|
|
739
|
-
"[sS]ign [oO]ut",
|
|
740
|
-
"[sS]ubmit",
|
|
741
|
-
"[cC]ancel",
|
|
742
|
-
"[cC]lose",
|
|
743
|
-
"[aA]ccept",
|
|
744
|
-
"[dD]ecline",
|
|
745
|
-
"[dD]eny",
|
|
746
|
-
"[rR]eject",
|
|
747
|
-
"[rR]etry",
|
|
748
|
-
"[rR]estart",
|
|
749
|
-
"[rR]esume"
|
|
750
|
-
]
|
|
751
|
-
}
|
|
752
|
-
]
|
|
753
|
-
}
|
|
754
|
-
],
|
|
755
|
-
"integrations": {},
|
|
756
|
-
"telemetry": {
|
|
757
|
-
"send": true,
|
|
758
|
-
"userId": "Doc Detective"
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
"envVariables": "",
|
|
763
|
-
"input": ["."],
|
|
764
|
-
"output": ".",
|
|
765
|
-
"recursive": true,
|
|
766
|
-
"relativePathBase": "cwd",
|
|
767
|
-
"logLevel": "info",
|
|
768
|
-
"runTests": {
|
|
769
|
-
"input": ["."],
|
|
770
|
-
"output": ".",
|
|
771
|
-
"setup": ["."],
|
|
772
|
-
"cleanup": ["."],
|
|
773
|
-
"recursive": true,
|
|
774
|
-
"downloadDirectory": ".",
|
|
775
|
-
"contexts": [
|
|
776
|
-
{
|
|
777
|
-
"app": {
|
|
778
|
-
"name": "firefox",
|
|
779
|
-
"options": {
|
|
780
|
-
"width": 1200,
|
|
781
|
-
"height": 800,
|
|
782
|
-
"headless": true
|
|
783
|
-
}
|
|
784
|
-
},
|
|
785
|
-
"platforms": ["linux", "mac", "windows"]
|
|
786
|
-
}
|
|
787
|
-
]
|
|
788
|
-
},
|
|
789
|
-
"runCoverage": {
|
|
790
|
-
"recursive": true,
|
|
791
|
-
"input": ["."],
|
|
792
|
-
"output": ".",
|
|
793
|
-
"markup": []
|
|
794
|
-
},
|
|
795
|
-
"fileTypes": [
|
|
796
|
-
{
|
|
797
|
-
"name": "Markdown",
|
|
798
|
-
"extensions": [".md", ".markdown", ".mdx"],
|
|
799
|
-
"testStartStatementOpen": "[comment]: # (test start",
|
|
800
|
-
"testStartStatementClose": ")",
|
|
801
|
-
"testIgnoreStatement": "[comment]: # (test ignore)",
|
|
802
|
-
"testEndStatement": "[comment]: # (test end)",
|
|
803
|
-
"stepStatementOpen": "[comment]: # (step",
|
|
804
|
-
"stepStatementClose": ")",
|
|
805
|
-
"markup": [
|
|
806
|
-
{
|
|
807
|
-
"name": "onscreenText",
|
|
808
|
-
"regex": ["\\*\\*.+?\\*\\*"],
|
|
809
|
-
"actions": ["find"]
|
|
810
|
-
},
|
|
811
|
-
{
|
|
812
|
-
"name": "emphasis",
|
|
813
|
-
"regex": ["(?<!\\*)\\*(?!\\*).+?(?<!\\*)\\*(?!\\*)"]
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
"name": "image",
|
|
817
|
-
"regex": ["!\\[.+?\\]\\(.+?\\)"],
|
|
818
|
-
"actions": ["checkLink"]
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
"name": "hyperlink",
|
|
822
|
-
"regex": ["(?<!!)\\[.+?\\]\\(.+?\\)"],
|
|
823
|
-
"actions": ["checkLink"]
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"name": "navigationLink",
|
|
827
|
-
"regex": [
|
|
828
|
-
"(?:[Cc]hose|[Oo]pen|[Cc]lick|[Nn]avigate to|[Gg]o to)(?<!!)\\[.+?\\]\\(.+?\\)"
|
|
829
|
-
],
|
|
830
|
-
"actions": ["goTo"]
|
|
831
|
-
},
|
|
832
|
-
{
|
|
833
|
-
"name": "orderedList",
|
|
834
|
-
"regex": ["(?<=\n) *?[0-9][0-9]?[0-9]?.\\s*.*"]
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
"name": "unorderedList",
|
|
838
|
-
"regex": ["(?<=\n) *?\\*.\\s*.*", "(?<=\n) *?-.\\s*.*"]
|
|
839
|
-
},
|
|
840
|
-
{
|
|
841
|
-
"name": "codeInline",
|
|
842
|
-
"regex": ["(?<!`)`(?!`).+?(?<!`)`(?!`)"]
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
"name": "codeBlock",
|
|
846
|
-
"regex": ["(?=(```))(\\w|\\W)*(?<=```)"]
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"name": "interaction",
|
|
850
|
-
"regex": [
|
|
851
|
-
"[cC]lick",
|
|
852
|
-
"[tT]ap",
|
|
853
|
-
"[tT]ouch",
|
|
854
|
-
"[sS]elect",
|
|
855
|
-
"[cC]hoose",
|
|
856
|
-
"[tT]oggle",
|
|
857
|
-
"[eE]nable",
|
|
858
|
-
"[dD]isable",
|
|
859
|
-
"[tT]urn [oO][ff|n]",
|
|
860
|
-
"[tT]ype",
|
|
861
|
-
"[eE]nter",
|
|
862
|
-
"[sS]end",
|
|
863
|
-
"[aA]dd",
|
|
864
|
-
"[rR]emove",
|
|
865
|
-
"[dD]elete",
|
|
866
|
-
"[uU]pload",
|
|
867
|
-
"[dD]ownload",
|
|
868
|
-
"[sS]croll",
|
|
869
|
-
"[sS]earch",
|
|
870
|
-
"[fF]ilter",
|
|
871
|
-
"[sS]ort",
|
|
872
|
-
"[cC]opy",
|
|
873
|
-
"[pP]aste",
|
|
874
|
-
"[cC]ut",
|
|
875
|
-
"[rR]eplace",
|
|
876
|
-
"[cC]lear",
|
|
877
|
-
"[rR]efresh",
|
|
878
|
-
"[rR]evert",
|
|
879
|
-
"[rR]estore",
|
|
880
|
-
"[rR]eset",
|
|
881
|
-
"[lL]ogin",
|
|
882
|
-
"[lL]ogout",
|
|
883
|
-
"[sS]ign [iI]n",
|
|
884
|
-
"[sS]ign [oO]ut",
|
|
885
|
-
"[sS]ubmit",
|
|
886
|
-
"[cC]ancel",
|
|
887
|
-
"[cC]lose",
|
|
888
|
-
"[aA]ccept",
|
|
889
|
-
"[dD]ecline",
|
|
890
|
-
"[dD]eny",
|
|
891
|
-
"[rR]eject",
|
|
892
|
-
"[rR]etry",
|
|
893
|
-
"[rR]estart",
|
|
894
|
-
"[rR]esume"
|
|
895
|
-
]
|
|
896
|
-
}
|
|
897
|
-
]
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
"name": "AsciiDoc",
|
|
901
|
-
"extensions": [".adoc", ".asciidoc, .asc"],
|
|
902
|
-
"testStartStatementOpen": "// (test start",
|
|
903
|
-
"testStartStatementClose": ")",
|
|
904
|
-
"testIgnoreStatement": "// (test ignore)",
|
|
905
|
-
"testEndStatement": "// (test end)",
|
|
906
|
-
"stepStatementOpen": "// (step",
|
|
907
|
-
"stepStatementClose": ")",
|
|
908
|
-
"markup": []
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
"name": "HTML/XML",
|
|
912
|
-
"extensions": [".html", ".htm", ".xml", ".xhtml"],
|
|
913
|
-
"testStartStatementOpen": "<!-- test start",
|
|
914
|
-
"testStartStatementClose": "-->",
|
|
915
|
-
"testIgnoreStatement": "<!-- test ignore -->",
|
|
916
|
-
"testEndStatement": "<!-- test end -->",
|
|
917
|
-
"stepStatementOpen": "<!-- step",
|
|
918
|
-
"stepStatementClose": "-->",
|
|
919
|
-
"markup": []
|
|
920
|
-
}
|
|
921
|
-
],
|
|
922
|
-
"integrations": {},
|
|
923
|
-
"telemetry": {
|
|
924
|
-
"send": true,
|
|
925
|
-
"userId": "Doc Detective"
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
]
|
|
929
|
-
}
|