testdriverai 6.1.10 → 6.1.11-canary.5b4a4e1.0
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.
|
@@ -54,6 +54,7 @@ jobs:
|
|
|
54
54
|
- name: Setup AWS Instance
|
|
55
55
|
id: aws-setup
|
|
56
56
|
run: |
|
|
57
|
+
chmod +x ./setup/aws/spawn-runner.sh
|
|
57
58
|
OUTPUT=$(./setup/aws/spawn-runner.sh | tee /dev/stderr) # Capture and display output
|
|
58
59
|
echo "$OUTPUT"
|
|
59
60
|
PUBLIC_IP=$(echo "$OUTPUT" | grep "PUBLIC_IP=" | cut -d'=' -f2)
|
|
@@ -68,9 +69,8 @@ jobs:
|
|
|
68
69
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
69
70
|
AWS_REGION: us-east-2
|
|
70
71
|
AWS_LAUNCH_TEMPLATE_ID: lt-00d02f31cfc602f27
|
|
71
|
-
AMI_ID: ami-
|
|
72
|
-
|
|
73
|
-
RESOLUTION_HEIGHT: 1080
|
|
72
|
+
AMI_ID: ami-055cd47506a2f39bb
|
|
73
|
+
RESOLUTION: 1920x1080
|
|
74
74
|
- name: Run TestDriver
|
|
75
75
|
run: node bin/testdriverai.js run testdriver/acceptance/${{ matrix.test }} --ip="${{ steps.aws-setup.outputs.public-ip }}" --junit=out.xml
|
|
76
76
|
env:
|
|
@@ -43,9 +43,10 @@ The setup process involves three main steps:
|
|
|
43
43
|
- AWS account with permissions to run CloudFormation.
|
|
44
44
|
- [AWS CLI](https://aws.amazon.com/cli/) installed locally.
|
|
45
45
|
|
|
46
|
-
<Tip>
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
<Tip>
|
|
47
|
+
Be sure to run `aws configure` with your credentials
|
|
48
|
+
</Tip>
|
|
49
|
+
- Access to the TestDriver AMI (Golden Image is `ami-055cd47506a2f39bb`)\
|
|
49
50
|
[Contact us with your preferred AWS Region for access](https://form.typeform.com/to/UECf9rDx?typeform-source=testdriver.ai).
|
|
50
51
|
- A GitHub repository for committing your tests & workflow.
|
|
51
52
|
|
|
@@ -76,8 +77,7 @@ aws cloudformation deploy \
|
|
|
76
77
|
```
|
|
77
78
|
|
|
78
79
|
<Danger>
|
|
79
|
-
**Security**: Replace `AllowedIngressCidr=0.0.0.0/0` with your specific IP
|
|
80
|
-
ranges to lock down access to your VPC.
|
|
80
|
+
**Security**: Replace `AllowedIngressCidr=0.0.0.0/0` with your specific IP ranges to lock down access to your VPC.
|
|
81
81
|
</Danger>
|
|
82
82
|
|
|
83
83
|
### Get Launch Template ID
|
|
@@ -91,7 +91,9 @@ aws cloudformation describe-stacks \
|
|
|
91
91
|
--output text
|
|
92
92
|
```
|
|
93
93
|
|
|
94
|
-
<Tip
|
|
94
|
+
<Tip>
|
|
95
|
+
**Save this ID** – you'll need it for the next step.
|
|
96
|
+
</Tip>
|
|
95
97
|
|
|
96
98
|
## Step 2: Spawn a New TestDriver Runner
|
|
97
99
|
|
|
@@ -127,10 +129,7 @@ AWS_REGION=us-east-2
|
|
|
127
129
|
```
|
|
128
130
|
|
|
129
131
|
<Note>
|
|
130
|
-
**Instance Lifecycle**: Instances spawned by this script will continue running
|
|
131
|
-
until you manually terminate them. They are automatically tagged with
|
|
132
|
-
`Name=TestDriverRunner` and `Project=[your ProjectTag value]` for easy
|
|
133
|
-
identification in the AWS console.
|
|
132
|
+
**Instance Lifecycle**: Instances spawned by this script will continue running until you manually terminate them. They are automatically tagged with `Name=TestDriverRunner` and `Project=[your ProjectTag value]` for easy identification in the AWS console.
|
|
134
133
|
</Note>
|
|
135
134
|
|
|
136
135
|
#### Changing Resolution in Lifecycle Files
|
|
@@ -367,4 +366,4 @@ For enterprise customers:
|
|
|
367
366
|
|
|
368
367
|
- Contact your account manager for AMI access issues
|
|
369
368
|
- Use support channels for infrastructure questions
|
|
370
|
-
- Check the TestDriver documentation for CLI usage
|
|
369
|
+
- Check the TestDriver documentation for CLI usage
|
package/package.json
CHANGED
|
@@ -168,8 +168,15 @@ Resources:
|
|
|
168
168
|
IpProtocol: tcp,
|
|
169
169
|
FromPort: 8765,
|
|
170
170
|
ToPort: 8765,
|
|
171
|
-
CidrIp:
|
|
172
|
-
Description: "pyautogui-cli WebSockets",
|
|
171
|
+
CidrIp: 35.171.123.200/32,
|
|
172
|
+
Description: "pyautogui-cli WebSockets - Static IP 1",
|
|
173
|
+
}
|
|
174
|
+
- {
|
|
175
|
+
IpProtocol: tcp,
|
|
176
|
+
FromPort: 8765,
|
|
177
|
+
ToPort: 8765,
|
|
178
|
+
CidrIp: 52.201.199.222/32,
|
|
179
|
+
Description: "pyautogui-cli WebSockets - Static IP 2",
|
|
173
180
|
}
|
|
174
181
|
- {
|
|
175
182
|
IpProtocol: tcp,
|