testdriverai 7.8.0-test.0 → 7.8.0-test.10
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/agent/index.js +6 -5
- package/agent/lib/commands.js +3 -2
- package/agent/lib/http.js +144 -0
- package/agent/lib/sandbox.js +117 -102
- package/agent/lib/sdk.js +4 -2
- package/agent/lib/system.js +25 -65
- package/ai/skills/testdriver-mcp/SKILL.md +7 -0
- package/ai/skills/testdriver-running-tests/SKILL.md +1 -1
- package/docs/changelog.mdx +109 -12
- package/docs/docs.json +44 -31
- package/docs/v7/copilot/auto-healing.mdx +265 -0
- package/docs/v7/copilot/creating-tests.mdx +156 -0
- package/docs/v7/copilot/github.mdx +143 -0
- package/docs/v7/copilot/running-tests.mdx +149 -0
- package/docs/v7/copilot/setup.mdx +143 -0
- package/docs/v7/enterprise.mdx +3 -110
- package/docs/v7/{cloud.mdx → hosted.mdx} +43 -5
- package/docs/v7/mcp.mdx +9 -0
- package/docs/v7/quickstart.mdx +30 -2
- package/docs/v7/running-tests.mdx +1 -1
- package/docs/v7/self-hosted.mdx +127 -44
- package/interfaces/logger.js +0 -12
- package/interfaces/vitest-plugin.mjs +3 -0
- package/lib/core/Dashcam.js +11 -7
- package/lib/environments.json +18 -0
- package/lib/resolve-channel.js +4 -3
- package/{examples → manual}/drag-and-drop.test.mjs +1 -1
- package/package.json +1 -1
- package/sdk.js +3 -3
- package/vitest.config.mjs +20 -32
- /package/{examples → manual}/flake-diffthreshold-001.test.mjs +0 -0
- /package/{examples → manual}/flake-diffthreshold-01.test.mjs +0 -0
- /package/{examples → manual}/flake-diffthreshold-05.test.mjs +0 -0
- /package/{examples → manual}/flake-noredraw-cache.test.mjs +0 -0
- /package/{examples → manual}/flake-noredraw-nocache.test.mjs +0 -0
- /package/{examples → manual}/flake-redraw-cache.test.mjs +0 -0
- /package/{examples → manual}/flake-redraw-nocache.test.mjs +0 -0
- /package/{examples → manual}/flake-rocket-match.test.mjs +0 -0
- /package/{examples → manual}/flake-shared.mjs +0 -0
- /package/{examples → manual}/no-provision.test.mjs +0 -0
- /package/{examples → manual}/scroll-until-text.test.mjs +0 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "GitHub Integration"
|
|
3
|
+
sidebarTitle: "GitHub"
|
|
4
|
+
description: "Use TestDriver from GitHub's web interface and mobile app"
|
|
5
|
+
icon: "github"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
TestDriver works directly in GitHub's web interface and mobile app. The same MCP server that powers VS Code integration also works in GitHub, letting you create and manage tests from anywhere.
|
|
9
|
+
|
|
10
|
+
## How It Works
|
|
11
|
+
|
|
12
|
+
When you add a TestDriver agent file to your repository at `.github/agents/testdriver.agent.md`, GitHub Copilot can use TestDriver's MCP tools directly in:
|
|
13
|
+
|
|
14
|
+
- GitHub.com (web browser)
|
|
15
|
+
- GitHub Mobile app (iOS/Android)
|
|
16
|
+
- Pull request conversations
|
|
17
|
+
- Issue comments
|
|
18
|
+
|
|
19
|
+
## Using TestDriver in GitHub Web
|
|
20
|
+
|
|
21
|
+
<Steps>
|
|
22
|
+
<Step title="Navigate to Your Repository">
|
|
23
|
+
Open your repository on GitHub.com. Make sure you have the TestDriver agent file at `.github/agents/testdriver.agent.md`.
|
|
24
|
+
</Step>
|
|
25
|
+
|
|
26
|
+
<Step title="Start a Copilot Chat">
|
|
27
|
+
Click the **Copilot icon** in the GitHub interface to open a chat. You can find this in:
|
|
28
|
+
- The repository's Code tab
|
|
29
|
+
- Pull request pages
|
|
30
|
+
- Issue pages
|
|
31
|
+
</Step>
|
|
32
|
+
|
|
33
|
+
<Step title="Invoke the TestDriver Agent">
|
|
34
|
+
Start your message with `@testdriver`:
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
@testdriver Create a test that verifies the homepage loads correctly at https://myapp.com
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The agent will spawn a sandbox environment and begin executing, just like in VS Code.
|
|
41
|
+
</Step>
|
|
42
|
+
|
|
43
|
+
<Step title="View Screenshots in Chat">
|
|
44
|
+
As the test runs, screenshots appear directly in the chat. You can see what the AI sees and provide guidance if needed.
|
|
45
|
+
</Step>
|
|
46
|
+
</Steps>
|
|
47
|
+
|
|
48
|
+
## Creating Tests from PR Comments
|
|
49
|
+
|
|
50
|
+
You can create tests directly from pull request reviews. Comment on a PR and mention Copilot:
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
@copilot create a TestDriver test that verifies this new feature works.
|
|
54
|
+
Test the checkout flow with a guest user.
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Copilot will:
|
|
58
|
+
1. Use the TestDriver MCP server
|
|
59
|
+
2. Create a test based on your description
|
|
60
|
+
3. Commit the test file to the PR branch
|
|
61
|
+
|
|
62
|
+
This is useful for:
|
|
63
|
+
- Adding test coverage during code review
|
|
64
|
+
- Verifying bug fixes before merging
|
|
65
|
+
- Creating regression tests for new features
|
|
66
|
+
|
|
67
|
+
## Creating Tests from Issues
|
|
68
|
+
|
|
69
|
+
You can also create tests from issue comments:
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
@copilot Use TestDriver to create a test that reproduces this bug.
|
|
73
|
+
Navigate to /settings, change the theme, and verify it persists after refresh.
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The test will be created in a new branch and linked to the issue.
|
|
77
|
+
|
|
78
|
+
## Mobile App Support
|
|
79
|
+
|
|
80
|
+
The GitHub Mobile app supports Copilot chat, which means you can use TestDriver from your phone:
|
|
81
|
+
|
|
82
|
+
1. Open the GitHub app
|
|
83
|
+
2. Navigate to your repository
|
|
84
|
+
3. Tap the Copilot icon
|
|
85
|
+
4. Type `@testdriver` followed by your request
|
|
86
|
+
|
|
87
|
+
Screenshots and test progress appear in the chat, letting you create and debug tests on the go.
|
|
88
|
+
|
|
89
|
+
## Example: PR Review Workflow
|
|
90
|
+
|
|
91
|
+
Here's a complete workflow for adding tests during code review:
|
|
92
|
+
|
|
93
|
+
<Steps>
|
|
94
|
+
<Step title="Developer Opens PR">
|
|
95
|
+
A developer opens a pull request with a new feature.
|
|
96
|
+
</Step>
|
|
97
|
+
|
|
98
|
+
<Step title="Reviewer Requests Tests">
|
|
99
|
+
The reviewer comments:
|
|
100
|
+
```
|
|
101
|
+
@copilot Create a TestDriver test for this user registration flow.
|
|
102
|
+
Test both successful registration and validation errors.
|
|
103
|
+
```
|
|
104
|
+
</Step>
|
|
105
|
+
|
|
106
|
+
<Step title="Copilot Creates Tests">
|
|
107
|
+
Copilot spawns TestDriver, creates the tests, and commits them to the PR branch.
|
|
108
|
+
</Step>
|
|
109
|
+
|
|
110
|
+
<Step title="Tests Run in CI">
|
|
111
|
+
The new tests run automatically in CI, validating the feature works as expected.
|
|
112
|
+
</Step>
|
|
113
|
+
</Steps>
|
|
114
|
+
|
|
115
|
+
## Agent File Reference
|
|
116
|
+
|
|
117
|
+
The agent file at `.github/agents/testdriver.agent.md` contains the configuration for GitHub Copilot to use TestDriver. Here's the structure:
|
|
118
|
+
|
|
119
|
+
```yaml
|
|
120
|
+
---
|
|
121
|
+
name: testdriver
|
|
122
|
+
description: An expert at creating and refining automated tests using TestDriver.ai
|
|
123
|
+
mcp-servers:
|
|
124
|
+
testdriver:
|
|
125
|
+
command: npx
|
|
126
|
+
args:
|
|
127
|
+
- -p
|
|
128
|
+
- testdriverai
|
|
129
|
+
- testdriverai-mcp
|
|
130
|
+
env:
|
|
131
|
+
TD_API_KEY: ${TD_API_KEY}
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
# TestDriver Expert
|
|
135
|
+
|
|
136
|
+
You are an expert at writing automated tests using TestDriver...
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
The `TD_API_KEY` is pulled from your repository secrets when running in GitHub Actions or from your environment when using the web interface.
|
|
140
|
+
|
|
141
|
+
<Warning>
|
|
142
|
+
Make sure `TD_API_KEY` is set in your repository secrets for CI workflows. Go to **Settings → Secrets and variables → Actions** to add it.
|
|
143
|
+
</Warning>
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Running Tests"
|
|
3
|
+
sidebarTitle: "Running Tests"
|
|
4
|
+
description: "Re-run tests with Vitest and use GUI mode for visual debugging"
|
|
5
|
+
icon: "play"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
After creating tests with the TestDriver agent, you can re-run them without starting a new MCP session. Tests are saved as standard Vitest files that run independently.
|
|
9
|
+
|
|
10
|
+
## Running from VS Code (GUI Mode)
|
|
11
|
+
|
|
12
|
+
For a visual testing experience, use the **Vitest extension**:
|
|
13
|
+
|
|
14
|
+
<Steps>
|
|
15
|
+
<Step title="Open Test Explorer">
|
|
16
|
+
Click the **beaker icon** in the VS Code sidebar to open the Test Explorer. This shows all your test files and test cases.
|
|
17
|
+
</Step>
|
|
18
|
+
|
|
19
|
+
<Step title="Run Tests">
|
|
20
|
+
Click the **play button** next to any test file or individual test to run it. You can also:
|
|
21
|
+
- Run all tests with the "Run All" button
|
|
22
|
+
- Debug tests with the "Debug" button
|
|
23
|
+
</Step>
|
|
24
|
+
|
|
25
|
+
<Step title="View Results">
|
|
26
|
+
Test results appear inline:
|
|
27
|
+
- ✅ Green checkmark for passing tests
|
|
28
|
+
- ❌ Red X for failing tests
|
|
29
|
+
- Click on a failing test to see error details
|
|
30
|
+
</Step>
|
|
31
|
+
</Steps>
|
|
32
|
+
|
|
33
|
+
<Warning>
|
|
34
|
+
VS Code's Test Explorer only shows output for **failing tests**. To see output from passing tests (including screenshots and console logs), run tests from the terminal instead.
|
|
35
|
+
</Warning>
|
|
36
|
+
|
|
37
|
+
## Running from Terminal
|
|
38
|
+
|
|
39
|
+
Use Vitest to run your tests from the command line to see full output:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Run all tests
|
|
43
|
+
vitest run
|
|
44
|
+
|
|
45
|
+
# Run a specific test file
|
|
46
|
+
vitest run tests/login.test.mjs
|
|
47
|
+
|
|
48
|
+
# Run in watch mode (re-runs on file changes)
|
|
49
|
+
vitest
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
See the [running tests guide](/v7/running-tests) for more CLI options and configuration.
|
|
53
|
+
|
|
54
|
+
## Iterating on Tests
|
|
55
|
+
|
|
56
|
+
When tests fail or need updates, you have two options:
|
|
57
|
+
|
|
58
|
+
### Option 1: Ask the MCP Agent (Recommended)
|
|
59
|
+
|
|
60
|
+
For discovering updated element descriptions or debugging failures, chat with the TestDriver agent:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
The login test is failing because the form layout changed.
|
|
64
|
+
Update tests/login.test.mjs to work with the new design.
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
The agent will:
|
|
68
|
+
1. Start a new session
|
|
69
|
+
2. Navigate to the page
|
|
70
|
+
3. Analyze the current state
|
|
71
|
+
4. Update the test code
|
|
72
|
+
|
|
73
|
+
This is the best approach when:
|
|
74
|
+
- Element text or layout has changed
|
|
75
|
+
- You need to see what's currently on screen
|
|
76
|
+
- The failure reason isn't obvious from the error message
|
|
77
|
+
|
|
78
|
+
### Option 2: Edit the Code Directly
|
|
79
|
+
|
|
80
|
+
For simple changes, edit the test files directly:
|
|
81
|
+
|
|
82
|
+
```javascript
|
|
83
|
+
// Change the element description
|
|
84
|
+
const button = await testdriver.find("Submit Order button");
|
|
85
|
+
|
|
86
|
+
// Add a wait
|
|
87
|
+
await testdriver.wait(2000);
|
|
88
|
+
|
|
89
|
+
// Update assertions
|
|
90
|
+
const result = await testdriver.assert("order confirmation shows order ID");
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
This is faster for:
|
|
94
|
+
- Updating text strings
|
|
95
|
+
- Adjusting timeouts
|
|
96
|
+
- Fixing typos
|
|
97
|
+
|
|
98
|
+
## Test Configuration
|
|
99
|
+
|
|
100
|
+
### Timeouts
|
|
101
|
+
|
|
102
|
+
TestDriver tests require longer timeouts than typical unit tests. Your `vitest.config.mjs` should have:
|
|
103
|
+
|
|
104
|
+
```javascript vitest.config.mjs
|
|
105
|
+
import { defineConfig } from "vitest/config";
|
|
106
|
+
|
|
107
|
+
export default defineConfig({
|
|
108
|
+
test: {
|
|
109
|
+
testTimeout: 900000, // 15 minutes
|
|
110
|
+
hookTimeout: 900000, // 15 minutes for setup/teardown
|
|
111
|
+
},
|
|
112
|
+
});
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Environment Variables
|
|
116
|
+
|
|
117
|
+
Tests use the `TD_API_KEY` environment variable. Set it in your `.env` file:
|
|
118
|
+
|
|
119
|
+
```env .env
|
|
120
|
+
TD_API_KEY=your-api-key-here
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Or pass it when running tests:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
TD_API_KEY=your-key vitest run
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Viewing Test Reports
|
|
130
|
+
|
|
131
|
+
After each test run, TestDriver provides a link to the full test report:
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
TESTDRIVER_RUN_URL=https://console.testdriver.ai/runs/abc123
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
The report includes:
|
|
138
|
+
- Video recording of the test
|
|
139
|
+
- Screenshots at each step
|
|
140
|
+
- Network logs and performance metrics
|
|
141
|
+
- Console output and errors
|
|
142
|
+
|
|
143
|
+
<Card
|
|
144
|
+
title="View Test Reports"
|
|
145
|
+
icon="chart-line"
|
|
146
|
+
href="https://console.testdriver.ai"
|
|
147
|
+
>
|
|
148
|
+
Access all your test runs and recordings in the TestDriver console
|
|
149
|
+
</Card>
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "GitHub Copilot Setup"
|
|
3
|
+
sidebarTitle: "IDE Setup"
|
|
4
|
+
description: "Install the TestDriver extension and configure MCP for GitHub Copilot"
|
|
5
|
+
icon: "wrench"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
TestDriver integrates with GitHub Copilot through the VS Code extension and MCP server. This guide walks you through the complete setup.
|
|
9
|
+
|
|
10
|
+
## Prerequisites
|
|
11
|
+
|
|
12
|
+
Before you begin, you'll need:
|
|
13
|
+
|
|
14
|
+
- **GitHub Copilot** — A subscription with MCP access. A [free tier](https://github.com/features/copilot/plans) is available.
|
|
15
|
+
- **TestDriver Account** — Create a free account at [console.testdriver.ai](https://console.testdriver.ai/team) to get your API key. 60 free device minutes, no credit card required.
|
|
16
|
+
- **VS Code** — The TestDriver extension provides the best experience with live preview and integrated test running.
|
|
17
|
+
|
|
18
|
+
## Setup Steps
|
|
19
|
+
|
|
20
|
+
<Steps>
|
|
21
|
+
<Step title="Install the TestDriver Extension">
|
|
22
|
+
<Card
|
|
23
|
+
horizontal
|
|
24
|
+
title="Install TestDriver for VS Code"
|
|
25
|
+
arrow
|
|
26
|
+
href="vscode:extension/testdriver.testdriver"
|
|
27
|
+
icon="/images/content/extension/vscode.svg"
|
|
28
|
+
></Card>
|
|
29
|
+
|
|
30
|
+
The extension provides:
|
|
31
|
+
- One-click sign-in and project initialization
|
|
32
|
+
- Live preview panel for watching tests execute
|
|
33
|
+
- MCP server configuration
|
|
34
|
+
</Step>
|
|
35
|
+
|
|
36
|
+
<Step title="Sign Into TestDriver">
|
|
37
|
+
Sign in to connect your account and API key.
|
|
38
|
+
|
|
39
|
+
1. Open the command palette (`Cmd+Shift+P` or `Ctrl+Shift+P`)
|
|
40
|
+
2. Run **TestDriver: Login**
|
|
41
|
+
3. Your browser will open to the TestDriver sign-in page
|
|
42
|
+
4. Sign in (or create an account)
|
|
43
|
+
5. You'll be redirected back to VS Code, now signed in
|
|
44
|
+
|
|
45
|
+
<Tip>
|
|
46
|
+
The extension automatically saves your API key to VS Code's secure storage and your workspace `.env` file.
|
|
47
|
+
</Tip>
|
|
48
|
+
</Step>
|
|
49
|
+
|
|
50
|
+
<Step title="Initialize Your Project">
|
|
51
|
+
Set up TestDriver in your project with a single command.
|
|
52
|
+
|
|
53
|
+
1. Open the command palette (`Cmd+Shift+P` or `Ctrl+Shift+P`)
|
|
54
|
+
2. Run **TestDriver: Init Project**
|
|
55
|
+
|
|
56
|
+
This command:
|
|
57
|
+
- Creates a `package.json` with TestDriver and Vitest dependencies
|
|
58
|
+
- Generates a `vitest.config.mjs` with proper timeout settings
|
|
59
|
+
- Creates example test files in `tests/`
|
|
60
|
+
- Sets up `.env` with your API key
|
|
61
|
+
- Creates the TestDriver agent file at `.github/agents/testdriver.agent.md`
|
|
62
|
+
- Configures the MCP server
|
|
63
|
+
|
|
64
|
+
<Note>
|
|
65
|
+
If you already have a `package.json`, the command will add the necessary dependencies to it.
|
|
66
|
+
</Note>
|
|
67
|
+
</Step>
|
|
68
|
+
|
|
69
|
+
<Step title="Start the MCP Server">
|
|
70
|
+
The MCP server enables GitHub Copilot to control TestDriver sandboxes.
|
|
71
|
+
|
|
72
|
+
After initialization, the MCP configuration is created at `.vscode/mcp.json`:
|
|
73
|
+
|
|
74
|
+
```json .vscode/mcp.json
|
|
75
|
+
{
|
|
76
|
+
"servers": {
|
|
77
|
+
"testdriver": {
|
|
78
|
+
"command": "npx",
|
|
79
|
+
"args": ["-p", "testdriverai", "testdriverai-mcp"],
|
|
80
|
+
"env": {
|
|
81
|
+
"TD_PREVIEW": "ide",
|
|
82
|
+
"TD_API_KEY": "your-api-key"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**To start the MCP server:**
|
|
90
|
+
|
|
91
|
+
1. Open the command palette (`Cmd+Shift+P` or `Ctrl+Shift+P`)
|
|
92
|
+
2. Run **MCP: List Servers**
|
|
93
|
+
3. Click on the **testdriver** server
|
|
94
|
+
4. Select **Start Server**
|
|
95
|
+
|
|
96
|
+
You can also click the MCP icon in the status bar to manage servers.
|
|
97
|
+
|
|
98
|
+
<Tip>
|
|
99
|
+
See the [VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) for more details on managing MCP servers.
|
|
100
|
+
</Tip>
|
|
101
|
+
|
|
102
|
+
<Warning>
|
|
103
|
+
Make sure your API key is set. The extension uses the key from your sign-in, but you can also set it via the `TD_API_KEY` environment variable.
|
|
104
|
+
</Warning>
|
|
105
|
+
</Step>
|
|
106
|
+
|
|
107
|
+
<Step title="Install Vitest Extension (Recommended)">
|
|
108
|
+
For the best experience running tests, install the Vitest extension:
|
|
109
|
+
|
|
110
|
+
<Card
|
|
111
|
+
horizontal
|
|
112
|
+
title="Vitest Extension"
|
|
113
|
+
arrow
|
|
114
|
+
href="vscode:extension/vitest.explorer"
|
|
115
|
+
icon="flask-vial"
|
|
116
|
+
>
|
|
117
|
+
Run tests with GUI mode from the Test Explorer
|
|
118
|
+
</Card>
|
|
119
|
+
|
|
120
|
+
After installation, you'll see a beaker icon in the sidebar for accessing the Test Explorer.
|
|
121
|
+
</Step>
|
|
122
|
+
</Steps>
|
|
123
|
+
|
|
124
|
+
## Verify Your Setup
|
|
125
|
+
|
|
126
|
+
To verify everything is configured correctly:
|
|
127
|
+
|
|
128
|
+
1. Open the command palette and run **TestDriver: Check Status**
|
|
129
|
+
2. You should see:
|
|
130
|
+
- ✅ Signed in
|
|
131
|
+
- ✅ MCP server configured
|
|
132
|
+
- ✅ Project initialized
|
|
133
|
+
|
|
134
|
+
## The Agent File
|
|
135
|
+
|
|
136
|
+
During initialization, TestDriver creates an agent file at `.github/agents/testdriver.agent.md`. This file tells GitHub Copilot how to use TestDriver's MCP tools.
|
|
137
|
+
|
|
138
|
+
The agent has access to tools like:
|
|
139
|
+
- `session_start` — Launch a sandbox with Chrome or other apps
|
|
140
|
+
- `find` / `click` / `type` — Interact with elements on screen
|
|
141
|
+
- `assert` — Verify conditions using AI vision
|
|
142
|
+
- `screenshot` — Capture the current screen state
|
|
143
|
+
|
package/docs/v7/enterprise.mdx
CHANGED
|
@@ -1,116 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "Enterprise"
|
|
3
3
|
sidebarTitle: "Enterprise"
|
|
4
|
-
description: "
|
|
4
|
+
description: "Self-hosted enterprise deployments with assisted setup and dedicated support"
|
|
5
5
|
icon: "building"
|
|
6
|
+
redirect: "/v7/self-hosted"
|
|
6
7
|
---
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
## Why Enterprise?
|
|
10
|
-
|
|
11
|
-
<CardGroup cols={2}>
|
|
12
|
-
<Card title="Air-Gapped Security" icon="shield-check">
|
|
13
|
-
Deploy everything in your environment. No data leaves your network. Complete isolation from external services.
|
|
14
|
-
</Card>
|
|
15
|
-
<Card title="Full Customization" icon="gear">
|
|
16
|
-
Custom integrations, dedicated infrastructure, and tailored solutions for your unique requirements.
|
|
17
|
-
</Card>
|
|
18
|
-
<Card title="Self-Hosted Dashboard & API" icon="server">
|
|
19
|
-
Run the entire TestDriver stack — dashboard, API, and test infrastructure — within your own environment.
|
|
20
|
-
</Card>
|
|
21
|
-
<Card title="Dedicated Support" icon="headset">
|
|
22
|
-
Direct access to our engineering team for implementation, customization, and ongoing support.
|
|
23
|
-
</Card>
|
|
24
|
-
</CardGroup>
|
|
25
|
-
|
|
26
|
-
## Who Needs Enterprise?
|
|
27
|
-
|
|
28
|
-
Enterprise is designed for organizations that:
|
|
29
|
-
|
|
30
|
-
- **Require air-gapped deployments** — Regulated industries, government, defense, or strict compliance requirements
|
|
31
|
-
- **Cannot use external APIs** — Data must never leave your network perimeter
|
|
32
|
-
- **Need custom integrations** — Unique CI/CD systems, internal tools, or specialized workflows
|
|
33
|
-
- **Want dedicated support** — Direct engineering support for complex implementations
|
|
34
|
-
|
|
35
|
-
## What's Included
|
|
36
|
-
|
|
37
|
-
### Fully Self-Hosted Stack
|
|
38
|
-
|
|
39
|
-
Unlike [Self-Hosted](/v7/self-hosted) (which uses TestDriver's hosted dashboard and API), Enterprise deploys everything in your environment:
|
|
40
|
-
|
|
41
|
-
| Component | Self-Hosted | Enterprise |
|
|
42
|
-
|-----------|-------------|------------|
|
|
43
|
-
| Test Sandboxes | Your infrastructure | Your infrastructure |
|
|
44
|
-
| Dashboard | TestDriver hosted | Your infrastructure |
|
|
45
|
-
| API | TestDriver hosted | Your infrastructure |
|
|
46
|
-
| AI Processing | Your API keys | Your infrastructure |
|
|
47
|
-
| Data Storage | Your AWS account | Your infrastructure |
|
|
48
|
-
|
|
49
|
-
### Custom Contract Terms
|
|
50
|
-
|
|
51
|
-
- Volume-based pricing
|
|
52
|
-
- Custom SLAs
|
|
53
|
-
- Dedicated support channels
|
|
54
|
-
- Professional services for implementation
|
|
55
|
-
- Training for your team
|
|
56
|
-
|
|
57
|
-
## Implementation Process
|
|
58
|
-
|
|
59
|
-
<Steps>
|
|
60
|
-
<Step title="Discovery Call">
|
|
61
|
-
Discuss your requirements, security constraints, and integration needs with our team.
|
|
62
|
-
</Step>
|
|
63
|
-
|
|
64
|
-
<Step title="Architecture Review">
|
|
65
|
-
Our engineers design a deployment architecture that meets your security and compliance requirements.
|
|
66
|
-
</Step>
|
|
67
|
-
|
|
68
|
-
<Step title="Deployment">
|
|
69
|
-
We work with your team to deploy TestDriver within your environment, including dashboard, API, and test infrastructure.
|
|
70
|
-
</Step>
|
|
71
|
-
|
|
72
|
-
<Step title="Integration">
|
|
73
|
-
Connect TestDriver to your CI/CD pipelines, internal tools, and workflows.
|
|
74
|
-
</Step>
|
|
75
|
-
|
|
76
|
-
<Step title="Training & Handoff">
|
|
77
|
-
Comprehensive training for your team on operating and maintaining the deployment.
|
|
78
|
-
</Step>
|
|
79
|
-
</Steps>
|
|
80
|
-
|
|
81
|
-
## Security & Compliance
|
|
82
|
-
|
|
83
|
-
Enterprise deployments support:
|
|
84
|
-
|
|
85
|
-
- **SOC 2** compliance requirements
|
|
86
|
-
- **HIPAA** for healthcare applications
|
|
87
|
-
- **FedRAMP** for government deployments
|
|
88
|
-
- **PCI DSS** for payment processing
|
|
89
|
-
- **Custom compliance frameworks** as needed
|
|
90
|
-
|
|
91
|
-
<Note>
|
|
92
|
-
All data remains within your network perimeter. TestDriver has no access to your test results, application data, or infrastructure.
|
|
93
|
-
</Note>
|
|
94
|
-
|
|
95
|
-
## Comparison: Self-Hosted vs Enterprise
|
|
96
|
-
|
|
97
|
-
| Feature | Self-Hosted | Enterprise |
|
|
98
|
-
|---------|-------------|------------|
|
|
99
|
-
| **Test Infrastructure** | Your AWS | Your infrastructure (any) |
|
|
100
|
-
| **Dashboard** | TestDriver cloud | Your infrastructure |
|
|
101
|
-
| **API** | TestDriver cloud | Your infrastructure |
|
|
102
|
-
| **Data Location** | Your AWS + TestDriver | 100% your infrastructure |
|
|
103
|
-
| **Network Requirements** | Internet access | Can be fully air-gapped |
|
|
104
|
-
| **Cloud Providers** | AWS only | Any (AWS, Azure, GCP, on-prem) |
|
|
105
|
-
| **Support** | Standard | Dedicated engineering |
|
|
106
|
-
| **Contract** | Standard licensing | Custom terms |
|
|
107
|
-
|
|
108
|
-
## Get Started
|
|
109
|
-
|
|
110
|
-
<Card
|
|
111
|
-
title="Schedule a Consultation"
|
|
112
|
-
icon="calendar"
|
|
113
|
-
href="https://calendly.com/d/cq23-qyn-3v6/testdriver-ai-demo"
|
|
114
|
-
>
|
|
115
|
-
Discuss your requirements with our team and get a custom proposal for your Enterprise deployment.
|
|
116
|
-
</Card>
|
|
9
|
+
This page has moved to [Self-Hosted](/v7/self-hosted).
|
|
@@ -1,18 +1,56 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: "
|
|
3
|
-
sidebarTitle: "
|
|
2
|
+
title: "Hosted"
|
|
3
|
+
sidebarTitle: "Hosted"
|
|
4
4
|
description: "The fastest way to get started with TestDriver. Just set your API key and start testing."
|
|
5
5
|
icon: "cloud"
|
|
6
|
+
mode: "wide"
|
|
6
7
|
---
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
Hosted pricing is based on **device-seconds**: the amount of time your tests run on **our infrastructure**.
|
|
9
10
|
|
|
10
11
|
- **Zero Setup** — Start testing immediately. No DevOps required.
|
|
11
12
|
- **Free Tier** — Get started with a limited preview at no cost.
|
|
12
13
|
- **Pay As You Go** — Only pay for the device-seconds you use.
|
|
13
14
|
|
|
15
|
+
## Hosted Plans
|
|
16
|
+
|
|
17
|
+
<CardGroup cols={3}>
|
|
18
|
+
<Card title="Free Trial" icon="gift" href="https://docs.testdriver.ai">
|
|
19
|
+
**$0/month**
|
|
20
|
+
|
|
21
|
+
- 1 Concurrent Sandbox
|
|
22
|
+
- 60 Minutes Included
|
|
23
|
+
- 1 Team User
|
|
24
|
+
- Community Support
|
|
25
|
+
</Card>
|
|
26
|
+
|
|
27
|
+
<Card title="Pro" icon="rocket" href="https://console.testdriver.ai/checkout/pro">
|
|
28
|
+
**$20/month**
|
|
29
|
+
|
|
30
|
+
- 2 Concurrent Sandboxes
|
|
31
|
+
- 600 Minutes Included
|
|
32
|
+
- Overage: $0.002/second
|
|
33
|
+
- 1 Team User
|
|
34
|
+
- Test Recordings
|
|
35
|
+
- Community Support
|
|
36
|
+
</Card>
|
|
37
|
+
|
|
38
|
+
<Card title="Team" icon="users" href="https://console.testdriver.ai/checkout/team">
|
|
39
|
+
**$600/month**
|
|
40
|
+
|
|
41
|
+
- 8 Concurrent Sandboxes
|
|
42
|
+
- 10,000 Minutes Included
|
|
43
|
+
- Overage: $0.001/second
|
|
44
|
+
- 5 Team Users
|
|
45
|
+
- Test Recordings
|
|
46
|
+
- Private Support
|
|
47
|
+
- Test Analytics
|
|
48
|
+
- CPU, RAM, & Network Profiles
|
|
49
|
+
</Card>
|
|
50
|
+
</CardGroup>
|
|
51
|
+
|
|
14
52
|
## Get Started
|
|
15
|
-
|
|
53
|
+
Hosted is the default when you follow the Quickstart guide.
|
|
16
54
|
<Card
|
|
17
55
|
title="Try the Quickstart"
|
|
18
56
|
icon="play"
|
|
@@ -102,7 +140,7 @@ To prevent tests from failing due to exceeding your license slot limit, we recom
|
|
|
102
140
|
|
|
103
141
|
## When to Consider Self-Hosted
|
|
104
142
|
|
|
105
|
-
|
|
143
|
+
Hosted is perfect for getting started and for teams that want zero infrastructure management. However, you might consider [Self-Hosted](/v7/self-hosted) if you:
|
|
106
144
|
|
|
107
145
|
- Want to escape per-second billing with a flat license fee
|
|
108
146
|
- Require greater concurrency than offered in Cloud plans
|
package/docs/v7/mcp.mdx
ADDED
package/docs/v7/quickstart.mdx
CHANGED
|
@@ -10,7 +10,7 @@ TestDriver makes it easy to write automated computer-use tests for web browsers,
|
|
|
10
10
|
<Tip><a href="https://discord.com/invite/cWDFW8DzPm" target="_blank" rel="noreferrer">Join our Discord</a> if you have any questions or need help getting started!</Tip>
|
|
11
11
|
|
|
12
12
|
<Tabs>
|
|
13
|
-
<Tab title="
|
|
13
|
+
<Tab title="CLI" icon="terminal">
|
|
14
14
|
|
|
15
15
|
Get started quickly with the TestDriver CLI.
|
|
16
16
|
|
|
@@ -40,7 +40,35 @@ TestDriver makes it easy to write automated computer-use tests for web browsers,
|
|
|
40
40
|
</Step>
|
|
41
41
|
</Steps>
|
|
42
42
|
</Tab>
|
|
43
|
-
<Tab title="
|
|
43
|
+
<Tab title="GitHub Copilot" icon="github">
|
|
44
|
+
|
|
45
|
+
Use the TestDriver VS Code extension with GitHub Copilot for an AI-powered testing workflow.
|
|
46
|
+
|
|
47
|
+
<Card
|
|
48
|
+
title="Install TestDriver for VS Code"
|
|
49
|
+
icon="/images/content/extension/vscode.svg"
|
|
50
|
+
href="vscode:extension/testdriver.testdriver"
|
|
51
|
+
arrow
|
|
52
|
+
horizontal
|
|
53
|
+
>
|
|
54
|
+
</Card>
|
|
55
|
+
|
|
56
|
+
The extension provides one-click sign-in, project initialization, a live preview panel for watching tests execute, and MCP server configuration for GitHub Copilot.
|
|
57
|
+
|
|
58
|
+
Once installed, follow the full setup guide to configure MCP and start building tests with AI assistance:
|
|
59
|
+
|
|
60
|
+
<Card
|
|
61
|
+
title="VS Code + Copilot Setup Guide"
|
|
62
|
+
icon="arrow-right"
|
|
63
|
+
href="/v7/copilot/setup"
|
|
64
|
+
arrow
|
|
65
|
+
horizontal
|
|
66
|
+
>
|
|
67
|
+
Sign in, initialize your project, and configure MCP for GitHub Copilot.
|
|
68
|
+
</Card>
|
|
69
|
+
|
|
70
|
+
</Tab>
|
|
71
|
+
<Tab title="Manual" icon="wrench">
|
|
44
72
|
|
|
45
73
|
Install TestDriver and manually create the files yourself.
|
|
46
74
|
|