You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/references/schemas/checkLink.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,11 @@
7
7
8
8
Field | Type | Description | Default
9
9
:-- | :-- | :-- | :--
10
-
url | string | Required. URL to check. Can be a full URL or a path. If a path is provided, `origin` must be specified. |
10
+
checkLink | string | Check if an HTTP or HTTPS URL returns an acceptable status code from a GET request. |
11
+
url | string | Required. URL to check. Can be a full URL or a path. If a path is provided, `origin` must be specified.<br/><br/>Pattern: `(^(http://|https://|/).*|\$[A-Za-z0-9_]+)` |
11
12
origin | string | Optional. Protocol and domain to navigate to. Prepended to `url`. |
12
-
statusCodes | integer | Optional. No description provided. |
13
-
statusCodes | array of integer | Optional. No description provided. |
13
+
statusCodes | integer | Optional. Accepted status codes. If the specified URL returns a code other than what is specified here, the action fails. |
14
+
statusCodes | array of integer | Optional. Accepted status codes. If the specified URL returns a code other than what is specified here, the action fails. |
Copy file name to clipboardExpand all lines: docs/references/schemas/click.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ Click or tap an element.
7
7
8
8
Field | Type | Description | Default
9
9
:-- | :-- | :-- | :--
10
+
click | string | Display text or selector of the element to find. |
11
+
click | boolean | No description provided. |
10
12
button | string | Optional. Kind of click to perform.<br/><br/>Accepted values: `left`, `right`, `middle` |
11
13
elementText | string | Optional. Display text of the element to click. If combined with `selector`, the element must match both the text and the selector. |
12
14
selector | string | Optional. Selector of the element to click. If combined with `elementText`, the element must match both the text and the selector. |
Copy file name to clipboardExpand all lines: docs/references/schemas/config.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,20 +8,21 @@ Configuration options for Doc Detective operations.
8
8
Field | Type | Description | Default
9
9
:-- | :-- | :-- | :--
10
10
configId | string | Optional. Identifier for the configuration. |
11
-
input | unknown | Optional. Path(s) to test specifications and documentation source files. May be paths to specific files or to directories to scan for files. | `.`
11
+
input | string | Optional. Path(s) to test specifications and documentation source files. May be paths to specific files or to directories to scan for files. |
12
+
input | array of string | Optional. Path(s) to test specifications and documentation source files. May be paths to specific files or to directories to scan for files. |
12
13
output | string | Optional. Path of the directory in which to store the output of Doc Detective commands. If a file path is specified, Doc Detective attempts to honor the file name specified, but file path behavior is controlled by the configured reporters. | `.`
13
14
recursive | boolean | Optional. If `true` searches `input`, `setup`, and `cleanup` paths recursively for test specifications and source files. | `true`
14
15
relativePathBase | string | Optional. Whether paths should be interpreted as relative to the current working directory (`cwd`) or to the file in which they're specified (`file`).<br/><br/>Accepted values: `cwd`, `file` | `file`
15
16
loadVariables | string | Optional. Load environment variables from the specified `.env` file. |
16
17
origin | string | Optional. Default protocol and domain to use for relative URLs. |
17
-
beforeAny | string | Optional. No description provided. |
18
-
beforeAny | array of string | Optional. No description provided. |
19
-
afterAll | string | Optional. No description provided. |
20
-
afterAll | array of string | Optional. No description provided. |
18
+
beforeAny | string | Optional. Path(s) to test specifications to perform before those specified by `input`. Useful for setting up testing environments. |
19
+
beforeAny | array of string | Optional. Path(s) to test specifications to perform before those specified by `input`. Useful for setting up testing environments. |
20
+
afterAll | string | Optional. Path(s) to test specifications to perform after those specified by `input`. Useful for cleaning up testing environments. |
21
+
afterAll | array of string | Optional. Path(s) to test specifications to perform after those specified by `input`. Useful for cleaning up testing environments. |
21
22
detectSteps | boolean | Optional. Whether or not to detect steps in input files based on defined markup. | `true`
22
23
logLevel | string | Optional. Amount of detail to output when performing an operation.<br/><br/>Accepted values: `silent`, `error`, `warning`, `info`, `debug` | `info`
23
-
runOn | array of object([context](/docs/references/schemas/context)) | Optional. Contexts to run the test in. Overrides contexts defined at the config and spec levels. |
24
-
fileTypes | array of <br/>one of:<br/>- string<br/>- object([Custom](/docs/references/schemas/Custom))<br/>- object([Executable](/docs/references/schemas/Executable)) | Optional. No description provided. |
24
+
runOn | array of object | Optional. Contexts to run the test in. Overrides contexts defined at the config and spec levels. |
25
+
fileTypes | array of string, object, object | Optional. Configuration for file types and their markup detection. |
25
26
integrations | object | Optional. Options for connecting to external services. |
26
27
integrations.openApi | array of unknown | Optional. No description provided. |
27
28
telemetry | object | Optional. Options around sending telemetry for Doc Detective usage. | ``{"send":true}``
Copy file name to clipboardExpand all lines: docs/references/schemas/find.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,13 @@ Find an element based on display text or a selector, then optionally interact wi
7
7
8
8
Field | Type | Description | Default
9
9
:-- | :-- | :-- | :--
10
+
find | string | Display text or selector of the element to find. |
10
11
elementText | string | Optional. Display text of the element to find. If combined with `selector`, the element must match both the text and the selector. |
11
12
selector | string | Optional. Selector of the element to find. If combined with `elementText`, the element must match both the text and the selector. |
12
13
timeout | integer | Optional. Max duration in milliseconds to wait for the element to exist. | `5000`
13
14
moveTo | boolean | Optional. Move to the element. If the element isn't visible, it's scrolled into view. | `true`
14
15
click | object([click](/docs/references/schemas/click)) | Optional. Click or tap an element. |
15
-
click | object | Optional. No description provided. |
16
+
click | object | Optional. Click the element. |
16
17
click.button | string | Optional. Kind of click to perform.<br/><br/>Accepted values: `left`, `right`, `middle` |
17
18
type | unknown | Optional. Type keys after finding the element. Either a string or an object with a `keys` field as defined in [`type`](type). To type in the element, make the element active with the `click` parameter. |
Copy file name to clipboardExpand all lines: docs/references/schemas/goTo.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@
7
7
8
8
Field | Type | Description | Default
9
9
:-- | :-- | :-- | :--
10
-
url | string | Required. URL to navigate to. Can be a full URL or a path. If a path is provided and `origin` is specified, prepends `origin` to `url`. If a path is provided but `origin` isn't specified, attempts to navigate relative to the current URL, if any. |
10
+
goTo | string | Navigate to an HTTP or HTTPS URL. Can be a full URL or a path. If a path is provided, navigates relative to the current URL, if any. |
11
+
url | string | Required. URL to navigate to. Can be a full URL or a path. If a path is provided and `origin` is specified, prepends `origin` to `url`. If a path is provided but `origin` isn't specified, attempts to navigate relative to the current URL, if any.<br/><br/>Pattern: `(^(http://|https://|/).*|\$[A-Za-z0-9_]+)` |
11
12
origin | string | Optional. Protocol and domain to navigate to. Prepended to `url`. |
0 commit comments