Skip to content

Commit db46563

Browse files
authored
Merge pull request #2706 from surishubham/testmuCom
Merge pull request #2705 from AbhishekLambda/stage
2 parents 15364f1 + ee3ba75 commit db46563

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

docs/kaneai-ci-cd-automation.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ Replace `<TestRunID>` with the actual ID from the URL and set additional optiona
9292
- **ios_app_id**: Specify an iOS app ID to override the existing app in the configuration of the Test instances.
9393
- **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.
9494
- **replaced_url :** To be used to dynamically replace any pattern URL in test cases with the replacement URL for entire test run.
95+
- **report_enabled**: Set to `true` to generate an HTML report for the test run. The report can be accessed from the HyperExecute Job page after execution. See [Reports](/support/docs/kaneai-hyperexecute-test-run-execution/#reports) for details.
96+
- **report_email_to**: An array of email addresses to receive the test run report via email after execution. Maximum 10 email addresses. Only works when `report_enabled` is set to `true`.
9597

9698
#### Example API Call:
9799

@@ -137,7 +139,9 @@ curl --location 'https://test-manager-api.lambdatest.com/api/atm/v1/hyperexecute
137139
"pattern_url": "TEST_URL_2",
138140
"replacement_url": "REPLACED_TEST_URL_2"
139141
}
140-
] #Optional to be used to dynamically replace any pattern URL in test cases with the replacement URL
142+
], #Optional to be used to dynamically replace any pattern URL in test cases with the replacement URL
143+
"report_enabled": false, #Optional, set true to generate HTML report
144+
"report_email_to": ["[email protected]"] #Optional, array of email addresses to receive report (max 10)
141145
}'
142146
```
143147

@@ -169,8 +173,8 @@ The API response contains the job ID for both jobs created for desktop web tests
169173

170174
<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-ci-cd/image7.png').default} alt="Image" className="doc_img"/>
171175

172-
## GithubActions sample
173-
Here is a sample that you can use on how to integrate the API with GithubActions in your Github repository:
176+
## Github Actions sample
177+
Here is a sample that you can use on how to integrate the API with Github Actions in your Github repository:
174178

175179
**Step 1: Create a GitHub Actions Workflow YAML File**
176180
In your Git repository, navigate to .github/workflows/ and create a file named sanity-test.yml.

docs/kaneai-hyperexecute-test-run-execution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Before clicking **Execute**, you can optionally click **Advanced Configurations*
111111
| **Test Configuration** | Configure console logs, network logs, network full HAR, timezone, and retry on failure settings for your execution. |
112112
| **Network Settings** | Set up tunnel for local/restricted environments, geolocation routing, and region selection for web tests. |
113113
| **Replace URL** | Replace the pattern URL for all web tests in the run to execute in different environments. See [Dynamic URL Replacement](/support/docs/kaneai-dynamic-url-replacement/) for details. |
114-
| **Performance** | Enable Lighthouse performance reports (Lighthouse Audits) for web tests only. |
114+
| **Performance** | Enable Lighthouse performance reports (Lighthouse Audits). |
115115
| **Visual Regression** | Add visual testing configuration — select browsers, viewports, devices, and orientation. See [Visual Testing with SmartUI](/support/docs/kaneai-smartui-visual-testing/) for details. |
116116
| **Accessibility Testing** | Enable accessibility checks (WCAG 2.1 AA) with best practices and needs review options. Available for web with Chrome and Edge browsers only. |
117117
| **Reports** | Generate HTML reports and receive them via email. See [below](#reports). |

0 commit comments

Comments
 (0)