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
@@ -47,28 +45,24 @@ import NewTag from '../src/component/newTag';
47
45
})
48
46
}}
49
47
></script>
50
-
51
48
SmartUI CLI allows you to group screenshots in a build name and append new screenshots to an existing build. This feature enables you to assign build names, add screenshots to existing builds and manage your visual tests efficiently.
52
49
53
-
54
50
## Prerequisites
55
51
56
52
- Basic understanding of Command Line Interface
57
53
- Login to [LambdaTest SmartUI](https://smartui.lambdatest.com/) with your credentials.
58
54
- Ensure you are using `@lambdatest/smartui-cli` version 4.0.14 or higher.
59
55
- A properly configured SmartUI CLI project
60
56
61
-
## Steps to Use
62
-
63
-
### **Step 1:** Install SmartUI CLI
57
+
## Step 1: Install SmartUI CLI
64
58
65
59
If you haven't already installed SmartUI CLI, install it using npm:
66
60
67
61
```bash
68
62
npm i @lambdatest/smartui-cli
69
63
```
70
64
71
-
### **Step 2:** Configure your Project Token
65
+
##Step 2: Configure your Project Token
72
66
73
67
Setup your project token show in the **SmartUI** app after, creating your project.
If you are running multiple test cases in a single job (e.g., using HyperExecute) and want to club all screenshots under a single build while maintaining consistent Git baseline management, you can do the following:
124
118
@@ -127,34 +121,15 @@ This can be done as follows:
Copy file name to clipboardExpand all lines: docs/smartui-guided-walkthrough.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,10 +54,14 @@ The SmartUI dashboard presents a comparison between the baseline and the capture
54
54
### Diff Controls
55
55
Located at the center of the top menu, the Diff Controls allow testers to customize how visual differences are displayed, offering multiple options to refine the comparison process. The available modes are:
56
56
57
+
#### Layers
57
58
-**Captured Diffs :** Highlights the differences detected in the current captured screenshots when compared to the baseline. Ideal for spotting changes introduced in the latest version.
58
59
-**Baseline Diffs :** Displays the differences by focusing on the baseline's unique elements. Helps identify elements missing or changed in the new capture. Annotations : Allows users to add notes or highlight specific regions of interest on the screenshots. Useful for documenting findings or collaborating with team members.
60
+
-**Annotations :** Controls the visibility of your annotations in both parallel and landscape views with a toggle, default set to off, ensuring a clean visual field when not needed.
61
+
62
+
#### Diff Options
59
63
-**Strict Mode :** Highlights exact pixel mismatches between the baseline and captured screenshots. Best suited for detailed visual inspections where high precision is required.
60
-
-**Smart Ignore :**Automatically ignores minor, non-critical differences (e.g., anti-aliasing, rendering variations). Useful for reducing noise in tests, allowing the focus to remain on significant UI changes.
64
+
-**Smart Ignore :**Iintelligently hides the displacement differences, allowing you to concentrate on actual content changes that impact the user experience.
61
65
62
66
### Variants
63
67
The top menu includes browser variants, which allow cross-browser testing. Variants visible in the screenshot include: Chrome, Firefox, Edge, Playwright WebKit (Pw-Webkit). Each variant shows the same test across different browsers and resolutions, helping identify browser-specific visual issues.
0 commit comments