testdriverai 7.2.9 → 7.2.11
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/.github/workflows/testdriver.yml +127 -0
- package/.testdriver/last-sandbox +7 -0
- package/agent/events.js +1 -0
- package/agent/index.js +71 -54
- package/agent/lib/sandbox.js +11 -1
- package/agents.md +393 -0
- package/debug/01-table-initial.png +0 -0
- package/debug/02-after-ai-explore.png +0 -0
- package/debug/02-after-scroll.png +0 -0
- package/docs/docs.json +87 -126
- package/docs/v7/_drafts/caching.mdx +2 -2
- package/docs/v7/{getting-started → _drafts}/installation.mdx +0 -66
- package/docs/v7/{features/coverage.mdx → _drafts/powerful.mdx} +1 -90
- package/docs/v7/{features → _drafts}/scalable.mdx +126 -4
- package/docs/v7/_drafts/screenshot.mdx +155 -0
- package/docs/v7/_drafts/writing-tests.mdx +25 -0
- package/docs/v7/{api/act.mdx → ai.mdx} +27 -27
- package/docs/v7/{api/assert.mdx → assert.mdx} +3 -3
- package/docs/v7/aws-setup.mdx +338 -0
- package/docs/v7/caching.mdx +128 -0
- package/docs/v7/ci-cd.mdx +605 -0
- package/docs/v7/{api/click.mdx → click.mdx} +4 -4
- package/docs/v7/cloud.mdx +120 -0
- package/docs/v7/customizing-devices.mdx +129 -0
- package/docs/v7/{api/dashcam.mdx → dashcam.mdx} +0 -78
- package/docs/v7/{api/doubleClick.mdx → double-click.mdx} +5 -5
- package/docs/v7/{api/elements.mdx → elements.mdx} +1 -54
- package/docs/v7/enterprise.mdx +116 -0
- package/docs/v7/examples.mdx +5 -0
- package/docs/v7/{api/exec.mdx → exec.mdx} +3 -3
- package/docs/v7/{api/find.mdx → find.mdx} +17 -21
- package/docs/v7/{api/focusApplication.mdx → focus-application.mdx} +3 -3
- package/docs/v7/generating-tests.mdx +36 -0
- package/docs/v7/{api/hover.mdx → hover.mdx} +3 -3
- package/docs/v7/locating-elements.mdx +71 -0
- package/docs/v7/making-assertions.mdx +32 -0
- package/docs/v7/{api/mouseDown.mdx → mouse-down.mdx} +7 -7
- package/docs/v7/{api/mouseUp.mdx → mouse-up.mdx} +8 -8
- package/docs/v7/performing-actions.mdx +51 -0
- package/docs/v7/{api/pressKeys.mdx → press-keys.mdx} +3 -3
- package/docs/v7/quickstart.mdx +162 -0
- package/docs/v7/reusable-code.mdx +240 -0
- package/docs/v7/{api/rightClick.mdx → right-click.mdx} +5 -5
- package/docs/v7/running-tests.mdx +181 -0
- package/docs/v7/{api/scroll.mdx → scroll.mdx} +3 -3
- package/docs/v7/secrets.mdx +115 -0
- package/docs/v7/self-hosted.mdx +66 -0
- package/docs/v7/{api/type.mdx → type.mdx} +3 -3
- package/docs/v7/variables.mdx +111 -0
- package/docs/v7/waiting-for-elements.mdx +66 -0
- package/docs/v7/what-is-testdriver.mdx +54 -0
- package/lib/vitest/hooks.mjs +80 -68
- package/package.json +1 -1
- package/sdk.d.ts +22 -9
- package/sdk.js +177 -44
- package/test/manual/reconnect-provision.test.mjs +49 -0
- package/test/manual/reconnect-signin.test.mjs +41 -0
- package/test/testdriver/ai.test.mjs +30 -0
- package/test/testdriver/setup/testHelpers.mjs +0 -1
- package/test/testdriver/windows-installer.test.mjs +61 -0
- package/tests/table-sort-enrollments.test.mjs +72 -0
- package/tests/table-sort-experiment.test.mjs +42 -0
- package/tests/table-sort-setup.test.mjs +59 -0
- package/vitest.config.mjs +1 -0
- package/docs/v7/api/assertions.mdx +0 -403
- package/docs/v7/api/sandbox.mdx +0 -404
- package/docs/v7/features/ai-native.mdx +0 -413
- package/docs/v7/features/application-logs.mdx +0 -353
- package/docs/v7/features/browser-logs.mdx +0 -414
- package/docs/v7/features/cache-management.mdx +0 -402
- package/docs/v7/features/continuous-testing.mdx +0 -346
- package/docs/v7/features/data-driven-testing.mdx +0 -441
- package/docs/v7/features/easy-to-write.mdx +0 -280
- package/docs/v7/features/enterprise.mdx +0 -656
- package/docs/v7/features/fast.mdx +0 -406
- package/docs/v7/features/managed-sandboxes.mdx +0 -384
- package/docs/v7/features/network-monitoring.mdx +0 -568
- package/docs/v7/features/parallel-execution.mdx +0 -381
- package/docs/v7/features/powerful.mdx +0 -531
- package/docs/v7/features/sandbox-customization.mdx +0 -229
- package/docs/v7/features/stable.mdx +0 -473
- package/docs/v7/features/system-performance.mdx +0 -616
- package/docs/v7/features/test-analytics.mdx +0 -373
- package/docs/v7/features/test-cases.mdx +0 -393
- package/docs/v7/features/test-replays.mdx +0 -408
- package/docs/v7/features/test-reports.mdx +0 -308
- package/docs/v7/getting-started/debugging-tests.mdx +0 -382
- package/docs/v7/getting-started/quickstart.mdx +0 -90
- package/docs/v7/getting-started/running-tests.mdx +0 -173
- package/docs/v7/getting-started/setting-up-in-ci.mdx +0 -612
- package/docs/v7/getting-started/writing-tests.mdx +0 -534
- package/docs/v7/overview/what-is-testdriver.mdx +0 -386
- package/docs/v7/presets/chrome-extension.mdx +0 -248
- package/docs/v7/presets/chrome.mdx +0 -300
- package/docs/v7/presets/electron.mdx +0 -460
- package/docs/v7/presets/vscode.mdx +0 -417
- package/docs/v7/presets/webapp.mdx +0 -393
- package/vitest.config.js +0 -18
- /package/docs/v7/{commands → _drafts/commands}/assert.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/exec.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/focus-application.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/hover-image.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/hover-text.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/if.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/match-image.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/press-keys.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/remember.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/run.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/scroll-until-image.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/scroll-until-text.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/scroll.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/type.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/wait-for-image.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/wait-for-text.mdx +0 -0
- /package/docs/v7/{commands → _drafts/commands}/wait.mdx +0 -0
- /package/docs/v7/{getting-started → _drafts}/configuration.mdx +0 -0
- /package/docs/v7/{features → _drafts}/observable.mdx +0 -0
- /package/docs/v7/{platforms → _drafts/platforms}/linux.mdx +0 -0
- /package/docs/v7/{platforms → _drafts/platforms}/macos.mdx +0 -0
- /package/docs/v7/{platforms → _drafts/platforms}/windows.mdx +0 -0
- /package/docs/v7/{playwright.mdx → _drafts/playwright.mdx} +0 -0
- /package/docs/v7/{overview → _drafts}/readme.mdx +0 -0
- /package/docs/v7/{features → _drafts}/reports.mdx +0 -0
- /package/docs/v7/{api/client.mdx → client.mdx} +0 -0
|
@@ -1,656 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Enterprise'
|
|
3
|
-
description: 'Enterprise-grade testing infrastructure with enhanced security, dedicated support, and custom environments'
|
|
4
|
-
icon: 'building'
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
TestDriver Enterprise provides organizations with a comprehensive testing platform that includes advanced security controls, dedicated onboarding, priority support, and custom environment provisioning.
|
|
10
|
-
|
|
11
|
-
## Security & Infrastructure
|
|
12
|
-
|
|
13
|
-
### Controlled Ingress/Egress
|
|
14
|
-
|
|
15
|
-
Enterprise customers have full control over network traffic in their testing environments:
|
|
16
|
-
|
|
17
|
-
- Configure custom firewall rules and network policies
|
|
18
|
-
- Whitelist specific domains and IP ranges
|
|
19
|
-
- Monitor and audit all network activity
|
|
20
|
-
- Implement zero-trust network architecture
|
|
21
|
-
|
|
22
|
-
### Bring Your Own Key (BYOK)
|
|
23
|
-
|
|
24
|
-
Maintain complete control over your AI model access:
|
|
25
|
-
|
|
26
|
-
- **AWS Integration**: Use your own AWS credentials and keys
|
|
27
|
-
- **Claude/Anthropic**: Connect using your own Anthropic API keys
|
|
28
|
-
- **OpenAI**: Integrate with your existing OpenAI account
|
|
29
|
-
- All AI requests use your keys, ensuring data sovereignty
|
|
30
|
-
|
|
31
|
-
### Your Own VPC on AWS
|
|
32
|
-
|
|
33
|
-
Deploy TestDriver infrastructure directly in your AWS environment:
|
|
34
|
-
|
|
35
|
-
- Complete isolation within your own Virtual Private Cloud
|
|
36
|
-
- Full control over networking, security groups, and access policies
|
|
37
|
-
- Compliance with internal security requirements
|
|
38
|
-
- Integration with existing AWS infrastructure
|
|
39
|
-
|
|
40
|
-
### CloudFormation Deployment
|
|
41
|
-
|
|
42
|
-
Quick deployment using infrastructure as code:
|
|
43
|
-
|
|
44
|
-
- Pre-configured CloudFormation templates for self-hosted setup
|
|
45
|
-
- Automated provisioning of all required resources
|
|
46
|
-
- See our [Self-Hosting Guide](/v6/getting-started/self-hosting) for deployment instructions
|
|
47
|
-
- Customizable templates to match your infrastructure standards
|
|
48
|
-
|
|
49
|
-
## Onboarding & Training Program
|
|
50
|
-
|
|
51
|
-
### Guided Onboarding
|
|
52
|
-
|
|
53
|
-
Our team works directly with yours to ensure success:
|
|
54
|
-
|
|
55
|
-
1. **Initial Setup**: We help configure your first test environment
|
|
56
|
-
2. **First Tests**: Walk through creating your first automated tests together
|
|
57
|
-
3. **Best Practices**: Learn TestDriver patterns and techniques specific to your application
|
|
58
|
-
4. **Knowledge Transfer**: Educational sessions tailored to your team's needs
|
|
59
|
-
|
|
60
|
-
### Continuous Education
|
|
61
|
-
|
|
62
|
-
Ongoing training as your testing needs evolve:
|
|
63
|
-
|
|
64
|
-
- Regular check-ins and training sessions
|
|
65
|
-
- Access to advanced feature workshops
|
|
66
|
-
- Early access to new capabilities and features
|
|
67
|
-
- Custom training materials for your use cases
|
|
68
|
-
|
|
69
|
-
## Support & Roadmap Influence
|
|
70
|
-
|
|
71
|
-
### Priority Support
|
|
72
|
-
|
|
73
|
-
Get help when you need it:
|
|
74
|
-
|
|
75
|
-
- **Private Slack Channels**: Direct access to TestDriver engineers
|
|
76
|
-
- Faster response times for critical issues
|
|
77
|
-
- Dedicated support team familiar with your setup
|
|
78
|
-
- Screen sharing and pair programming sessions
|
|
79
|
-
|
|
80
|
-
### Roadmap Influence
|
|
81
|
-
|
|
82
|
-
Help shape the future of TestDriver:
|
|
83
|
-
|
|
84
|
-
- Input on feature prioritization
|
|
85
|
-
- Early access to beta features
|
|
86
|
-
- Custom feature development consideration
|
|
87
|
-
- Quarterly roadmap review sessions
|
|
88
|
-
|
|
89
|
-
## Pricing Advantages
|
|
90
|
-
|
|
91
|
-
### Self-Hosted Sandboxes
|
|
92
|
-
|
|
93
|
-
Reduce costs by running tests in your own infrastructure:
|
|
94
|
-
|
|
95
|
-
- No sandbox usage fees for self-hosted environments
|
|
96
|
-
- Unlimited parallel test execution
|
|
97
|
-
- Pay only for your AWS infrastructure costs
|
|
98
|
-
|
|
99
|
-
### Unlimited Compute Credits
|
|
100
|
-
|
|
101
|
-
No surprise bills based on usage:
|
|
102
|
-
|
|
103
|
-
- Fixed pricing regardless of test volume
|
|
104
|
-
- Unlimited AI model usage for test generation and maintenance
|
|
105
|
-
- Predictable monthly costs
|
|
106
|
-
|
|
107
|
-
### Per-Parallel Pricing Model
|
|
108
|
-
|
|
109
|
-
Simple, scalable pricing:
|
|
110
|
-
|
|
111
|
-
- Pay based on concurrent test runners, not usage
|
|
112
|
-
- Scale up or down based on your needs
|
|
113
|
-
- No per-test or per-minute charges
|
|
114
|
-
|
|
115
|
-
## Custom Environments
|
|
116
|
-
|
|
117
|
-
### Custom VM Configuration
|
|
118
|
-
|
|
119
|
-
We help you create and maintain customized test environments:
|
|
120
|
-
|
|
121
|
-
- Install specific applications and dependencies
|
|
122
|
-
- Configure system settings and preferences
|
|
123
|
-
- Set up authentication and certificates
|
|
124
|
-
- Prepare baseline snapshots
|
|
125
|
-
|
|
126
|
-
### AWS AMI Management
|
|
127
|
-
|
|
128
|
-
Custom Amazon Machine Images for your testing needs:
|
|
129
|
-
|
|
130
|
-
- We work with you to build custom AMIs
|
|
131
|
-
- Regular updates and security patches
|
|
132
|
-
- Version control for environment changes
|
|
133
|
-
- Rollback capabilities for stability
|
|
134
|
-
|
|
135
|
-
### Provisioning API
|
|
136
|
-
|
|
137
|
-
Programmatic environment customization:
|
|
138
|
-
|
|
139
|
-
- Use the [provisioning API](/v7/features/sandbox-customization#provisioning-api) to install software
|
|
140
|
-
- Run setup scripts before tests
|
|
141
|
-
- Configure applications dynamically
|
|
142
|
-
- Learn more in our [Sandbox Customization](/v7/features/sandbox-customization) guide
|
|
143
|
-
|
|
144
|
-
### Environment Templates
|
|
145
|
-
|
|
146
|
-
Reusable environment configurations:
|
|
147
|
-
|
|
148
|
-
- Create templates for different application types
|
|
149
|
-
- Share configurations across teams
|
|
150
|
-
- Version control for environment specs
|
|
151
|
-
- Quick provisioning of standardized environments
|
|
152
|
-
|
|
153
|
-
## Getting Started
|
|
154
|
-
|
|
155
|
-
To learn more about TestDriver Enterprise:
|
|
156
|
-
|
|
157
|
-
1. [Book a demo](https://form.typeform.com/to/UECf9rDx?typeform-source=docs.testdriver.ai) with our team
|
|
158
|
-
2. Join our [Discord community](https://discord.com/invite/cWDFW8DzPm)
|
|
159
|
-
3. Contact us through your private Slack channel (existing customers)
|
|
160
|
-
|
|
161
|
-
## Learn More
|
|
162
|
-
|
|
163
|
-
- [Managed Sandboxes](/v7/features/managed-sandboxes)
|
|
164
|
-
- [Sandbox Customization](/v7/features/sandbox-customization)
|
|
165
|
-
- [Self-Hosting Guide](/v6/getting-started/self-hosting)
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
<AccordionGroup>
|
|
169
|
-
<Accordion title="SOC 2 Type II Certified">
|
|
170
|
-
TestDriver is SOC 2 Type II certified, ensuring:
|
|
171
|
-
|
|
172
|
-
- Rigorous security controls
|
|
173
|
-
- Regular third-party audits
|
|
174
|
-
- Documented security policies
|
|
175
|
-
- Incident response procedures
|
|
176
|
-
- Continuous monitoring
|
|
177
|
-
|
|
178
|
-
[View security documentation](https://testdriver.ai/security)
|
|
179
|
-
</Accordion>
|
|
180
|
-
|
|
181
|
-
<Accordion title="Data Encryption">
|
|
182
|
-
**At Rest:**
|
|
183
|
-
- AES-256 encryption for all stored data
|
|
184
|
-
- Encrypted database volumes
|
|
185
|
-
- Encrypted S3 buckets
|
|
186
|
-
- Encrypted cache storage
|
|
187
|
-
|
|
188
|
-
**In Transit:**
|
|
189
|
-
- TLS 1.3 for all connections
|
|
190
|
-
- Certificate pinning
|
|
191
|
-
- HTTPS-only communication
|
|
192
|
-
- VPN support for sandboxes
|
|
193
|
-
</Accordion>
|
|
194
|
-
|
|
195
|
-
<Accordion title="Network Isolation">
|
|
196
|
-
Each sandbox runs in complete isolation:
|
|
197
|
-
|
|
198
|
-
```javascript
|
|
199
|
-
const { testdriver } = await chrome(context, {
|
|
200
|
-
url: 'https://internal-app.company.com',
|
|
201
|
-
network: {
|
|
202
|
-
isolated: true, // Isolated network namespace
|
|
203
|
-
vpn: 'company-vpn', // Connect through VPN
|
|
204
|
-
proxy: 'proxy.company.com:8080',
|
|
205
|
-
allowlist: ['*.company.com']
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
- Isolated network namespaces
|
|
211
|
-
- No cross-sandbox communication
|
|
212
|
-
- Firewall rules per sandbox
|
|
213
|
-
- VPN integration
|
|
214
|
-
- Proxy support
|
|
215
|
-
</Accordion>
|
|
216
|
-
|
|
217
|
-
<Accordion title="Audit Logging">
|
|
218
|
-
Complete audit trail of all activities:
|
|
219
|
-
|
|
220
|
-
- User authentication events
|
|
221
|
-
- API calls and parameters
|
|
222
|
-
- Test executions
|
|
223
|
-
- Sandbox provisioning
|
|
224
|
-
- Configuration changes
|
|
225
|
-
- Data access logs
|
|
226
|
-
|
|
227
|
-
```javascript
|
|
228
|
-
// Audit logs include:
|
|
229
|
-
{
|
|
230
|
-
timestamp: '2024-12-02T10:15:30Z',
|
|
231
|
-
user: 'user@company.com',
|
|
232
|
-
action: 'test.run',
|
|
233
|
-
resource: 'login.test.js',
|
|
234
|
-
sandbox: 'i-0abc123def',
|
|
235
|
-
ip: '10.0.1.45',
|
|
236
|
-
result: 'success'
|
|
237
|
-
}
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
Export to SIEM systems: Splunk, Datadog, ELK Stack
|
|
241
|
-
</Accordion>
|
|
242
|
-
|
|
243
|
-
<Accordion title="Role-Based Access Control (RBAC)">
|
|
244
|
-
Granular permissions management:
|
|
245
|
-
|
|
246
|
-
```yaml
|
|
247
|
-
roles:
|
|
248
|
-
- name: developer
|
|
249
|
-
permissions:
|
|
250
|
-
- tests.read
|
|
251
|
-
- tests.write
|
|
252
|
-
- tests.run
|
|
253
|
-
|
|
254
|
-
- name: qa-lead
|
|
255
|
-
permissions:
|
|
256
|
-
- tests.*
|
|
257
|
-
- sandboxes.manage
|
|
258
|
-
- reports.view
|
|
259
|
-
|
|
260
|
-
- name: admin
|
|
261
|
-
permissions:
|
|
262
|
-
- "*"
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
- Team-based access control
|
|
266
|
-
- Resource-level permissions
|
|
267
|
-
- API key scoping
|
|
268
|
-
- SSO integration
|
|
269
|
-
</Accordion>
|
|
270
|
-
|
|
271
|
-
<Accordion title="Compliance">
|
|
272
|
-
Meet regulatory requirements:
|
|
273
|
-
|
|
274
|
-
- **GDPR** - EU data protection compliance
|
|
275
|
-
- **HIPAA** - Healthcare data protection
|
|
276
|
-
- **SOX** - Financial controls compliance
|
|
277
|
-
- **ISO 27001** - Information security management
|
|
278
|
-
- **FedRAMP** - US government cloud security (in progress)
|
|
279
|
-
|
|
280
|
-
Data residency options:
|
|
281
|
-
- US (us-east-1, us-west-2)
|
|
282
|
-
- EU (eu-west-1, eu-central-1)
|
|
283
|
-
- UK (eu-west-2)
|
|
284
|
-
- Asia Pacific (ap-southeast-1)
|
|
285
|
-
</Accordion>
|
|
286
|
-
</AccordionGroup>
|
|
287
|
-
|
|
288
|
-
## Authentication & SSO
|
|
289
|
-
|
|
290
|
-
Enterprise authentication options:
|
|
291
|
-
|
|
292
|
-
<Tabs>
|
|
293
|
-
<Tab title="SAML 2.0">
|
|
294
|
-
```javascript
|
|
295
|
-
// Configure SAML authentication
|
|
296
|
-
{
|
|
297
|
-
"auth": {
|
|
298
|
-
"type": "saml",
|
|
299
|
-
"entryPoint": "https://idp.company.com/sso",
|
|
300
|
-
"issuer": "testdriver",
|
|
301
|
-
"cert": "MIIDXTCCAkWgAwIBAgIJAK..."
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
Supported providers:
|
|
307
|
-
- Okta
|
|
308
|
-
- Azure AD
|
|
309
|
-
- OneLogin
|
|
310
|
-
- Auth0
|
|
311
|
-
- Google Workspace
|
|
312
|
-
</Tab>
|
|
313
|
-
|
|
314
|
-
<Tab title="LDAP/Active Directory">
|
|
315
|
-
```javascript
|
|
316
|
-
{
|
|
317
|
-
"auth": {
|
|
318
|
-
"type": "ldap",
|
|
319
|
-
"url": "ldaps://ldap.company.com:636",
|
|
320
|
-
"bindDN": "cn=admin,dc=company,dc=com",
|
|
321
|
-
"searchBase": "ou=users,dc=company,dc=com"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
```
|
|
325
|
-
</Tab>
|
|
326
|
-
|
|
327
|
-
<Tab title="OAuth 2.0 / OIDC">
|
|
328
|
-
```javascript
|
|
329
|
-
{
|
|
330
|
-
"auth": {
|
|
331
|
-
"type": "oauth2",
|
|
332
|
-
"authorizationURL": "https://auth.company.com/oauth/authorize",
|
|
333
|
-
"tokenURL": "https://auth.company.com/oauth/token",
|
|
334
|
-
"clientID": "testdriver-client"
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
```
|
|
338
|
-
</Tab>
|
|
339
|
-
</Tabs>
|
|
340
|
-
|
|
341
|
-
## Custom Golden Images
|
|
342
|
-
|
|
343
|
-
Pre-configure your test environments:
|
|
344
|
-
|
|
345
|
-
```javascript
|
|
346
|
-
const { testdriver } = await chrome(context, {
|
|
347
|
-
url: 'https://internal-app.company.com',
|
|
348
|
-
goldenImage: 'company-chrome-base-v1.2',
|
|
349
|
-
os: 'linux'
|
|
350
|
-
});
|
|
351
|
-
```
|
|
352
|
-
|
|
353
|
-
<Card title="Golden Image Features" icon="image">
|
|
354
|
-
**Include in your golden images:**
|
|
355
|
-
|
|
356
|
-
- Company certificates and CA bundles
|
|
357
|
-
- Internal proxy configurations
|
|
358
|
-
- Pre-installed dependencies
|
|
359
|
-
- Custom browser extensions
|
|
360
|
-
- Development tools (Git, Node, etc.)
|
|
361
|
-
- Company fonts and assets
|
|
362
|
-
- Environment variables
|
|
363
|
-
- SSH keys and credentials
|
|
364
|
-
- Custom OS configurations
|
|
365
|
-
</Card>
|
|
366
|
-
|
|
367
|
-
### Creating Golden Images
|
|
368
|
-
|
|
369
|
-
```bash
|
|
370
|
-
# Start from base image
|
|
371
|
-
testdriver image create --base ubuntu-22.04 --name company-base
|
|
372
|
-
|
|
373
|
-
# Install dependencies
|
|
374
|
-
testdriver image exec company-base -- bash -c "
|
|
375
|
-
apt-get update
|
|
376
|
-
apt-get install -y ca-certificates
|
|
377
|
-
cp /tmp/company-ca.crt /usr/local/share/ca-certificates/
|
|
378
|
-
update-ca-certificates
|
|
379
|
-
"
|
|
380
|
-
|
|
381
|
-
# Configure proxy
|
|
382
|
-
testdriver image exec company-base -- bash -c "
|
|
383
|
-
echo 'export HTTP_PROXY=http://proxy.company.com:8080' >> /etc/environment
|
|
384
|
-
echo 'export HTTPS_PROXY=http://proxy.company.com:8080' >> /etc/environment
|
|
385
|
-
"
|
|
386
|
-
|
|
387
|
-
# Save image
|
|
388
|
-
testdriver image save company-base --version v1.2
|
|
389
|
-
|
|
390
|
-
# Use in tests
|
|
391
|
-
testdriver sandbox spawn --image company-base:v1.2
|
|
392
|
-
```
|
|
393
|
-
|
|
394
|
-
## Unlimited Usage
|
|
395
|
-
|
|
396
|
-
Enterprise plans include:
|
|
397
|
-
|
|
398
|
-
<CardGroup cols={2}>
|
|
399
|
-
<Card title="Unlimited Tests" icon="infinity">
|
|
400
|
-
No limits on:
|
|
401
|
-
- Test executions
|
|
402
|
-
- API calls
|
|
403
|
-
- Concurrent tests
|
|
404
|
-
- Test duration
|
|
405
|
-
</Card>
|
|
406
|
-
|
|
407
|
-
<Card title="Unlimited Sandboxes" icon="server">
|
|
408
|
-
No limits on:
|
|
409
|
-
- Sandbox hours
|
|
410
|
-
- Concurrent sandboxes
|
|
411
|
-
- Sandbox storage
|
|
412
|
-
- Network bandwidth
|
|
413
|
-
</Card>
|
|
414
|
-
|
|
415
|
-
<Card title="Unlimited Team" icon="users">
|
|
416
|
-
No limits on:
|
|
417
|
-
- Team members
|
|
418
|
-
- Test projects
|
|
419
|
-
- API keys
|
|
420
|
-
- Integrations
|
|
421
|
-
</Card>
|
|
422
|
-
|
|
423
|
-
<Card title="Unlimited Storage" icon="database">
|
|
424
|
-
No limits on:
|
|
425
|
-
- Dashcam recordings
|
|
426
|
-
- Test artifacts
|
|
427
|
-
- Cache storage
|
|
428
|
-
- Log retention
|
|
429
|
-
</Card>
|
|
430
|
-
</CardGroup>
|
|
431
|
-
|
|
432
|
-
## Custom SLA
|
|
433
|
-
|
|
434
|
-
Enterprise support includes:
|
|
435
|
-
|
|
436
|
-
<Card title="Service Level Agreement" icon="file-contract">
|
|
437
|
-
- **99.9% uptime guarantee** - Guaranteed availability
|
|
438
|
-
- **< 1 hour response time** - Priority support tickets
|
|
439
|
-
- **Dedicated support engineer** - Named contact
|
|
440
|
-
- **24/7 emergency hotline** - Critical issues
|
|
441
|
-
- **Quarterly business reviews** - Performance optimization
|
|
442
|
-
- **Private Slack channel** - Direct team access
|
|
443
|
-
- **Custom training** - Onboarding and best practices
|
|
444
|
-
</Card>
|
|
445
|
-
|
|
446
|
-
## IP Allowlisting
|
|
447
|
-
|
|
448
|
-
Restrict access to your infrastructure:
|
|
449
|
-
|
|
450
|
-
```javascript
|
|
451
|
-
// Enterprise dashboard configuration
|
|
452
|
-
{
|
|
453
|
-
"security": {
|
|
454
|
-
"ipAllowlist": [
|
|
455
|
-
"10.0.0.0/8", // Corporate network
|
|
456
|
-
"203.0.113.0/24", // VPN range
|
|
457
|
-
"198.51.100.42/32" // Specific IP
|
|
458
|
-
],
|
|
459
|
-
"apiKeyRestrictions": {
|
|
460
|
-
"ipAllowlist": ["10.0.0.0/8"],
|
|
461
|
-
"referrerAllowlist": ["https://*.company.com"]
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
```
|
|
466
|
-
|
|
467
|
-
## Secret Management
|
|
468
|
-
|
|
469
|
-
Integrate with enterprise secret managers:
|
|
470
|
-
|
|
471
|
-
<Tabs>
|
|
472
|
-
<Tab title="HashiCorp Vault">
|
|
473
|
-
```javascript
|
|
474
|
-
import { VaultSecretProvider } from 'testdriverai/secrets';
|
|
475
|
-
|
|
476
|
-
const secrets = new VaultSecretProvider({
|
|
477
|
-
url: 'https://vault.company.com',
|
|
478
|
-
token: process.env.VAULT_TOKEN
|
|
479
|
-
});
|
|
480
|
-
|
|
481
|
-
const password = await secrets.get('prod/db/password');
|
|
482
|
-
|
|
483
|
-
await testdriver.find('password input').type(password, { secret: true });
|
|
484
|
-
```
|
|
485
|
-
</Tab>
|
|
486
|
-
|
|
487
|
-
<Tab title="AWS Secrets Manager">
|
|
488
|
-
```javascript
|
|
489
|
-
import { AWSSecretsProvider } from 'testdriverai/secrets';
|
|
490
|
-
|
|
491
|
-
const secrets = new AWSSecretsProvider({
|
|
492
|
-
region: 'us-east-1'
|
|
493
|
-
});
|
|
494
|
-
|
|
495
|
-
const apiKey = await secrets.get('prod/api-key');
|
|
496
|
-
```
|
|
497
|
-
</Tab>
|
|
498
|
-
|
|
499
|
-
<Tab title="Azure Key Vault">
|
|
500
|
-
```javascript
|
|
501
|
-
import { AzureKeyVaultProvider } from 'testdriverai/secrets';
|
|
502
|
-
|
|
503
|
-
const secrets = new AzureKeyVaultProvider({
|
|
504
|
-
vaultUrl: 'https://company-kv.vault.azure.net'
|
|
505
|
-
});
|
|
506
|
-
|
|
507
|
-
const token = await secrets.get('prod-access-token');
|
|
508
|
-
```
|
|
509
|
-
</Tab>
|
|
510
|
-
</Tabs>
|
|
511
|
-
|
|
512
|
-
## Private Docker Registry
|
|
513
|
-
|
|
514
|
-
Use your own container registry:
|
|
515
|
-
|
|
516
|
-
```yaml docker-compose.yml
|
|
517
|
-
services:
|
|
518
|
-
testdriver-api:
|
|
519
|
-
image: registry.company.com/testdriver/api:latest
|
|
520
|
-
imagePullSecrets:
|
|
521
|
-
- name: company-registry-secret
|
|
522
|
-
|
|
523
|
-
testdriver-worker:
|
|
524
|
-
image: registry.company.com/testdriver/worker:latest
|
|
525
|
-
imagePullSecrets:
|
|
526
|
-
- name: company-registry-secret
|
|
527
|
-
```
|
|
528
|
-
|
|
529
|
-
## Dedicated Infrastructure
|
|
530
|
-
|
|
531
|
-
Enterprise customers can request:
|
|
532
|
-
|
|
533
|
-
- **Dedicated API servers** - No multi-tenancy
|
|
534
|
-
- **Dedicated database** - Isolated data storage
|
|
535
|
-
- **Dedicated sandboxes** - Private compute fleet
|
|
536
|
-
- **Custom instance types** - GPU, high-memory, etc.
|
|
537
|
-
- **Private network** - Direct Connect, VPN
|
|
538
|
-
- **Colocation** - Deploy in your data center
|
|
539
|
-
|
|
540
|
-
## Cost Control
|
|
541
|
-
|
|
542
|
-
Enterprise features for managing costs:
|
|
543
|
-
|
|
544
|
-
```javascript
|
|
545
|
-
// Set budget alerts
|
|
546
|
-
{
|
|
547
|
-
"billing": {
|
|
548
|
-
"budget": {
|
|
549
|
-
"monthly": 50000,
|
|
550
|
-
"alerts": [
|
|
551
|
-
{ "threshold": 0.5, "notify": ["finance@company.com"] },
|
|
552
|
-
{ "threshold": 0.8, "notify": ["finance@company.com", "cto@company.com"] },
|
|
553
|
-
{ "threshold": 1.0, "action": "pause_tests" }
|
|
554
|
-
]
|
|
555
|
-
},
|
|
556
|
-
"limits": {
|
|
557
|
-
"maxConcurrentSandboxes": 100,
|
|
558
|
-
"maxSandboxDuration": 7200000, // 2 hours
|
|
559
|
-
"maxTestsPerDay": 10000
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
```
|
|
564
|
-
|
|
565
|
-
## Compliance Reports
|
|
566
|
-
|
|
567
|
-
Automated compliance reporting:
|
|
568
|
-
|
|
569
|
-
- **Test coverage reports** - Code coverage metrics
|
|
570
|
-
- **Security scan results** - Vulnerability reports
|
|
571
|
-
- **Audit logs** - Complete activity logs
|
|
572
|
-
- **Performance metrics** - SLA compliance
|
|
573
|
-
- **Cost reports** - Resource usage and billing
|
|
574
|
-
|
|
575
|
-
Export formats: PDF, CSV, JSON
|
|
576
|
-
|
|
577
|
-
## Migration Support
|
|
578
|
-
|
|
579
|
-
Enterprise onboarding includes:
|
|
580
|
-
|
|
581
|
-
<Steps>
|
|
582
|
-
<Step title="Assessment">
|
|
583
|
-
Evaluate current testing infrastructure and requirements
|
|
584
|
-
</Step>
|
|
585
|
-
|
|
586
|
-
<Step title="Planning">
|
|
587
|
-
Design migration strategy and timeline
|
|
588
|
-
</Step>
|
|
589
|
-
|
|
590
|
-
<Step title="Pilot">
|
|
591
|
-
Run pilot tests with small subset of suite
|
|
592
|
-
</Step>
|
|
593
|
-
|
|
594
|
-
<Step title="Migration">
|
|
595
|
-
Migrate tests in phases with rollback plan
|
|
596
|
-
</Step>
|
|
597
|
-
|
|
598
|
-
<Step title="Training">
|
|
599
|
-
Train team on TestDriver best practices
|
|
600
|
-
</Step>
|
|
601
|
-
|
|
602
|
-
<Step title="Optimization">
|
|
603
|
-
Optimize test performance and costs
|
|
604
|
-
</Step>
|
|
605
|
-
</Steps>
|
|
606
|
-
|
|
607
|
-
## Enterprise Pricing
|
|
608
|
-
|
|
609
|
-
Contact sales for custom pricing:
|
|
610
|
-
|
|
611
|
-
<Card title="Get Enterprise Quote" icon="envelope" href="https://testdriver.ai/enterprise">
|
|
612
|
-
- Volume discounts available
|
|
613
|
-
- Custom contract terms
|
|
614
|
-
- Flexible payment options
|
|
615
|
-
- Multi-year agreements
|
|
616
|
-
- Prepaid credits
|
|
617
|
-
|
|
618
|
-
**Email:** enterprise@testdriver.ai
|
|
619
|
-
**Phone:** +1 (555) 123-4567
|
|
620
|
-
</Card>
|
|
621
|
-
|
|
622
|
-
## Learn More
|
|
623
|
-
|
|
624
|
-
<CardGroup cols={2}>
|
|
625
|
-
<Card
|
|
626
|
-
title="Self-Hosting Guide"
|
|
627
|
-
icon="server"
|
|
628
|
-
href="/v7/guides/self-hosting"
|
|
629
|
-
>
|
|
630
|
-
Deploy TestDriver on-premise
|
|
631
|
-
</Card>
|
|
632
|
-
|
|
633
|
-
<Card
|
|
634
|
-
title="Security Documentation"
|
|
635
|
-
icon="shield"
|
|
636
|
-
href="https://testdriver.ai/security"
|
|
637
|
-
>
|
|
638
|
-
Security white papers and audits
|
|
639
|
-
</Card>
|
|
640
|
-
|
|
641
|
-
<Card
|
|
642
|
-
title="Compliance"
|
|
643
|
-
icon="file-contract"
|
|
644
|
-
href="https://testdriver.ai/compliance"
|
|
645
|
-
>
|
|
646
|
-
Compliance certifications
|
|
647
|
-
</Card>
|
|
648
|
-
|
|
649
|
-
<Card
|
|
650
|
-
title="Contact Sales"
|
|
651
|
-
icon="handshake"
|
|
652
|
-
href="https://testdriver.ai/enterprise"
|
|
653
|
-
>
|
|
654
|
-
Get enterprise quote
|
|
655
|
-
</Card>
|
|
656
|
-
</CardGroup>
|