Skip to content

Commit 4fe6982

Browse files
authored
Merge pull request #1766 from Private1647/stage
Update kaneai-ci-cd-automation.md
2 parents 3125db0 + 33a00d1 commit 4fe6982

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

docs/kaneai-ci-cd-automation.md

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,17 @@ A list of test instances with various configurations will be displayed for each
7272
### Step 3: Configure the API Call
7373
Replace `<TestRunID>` with the actual ID from the URL and set additional optional parameters:
7474

75-
- **concurrency :** Defaults to 1 if not specified.
76-
- **title :** Assign a unique job title; a random one will be generated if omitted.
77-
- **region :** Choose a region such as eastus or centralindia.
78-
- **tunnel :** Add the parameter and tunnel name if you want to run using LambdaTest Tunnel.
79-
- **accessibility :** Set as true if you want to run accessibility test on all your tests in the test run. (Could potentially slow the execution down if set as true)
75+
- **concurrency**: Select the concurrency you want to set for this test run. Defaults to 1 if not specified.
76+
- **title**: Assign a unique job title; a random one will be generated if omitted.
77+
- **region**: Choose a region for web tests such as _eastus_ or _centralindia_ to select the region from where the VM is allocated.
78+
- **mobile_region**: Choose a region for mobile app tests such as _us_,_ap_ or _eu_ to select the region from where the device is allocated.
79+
- **tunnel**: Add the parameter and tunnel name if you want to run using LambdaTest Tunnel for private applications. See more details for tunnel [here](https://www.lambdatest.com/support/docs/kane-ai-geolocation-tunnel-proxy/#tunnel-support).
80+
- **dedicated_proxy**: Add the region of the dedicated proxy such as _us_ or _eu_, #Optional, either tunnel or dedicated proxy or geolocation can be used in a single API call.
81+
- **geolocation**: Add the resgion of the geolocation that you want to run your tests from. You can find the list of support geolocations [here](https://www.lambdatest.com/support/docs/selenium-geolocation-capabilities/).
82+
- **app_profiling**: Add true if you want to track app profiling metrics in your test. You can find more details [here](https://www.lambdatest.com/support/docs/appium-app-performance-analytics/).
83+
- **performance**: Add true if you want generate Lighthouse report for your web tests. Supported on limited OS browser combinations. Additionally, Setting this as true could potentially slow down the execution time. You can find more details [here](https://www.lambdatest.com/support/docs/view-lighthouse-performance-metrics/).
84+
- **accessibility**: Set as true if you want to run accessibility test on all your tests in the test run. Setting this as true could potentially slow down the execution time.
85+
- **network_throttle**: Set the label and value based on details available [here](https://www.lambdatest.com/support/docs/app-auto-network-throttling/).
8086
- **replaced_url :** To be used to dynamically replace any pattern URL in test cases with the replacement URL for entire test run.
8187

8288
#### Example API Call:
@@ -89,9 +95,17 @@ curl --location 'https://test-manager-api.lambdatest.com/api/atm/v1/hyperexecute
8995
"test_run_id": "YOUR_TEST_RUN_ID", #enter test run id
9096
"concurrency": 1, # Optional, Default 1
9197
"title": "UNIQUE_BUILD_NAME", #Optional
92-
"region": "YOUR_DESIRED_REGION", #eastus, centralindia
93-
"tunnel": "tunnel-name", #Optional to be used if running via tunnel
94-
"accessibility": false, #Optional
98+
"console_logs": "false", #Optional for web tests, options - false, error, warn, info, true
99+
"network_logs": "false", #Optional to capture network requests during the test
100+
"region": "YOUR_DESIRED_REGION", #Optional for web tests, options - eastus, centralindia
101+
"mobile_region": "YOUR_DESIRED_REGION", #Optional for mobile tests, options - us,eu,ap
102+
"tunnel": "tunnel-name", #Optional, either tunnel or dedicated proxy or geolocation can be used
103+
"dedicated_proxy": "region", #Optional, either tunnel or dedicated proxy or geolocation can be used
104+
"geolocation": "region", #Optional, either tunnel or dedicated proxy or geolocation can be used.
105+
"app_profiling": "boolean", #Optional for performance metrics for native mobile apps
106+
"performance": "boolean", #Optional for lighthouse report for web tests
107+
"accessibility": false, #Optional only for web tests
108+
"network_throttle": [ {label: "custom", value: "2g-gprs-good", download_speed: 30, upload_speed: 1, latency: 500}, # optional only for mobile app tests
95109
"replaced_url": [
96110
{
97111
"pattern_url": "TEST_URL_1",
@@ -100,10 +114,6 @@ curl --location 'https://test-manager-api.lambdatest.com/api/atm/v1/hyperexecute
100114
{
101115
"pattern_url": "TEST_URL_2",
102116
"replacement_url": "REPLACED_TEST_URL_2"
103-
},
104-
{
105-
"pattern_url": "TEST_URL_3",
106-
"replacement_url": "REPLACED_TEST_URL_3"
107117
}
108118
] #Optional to be used to dynamically replace any pattern URL in test cases with the replacement URL
109119
}'

0 commit comments

Comments
 (0)