Skip to content

Commit 188161f

Browse files
Copilothawkeyexl
andcommitted
Update "More information..." to "Learn more" in all examples
Co-authored-by: hawkeyexl <[email protected]>
1 parent a52bc06 commit 188161f

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/get-started/create-your-first-test.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A [test](/docs/get-started/tests) in Doc Detective is a series of steps, where e
1212

1313
## What does this test do?
1414

15-
This test navigates to `https://example.com`, checks for the presence of the `<h1>` heading with the text `Example Domain`, and verifies that the `More information...` link is present. It then clicks the link and captures a screenshot of the resulting page.
15+
This test navigates to `https://example.com`, checks for the presence of the `<h1>` heading with the text `Example Domain`, and verifies that the `Learn more` link is present. It then clicks the link and captures a screenshot of the resulting page.
1616

1717
## Prerequisites
1818

@@ -53,8 +53,8 @@ To create your first test, follow these steps:
5353
"find": "Example Domain"
5454
},
5555
{
56-
"description": "Verify that the 'More information...' link is present and working",
57-
"click": "More information..."
56+
"description": "Verify that the 'Learn more' link is present and working",
57+
"click": "Learn more"
5858
},
5959
{
6060
"description": "Capture a screenshot of the resulting page",
@@ -70,7 +70,7 @@ To create your first test, follow these steps:
7070

7171
- [`goTo`](/docs/get-started/actions/goTo): Navigates to the specified URL, https://example.com, to start the test flow.
7272
- [`find`](/docs/get-started/actions/find): Locates elements on the page using CSS selectors such as HTML tags like `h1` or `a`, and validates their presence and text content.
73-
- [`click`](/docs/get-started/actions/click): Clicks on the specified element, in this case, the `More information...` link.
73+
- [`click`](/docs/get-started/actions/click): Clicks on the specified element, in this case, the `Learn more` link.
7474
- [`screenshot`](/docs/get-started/actions/screenshot): Captures a screenshot of the current page and saves it to the specified path.
7575

7676
4. Save the file.
@@ -149,8 +149,8 @@ After running the test, you should see the results in your terminal, which Doc D
149149
{
150150
"result": "PASS",
151151
"resultDescription": "Clicked element. Found element by text. Clicked element.",
152-
"description": "Verify that the 'More information...' link is present and working",
153-
"click": "More information...",
152+
"description": "Verify that the 'Learn more' link is present and working",
153+
"click": "Learn more",
154154
"stepId": "d5851502-807f-4cb9-981c-338201278f29"
155155
},
156156
{

docs/get-started/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Downloading and running Doc Detective is straightforward. Follow these steps to
3434
"find": "Example Domain"
3535
},
3636
{
37-
"description": "Verify that the 'More information...' link is present and working",
38-
"click": "More information..."
37+
"description": "Verify that the 'Learn more' link is present and working",
38+
"click": "Learn more"
3939
},
4040
{
4141
"description": "Capture a screenshot of the resulting page",

docs/references/schemas/config.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ Field | Type | Description | Default
1010
$schema | string | Optional. JSON Schema for this object.<br/><br/>Accepted values: `https://raw.githubusercontent.com/doc-detective/common/refs/heads/main/dist/schemas/config_v3.schema.json` |
1111
configId | string | Optional. Identifier for the configuration. |
1212
configPath | string | ReadOnly. Path to the configuration file. |
13-
input | one of:<br/>- string<br/>- array of string | Optional. Paths to test specifications and documentation source files. May be paths to specific files or to directories to scan for files. | `.`
13+
input | one of:<br/>- string<br/>- 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. | `.`
1414
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. | `.`
1515
recursive | boolean | Optional. If `true` searches `input`, `setup`, and `cleanup` paths recursively for test specifications and source files. | `true`
1616
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`
1717
loadVariables | string | Optional. Load environment variables from the specified `.env` file. |
1818
origin | string | Optional. Default protocol and domain to use for relative URLs. |
19-
beforeAny | one of:<br/>- string<br/>- array of string | Optional. Paths to test specifications to perform before those specified by `input`. Useful for setting up testing environments. |
20-
afterAll | one of:<br/>- string<br/>- array of string | Optional. Paths to test specifications to perform after those specified by `input`. Useful for cleaning up testing environments. |
19+
beforeAny | one of:<br/>- string<br/>- array of string | Optional. Path(s) to test specifications to perform before those specified by `input`. Useful for setting up testing environments. |
20+
afterAll | one of:<br/>- string<br/>- array of string | Optional. Path(s) to test specifications to perform after those specified by `input`. Useful for cleaning up testing environments. |
2121
detectSteps | boolean | Optional. Whether or not to detect steps in input files based on defined markup. | `true`
2222
allowUnsafeSteps | boolean | Optional. Whether or not to run potentially unsafe steps, such as those that might modify files or system state. |
2323
logLevel | string | Optional. Amount of detail to output when performing an operation.<br/><br/>Accepted values: `silent`, `error`, `warning`, `info`, `debug` | `info`

0 commit comments

Comments
 (0)