testdriverai 5.7.20 → 5.7.22
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/docs/discourse.js +12 -0
- package/docs/docs.json +6 -7
- package/docs/getting-started/setup.mdx +1 -1
- package/docs/getting-started/vscode.mdx +1 -1
- package/docs/overview/quickstart.mdx +7 -1
- package/docs/overview/upgrading.mdx +1 -1
- package/docs/quickstart.mdx +3 -5
- package/docs/snippets/comments.mdx +1 -0
- package/docs/snippets/test-prereqs.mdx +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
DiscourseEmbed = {
|
|
3
|
+
discourseUrl: 'https://forums.testdriver.ai/',
|
|
4
|
+
discourseEmbedUrl: window.location.href
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
(function() {
|
|
8
|
+
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
|
|
9
|
+
d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
|
|
10
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
|
|
11
|
+
console.log('Discourse embed script loaded');
|
|
12
|
+
})();
|
package/docs/docs.json
CHANGED
|
@@ -210,11 +210,6 @@
|
|
|
210
210
|
],
|
|
211
211
|
"global": {
|
|
212
212
|
"anchors": [
|
|
213
|
-
{
|
|
214
|
-
"anchor": "Community",
|
|
215
|
-
"href": "https://discord.com/invite/cWDFW8DzPm",
|
|
216
|
-
"icon": "discord"
|
|
217
|
-
},
|
|
218
213
|
{
|
|
219
214
|
"anchor": "Book a Demo",
|
|
220
215
|
"href": "https://calendly.com/d/cq23-qyn-3v6/testdriver-ai-demo",
|
|
@@ -238,9 +233,13 @@
|
|
|
238
233
|
"label": "GitHub",
|
|
239
234
|
"href": "https://github.com/testdriverai/testdriverai"
|
|
240
235
|
},
|
|
236
|
+
{
|
|
237
|
+
"label": "Forums",
|
|
238
|
+
"href": "https://forums.testdriver.ai"
|
|
239
|
+
},
|
|
241
240
|
{
|
|
242
241
|
"label": "Report an Issue",
|
|
243
|
-
"href": "https://
|
|
242
|
+
"href": "https://forums.testdriver.ai/new-topic?category=help"
|
|
244
243
|
}
|
|
245
244
|
],
|
|
246
245
|
"primary": {
|
|
@@ -279,4 +278,4 @@
|
|
|
279
278
|
"apiKey": "phc_ovOQ2HFpqFwPVqaxE5plJmI9buPMsz024FB2iajItqn"
|
|
280
279
|
}
|
|
281
280
|
}
|
|
282
|
-
}
|
|
281
|
+
}
|
|
@@ -5,6 +5,8 @@ description: "Get started with TestDriver in minutes."
|
|
|
5
5
|
icon: "gauge-high"
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
import Comments from '/snippets/comments.mdx'
|
|
9
|
+
|
|
8
10
|
TestDriver isn't just a computer-use agent, it's an entire AI-native workflow for creating end-to-end tests. Follow these steps to set up your environment and get started with TestDriver.
|
|
9
11
|
|
|
10
12
|
|
|
@@ -19,7 +21,7 @@ TestDriver isn't just a computer-use agent, it's an entire AI-native workflow fo
|
|
|
19
21
|
Ensure you have Node.js (v16 or higher) installed. Then, install the TestDriver CLI globally using `npm`:
|
|
20
22
|
|
|
21
23
|
```bash
|
|
22
|
-
npm install -g testdriverai
|
|
24
|
+
npm install -g testdriverai
|
|
23
25
|
```
|
|
24
26
|
</Accordion>
|
|
25
27
|
<Accordion title="Initialize your project">
|
|
@@ -171,3 +173,7 @@ TestDriver can also generate tests without any input! Instead, it will suggest t
|
|
|
171
173
|
</Step>
|
|
172
174
|
|
|
173
175
|
</Steps>
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
<Comments />
|
package/docs/quickstart.mdx
CHANGED
|
@@ -7,7 +7,7 @@ title: "Quickstart"
|
|
|
7
7
|
Set up your project with:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx testdriverai
|
|
10
|
+
npx testdriverai init
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
This creates a `.env` file and sample workflow files.
|
|
@@ -19,7 +19,7 @@ title: "Quickstart"
|
|
|
19
19
|
Start TestDriver in interactive mode to create and refine tests dynamically:
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npx testdriverai
|
|
22
|
+
npx testdriverai
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Once started, you can use commands like `/explore`, `/undo`, and `/save` to interactively build and test your flows.
|
|
@@ -54,9 +54,7 @@ title: "Quickstart"
|
|
|
54
54
|
Once saved, you can run your test file anytime:
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
npx testdriverai
|
|
57
|
+
npx testdriverai run path/to/test.yaml
|
|
58
58
|
```
|
|
59
59
|
</Step>
|
|
60
60
|
</Steps>
|
|
61
|
-
|
|
62
|
-
---
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<div id='discourse-comments'></div>
|
|
@@ -4,7 +4,7 @@ Before running the tests, ensure you have performed the following steps:
|
|
|
4
4
|
1. If you haven't already, signup for a Free Trial on the [TestDriver website](https://testdriver.ai/pricing)
|
|
5
5
|
2. Install the [TestDriver CLI](/cli/overview) globally using npm or just follow the VS Code Extension Setup Walkthrough:
|
|
6
6
|
```bash
|
|
7
|
-
npm install -g
|
|
7
|
+
npm install -g testdriverai
|
|
8
8
|
```
|
|
9
9
|
3. Run the `init` command to set up the TestDriver configuration using the API key you got when you signed up for the trial:
|
|
10
10
|
```bash
|