You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hyperexecute-smart-ui-maestro.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ In your Maestro test YAML files (e.g., `maestro-test/test.yaml`), add the `takeS
130
130
131
131
#### 4.3. Set Up Environment Variables
132
132
133
-
Now, you need to export your environment variables *LT_USERNAME* and *LT_ACCESS_KEY* that are available in the [LambdaTest Profile page](https://accounts.lambdatest.com/detail/profile).
133
+
Now, you need to export your environment variables *LT_USERNAME* and *LT_ACCESS_KEY* that are available in the [LambdaTest Username and Access Key Page](https://accounts.lambdatest.com/security/username-accesskey).
134
134
135
135
Run the below mentioned commands in your terminal to setup the CLI and the environment variables.
Copy file name to clipboardExpand all lines: docs/smartui-root-cause-analysis.md
+20-13Lines changed: 20 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
id: smartui-root-cause-analysis
3
-
title: Smart Root Cause Analysis in SmartUI
3
+
title: Root Cause Analysis in SmartUI
4
4
hide_title: false
5
-
sidebar_label: Smart Root Cause Analysis (RCA)
6
-
description: Learn how to use SmartUI's Root Cause Analysis (RCA) to debug visual regressions by inspecting the exact DOM and CSS changes behind them.
5
+
sidebar_label: Smart RCA
6
+
description: Learn how to use SmartUI's RCA to debug visual regressions by inspecting the exact DOM and CSS changes behind them.
7
7
keywords:
8
8
- smartui
9
9
- root cause analysis
@@ -51,14 +51,15 @@ SmartUI’s **Root Cause Analysis (RCA)** provides a deep inspection into *why*
51
51
## What Problems Does Smart RCA Solve?
52
52
53
53
Visual testing often tells you that something is wrong but not what caused it. Smart RCA eliminates the guesswork and manual debugging by providing immediate, actionable insights.
54
-
54
+
<palign="center">
55
55
| Problem | Smart RCA Solution |
56
56
|---|---|
57
57
| The UI looks broken, but you don’t know why. | Click to inspect the exact HTML, CSS, and Text changes. |
58
58
| The visual diff isn't providing enough detail. | RCA shows an in-depth DOM comparison. |
59
59
| The team wastes time on manual debugging. | RCA provides an instant root cause, saving time. |
60
60
| The layout shifted because of a small style change. | RCA pinpoints the exact CSS properties that changed. |
61
61
| Invisible elements are affecting the layout. | RCA highlights changes to all elements, even invisible ones. |
62
+
</p>
62
63
63
64
---
64
65
@@ -67,36 +68,42 @@ Visual testing often tells you that something is wrong but not what caused it. S
67
68
### Prerequisites
68
69
69
70
:::info
70
-
Before you begin, please ensure the following:
71
-
* The build was generated using a **LambdaTest CLI (exec)** project.
71
+
Before you begin, please ensure the build was generated using a **LambdaTest CLI (exec)** command.
72
72
:::
73
73
74
74
### Step 1: Activate RCA Mode
75
75
76
76
1. Open a visual build from your [SmartUI dashboard](https://smartui.lambdatest.com/).
77
77
2. In the comparison toolbar, click the **RCA** icon.
78
-
78
+
<palign="center">
79
79
<img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAicon.png').default} alt="RCA Icon in Toolbar" width="200" height="200" className="doc_img"/>
80
+
</p>
80
81
81
82
When RCA is activated, DOM diff boxes are automatically enabled. There's nothing manual to configure—you're ready to investigate immediately.
82
83
83
84
### Step 2: Investigate DOM Differences Visually
84
85
85
86
As soon as RCA mode is on, you can interact with the highlighted differences to see the underlying code changes. The selection is visually precise, with overlays that follow the true element boundaries, not just approximate pixel areas.
86
87
87
-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAmain.png').default} alt="RCA Icon in Toolbar" width="400" height="800" className="doc_img"/>
88
-
89
88
| User Interaction | Visual Feedback & Result |
90
89
|---|---|
91
-
|**Default View** <img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAdefault.png').default} alt="RCA Icon in Toolbar" width="200" height="200" className="doc_img"/> | A dark blue highlight box appears by default, pinpointing the exact DOM element where the primary issue is detected. |
92
-
|**Hover** on a diff region <img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAhover.png').default} alt="RCA Icon in Toolbar" width="200" height="200" className="doc_img"/> | A yellow bounding box appears, indicating the element is ready for selection. |
93
-
|**Click** a diff region <img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAselected.png').default} alt="RCA Icon in Toolbar" width="200" height="200" className="doc_img"/> | A red box locks onto the selected DOM region, and the RCA panel opens on the right. |
94
-
|**Hover** while selected <img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAhighlight.png').default} alt="RCA Icon in Toolbar" width="200" height="200" className="doc_img"/> | A blue highlight box appears over the element, helping to transition focus between the screenshot and the RCA panel. |
90
+
|**Default View** <br /> <img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAdefault.png').default} alt="RCA Icon in Toolbar" width="200" height="200" className="doc_img"/> | A dark blue highlight box appears by default, pinpointing the exact DOM element where the primary issue is detected. |
91
+
|**Hover** on a diff region <br /> <img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAhover.png').default} alt="RCA Icon in Toolbar" width="200" height="200" className="doc_img"/> | A yellow bounding box appears, indicating the element is ready for selection. |
92
+
|**Click** a diff region <br /> <img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAselected.png').default} alt="RCA Icon in Toolbar" width="200" height="200" className="doc_img"/> | A red box locks onto the selected DOM region, and the RCA panel opens on the right. |
93
+
|**Hover** while selected <br /> <img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAhighlight.png').default} alt="RCA Icon in Toolbar" width="200" height="200" className="doc_img"/> | A blue highlight box appears over the element, helping to transition focus between the screenshot and the RCA panel. |
94
+
95
+
95
96
96
97
### Step 3: Understand Detailed Changes in the RCA Panel
97
98
98
99
Once an element is selected, the RCA panel opens on the right sidebar. It displays structured diff breakdowns across several categories:
99
100
101
+
102
+
<palign="center">
103
+
<img loading="lazy" src={require('../assets/images/smart-visual-testing/RCA/RCAmain.png').default} alt="RCA Icon in Toolbar" width="200" height="400" className="doc_img"/>
104
+
</p>
105
+
106
+
100
107
| Category | What You'll See |
101
108
|---|---|
102
109
|**DOM Path**| The full XPath for the element in both the baseline and captured screenshot. |
0 commit comments