Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b4a31bb

Browse files
authoredMay 12, 2025··
Merge branch 'LambdaTest:stage' into stage
2 parents a1686bb + 4b47f72 commit b4a31bb

40 files changed

+1104
-328
lines changed
 

‎.github/workflows/pr.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ on:
88
merge_group:
99

1010
jobs:
11+
sonarqube-analysis:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repo
15+
uses: actions/checkout@v4
16+
17+
- name: SonarQube Analysis
18+
uses: SonarSource/sonarqube-scan-action@master
19+
env:
20+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
21+
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
1122
build-and-deploy:
1223
runs-on: ubuntu-20.04
1324
env:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
-8.74 KB
Binary file not shown.
-7.34 KB
Binary file not shown.

‎docs/accessibility-automation-test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: accessibility-automation-test
3-
title: Accessibility Testing on HyperExecute using Selenium
3+
title: Automation Tests with Accessibility Tool using Selenium
44
sidebar_label: Selenium
55
description: Use LambdaTest Accessibility DevTools to detect and report accessibility issues with automation, following WCAG guidelines.
66
keywords:
@@ -129,4 +129,4 @@ Now execute your tests and visit the [Automation Dashboard](https://accounts.lam
129129
mvn test
130130
```
131131
132-
<img loading="lazy" src={require('../assets/images/accessibility-testing/accessibility-automation.png').default} alt="automation-dashboard" className="doc_img"/>
132+
<img loading="lazy" src={require('../assets/images/accessibility-testing/accessibility-automation.png').default} alt="automation-dashboard" className="doc_img"/>

‎docs/analytics-test-case-insights.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,44 @@ driver.executeScript(`lambda-testCase-end=${Name of test case}`)
117117

118118
```
119119
120-
### Capture by NPM Package for WebdriverIO
120+
### Capture by Playwright reporter
121+
122+
#### Step 1 - Configure your reporter in YAML
123+
124+
You can capture the test case insights by using the `reporter` configuration in your `YAML` file for capturing and seeing the test cases in our test case widgets on dashboard.
125+
126+
Here is a link to documentation for setting up the reporter for `PlaywrightJS`: [Click here](/docs/playwright-html-report/#step-1-update-your-playwright-configuration)
127+
128+
#### Step 2 - Add the code to lambdatest-setup file
129+
130+
Once, you have setup the `reporter` then the following code snippet should be added to your `lambdatest-setup.js` config.
131+
132+
```js title=lambdatest-
133+
try {
134+
const response = JSON.parse(await ltPage.evaluate(
135+
(_, data) => {
136+
return window.eval(data)
137+
},
138+
`lambdatest_action: ${JSON.stringify({ action: 'getTestDetails' })}`
139+
))
140+
141+
if (response?.data?.test_id) {
142+
testInfo.annotations.push({
143+
type: 'lt_test_id',
144+
description: response.data.test_id,
145+
})
146+
console.log('LambdaTest Test ID:', response.data.test_id)
147+
}
148+
} catch (err) {
149+
console.warn('Could not fetch LambdaTest test details:', err.message)
150+
}
151+
```
152+
153+
#### Step 3 - Execute the tests using HyperExecute
154+
155+
You can now, execute the tests on our `HyperExecute` platform and you can see the results captured in the `Test Case Widgets` on the dashboards.
156+
157+
## Capture by NPM Package for WebdriverIO
121158
122159
You can capture the test case insights by using the NPM Package. You need to add the following `NPM Package` in your test script. Here is the link to the NPM package: [wdio-lambdatest-test-case-analytics-service](https://www.npmjs.com/package/wdio-lambdatest-test-case-analytics-service)
123160
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
---
2+
id: analytics-test-failure-classification
3+
title: Failure Categorization AI - Test Intelligence
4+
sidebar_label: Failure Categorization AI
5+
description: LambdaTest Analytics uses Failure Categorization AI to classify test failures into different categories. This helps in identifying the root cause of failures and improving test automation efficiency.
6+
keywords:
7+
- analytics
8+
- test failure classification
9+
- test intelligence
10+
- failure categorization
11+
- AI
12+
- machine learning
13+
- test automation
14+
url: https://www.lambdatest.com/support/docs/analytics-test-failure-classification/
15+
site_name: LambdaTest
16+
slug: analytics-test-failure-classification/
17+
---
18+
19+
<script type="application/ld+json"
20+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
21+
"@context": "https://schema.org",
22+
"@type": "BreadcrumbList",
23+
"itemListElement": [{
24+
"@type": "ListItem",
25+
"position": 1,
26+
"name": "Home",
27+
"item": "https://www.lambdatest.com"
28+
},{
29+
"@type": "ListItem",
30+
"position": 2,
31+
"name": "Support",
32+
"item": "https://www.lambdatest.com/support/docs/"
33+
},{
34+
"@type": "ListItem",
35+
"position": 3,
36+
"name": "Test Overview",
37+
"item": "https://www.lambdatest.com/support/docs/analytics-test-failure-classification/"
38+
}]
39+
})
40+
}}
41+
></script>
42+
43+
import VideoEmbed from '../src/component/videoEmbed';
44+
45+
46+
# Failure Categorization AI - Test Intelligence
47+
48+
LambdaTest Analytics uses Failure Categorization AI to classify test failures into different categories. This helps in identifying the root cause of failures and improving test automation efficiency. The AI model analyzes the test execution data and categorizes the failures based on various parameters such as environment, browser, OS, and failure type. This allows you to focus on the most critical issues and prioritize your testing efforts.
49+
50+
## Pre-requisites For Failure Categorization AI
51+
52+
1. You should have an active LambdaTest account.
53+
2. This feature is available for users with the HyperExecute or App / Web Automation subscription plan.
54+
3. You should add the `remark` capability in your test script to enable the Failure Categorization AI. The `remark` capability is used to add comments or notes to the test execution data. This helps in providing additional context to the AI model and improves the accuracy of the failure categorization.
55+
56+
Here is the link to the documentation for the remark capability:
57+
* [Web Automation](https://www.lambdatest.com/support/docs/appium-lambdatest-hooks/#adding-custom-status--remark)
58+
* [App Automation](https://www.lambdatest.com/support/docs/appium-lambdatest-hooks/#adding-custom-status--remark)
59+
60+
4. You should have at least one test failure in your test execution data. The AI model requires a minimum of one test failure to categorize the failures. If there are no test failures, the AI model will not be able to categorize the failures.
61+
5. You should have access to the LambdaTest Insights platform.
62+
6. You can see the failure categorization AI on creating a dashboard in the Insights section.
63+
7. Click on the `Create New` button to create a new dashboard.
64+
8. Choose any of the available widgets and add them to the dashboard.
65+
9. Click on the widget drill down to see the failure categorization AI options.
66+
67+
## What is Failure Categorization AI?
68+
69+
The test failure categorization AI is a machine learning model that classifies test failures into different categories. The AI model uses various parameters such as environment, browser, OS, and failure type to categorize the failures. This helps in identifying the root cause of failures and improving test automation efficiency.
70+
71+
<VideoEmbed
72+
src="https://share.synthesia.io/embeds/videos/4a1bbc2e-6a78-4a31-86e8-1c7d3649d3b1"
73+
title="Exploring Custom Widgets for Dashboards in Lambdatest Insights"
74+
/>
75+
76+
For the first failure as a user you will need to select the type of failure from the list of categories available. The categories are as follows:
77+
- **Product Bug:** This category is used when the failure is due to a bug in the product being tested. This could be a UI issue, a functional issue, or any other type of bug that affects the product's functionality.
78+
- **Test Automation Bug:** This category is used when the failure is due to a bug in the test automation code. This could be a script issue, a framework issue, or any other type of bug that affects the test automation process.
79+
- **Environment Issue:** This category is used when the failure is due to an issue with the test environment. This could be a configuration issue, a network issue, or any other type of issue that affects the test environment.
80+
- **No Action Required:** This category is used when the failure does not require any action. This could be a known issue, a false positive, or any other type of issue that does not require any action from the user.
81+
82+
Once the user selects the category for the first failure, the AI model will learn from the user's selection and will automatically categorize the subsequent failures based on the user's selection. This helps in reducing the manual effort required to categorize the failures and improves the overall efficiency of the test automation process.
83+
84+
## How will the Failure Categorization AI help you?
85+
86+
The failure categorization AI helps you in the following ways:
87+
88+
- **Automated Classification:** The AI model automatically classifies the test failures into different categories, reducing the manual effort required to categorize the failures.
89+
90+
- **Improved Efficiency:** By categorizing the failures, the AI model helps in identifying the root cause of failures and improving test automation efficiency.
91+
92+
- **Prioritization of Testing Efforts:** The AI model helps in prioritizing the testing efforts by identifying the most critical issues that need to be addressed.
93+
94+
- **Better Insights:** The AI model provides better insights into the test execution data, helping you to make data-driven decisions.
95+
96+
97+
## Support
98+
99+
For any queries or issues related to the Failure Categorization AI, please reach out to our [24/7 customer support](mailto:support@lambdatest.com). We are here to help you!

‎docs/appium-geolocation.md

Lines changed: 0 additions & 207 deletions
This file was deleted.
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Please sign in to comment.