Skip to content

Commit 126ba38

Browse files
smartui getting started page structuring
1 parent 415eacf commit 126ba38

16 files changed

+326
-160
lines changed
3.16 KB
Loading
3.16 KB
Loading
4.8 KB
Loading
3.43 KB
Loading
1.23 KB
Loading
6.69 KB
Loading

docs/getting-started-with-hyperexecute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: getting-started-with-hyperexecute
3-
title: Getting started with Hyperexecute
3+
title: Getting started with HyperExecute
44
hide_title: false
55
sidebar_label: HyperExecute
66
description: Get started with HyperExecute on LambdaTest for faster web automation tests using Matrix and Auto-Split strategies. Test with Selenium languages at high speeds.

docs/getting-started-with-lambdatest-automation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ url: https://www.lambdatest.com/support/docs/getting-started-with-lambdatest-aut
1818
site_name: LambdaTest
1919
slug: getting-started-with-lambdatest-automation/
2020
---
21-
import SupportedLanguage from '../src/component/SupportedLanguage';
21+
import SeleniumSupportedLanguage from '../src/component/SupportedLanguages/SeleniumSupportedLanguage';
2222

2323
<script type="application/ld+json"
2424
dangerouslySetInnerHTML={{ __html: JSON.stringify({
@@ -55,7 +55,7 @@ LambdaTest provides a robust and versatile Selenium Automation Grid, designed to
5555

5656
## Supported Languages and Frameworks
5757

58-
<SupportedLanguage />
58+
<SeleniumSupportedLanguage />
5959

6060
:::tip Note
6161
We support all languages and frameworks that are compatible with Selenium, so in case your favorite isn't in the table.<br/>Don't worry, you can still run the test. <span className="doc__lt" onClick={() => window.openLTChatWidget()}>Contact Us</span> for any help.

docs/selenium-supported-languages-and-frameworks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ slug: selenium-supported-languages-and-frameworks/
2424

2525
import Tabs from '@theme/Tabs';
2626
import TabItem from '@theme/TabItem';
27-
import SupportedLanguage from '../src/component/SupportedLanguage';
27+
import SeleniumSupportedLanguage from '../src/component/SupportedLanguages/SeleniumSupportedLanguage';
2828

2929
<script type="application/ld+json"
3030
dangerouslySetInnerHTML={{ __html: JSON.stringify({
@@ -51,7 +51,7 @@ import SupportedLanguage from '../src/component/SupportedLanguage';
5151
></script>
5252
Out of the box, LambdaTest supports multiple languages under Selenium testing frameworks
5353

54-
<SupportedLanguage />
54+
<SeleniumSupportedLanguage />
5555

5656
<div className="lt-framework-list-footer">
5757
<p>In case your favorite framework or tool isn't listed here, just give us a <span className="doc__lt" onClick={() => window.openLTChatWidget()}>Shout Out Here</span>.
Lines changed: 21 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: smart-visual-regression-testing
3-
title: Smart Visual Regression Testing Using LambdaTest
4-
hide_title: true
3+
title: Getting started with SmartUI
4+
hide_title: false
55
sidebar_label: Visual Regression
66
description: Experience Visual Regression Testing at its finest with SmartUI by LambdaTest. Automate UI changes tracking for precision, collaboration, and scalability on the cloud. Optimize your testing journey now!
77
keywords:
@@ -20,6 +20,11 @@ site_name: LambdaTest
2020
slug: smart-visual-regression-testing/
2121
---
2222

23+
import Tabs from '@theme/Tabs';
24+
import TabItem from '@theme/TabItem';
25+
import SmartUIHooksSupportedLanguage from '../src/component/SupportedLanguages/SmartUIHooksSupportedLanguage';
26+
import SmartUISDKSupportedLanguage from '../src/component/SupportedLanguages/SmartUISDKSupportedLanguage';
27+
2328
<script type="application/ld+json"
2429
dangerouslySetInnerHTML={{ __html: JSON.stringify({
2530
"@context": "https://schema.org",
@@ -43,18 +48,7 @@ slug: smart-visual-regression-testing/
4348
})
4449
}}
4550
></script>
46-
47-
# Smart UI - Visual Regression Testing on Cloud
48-
***
49-
50-
Welcome to SmartUI, an innovative tool by LambdaTest that integrates the robustness of cloud-based platforms with the accuracy of Visual Regression Testing (VRT). SmartUI revolutionizes your digital experience by automating the process of identifying and tracking visual changes in the user interface (UI) over time. As technology progresses and your UI continues to evolve, SmartUI is designed to provide precision, collaboration, and scalability.
51-
52-
<div className="ytframe">
53-
<div className="youtube" data-embed="R00u2k8Yxpc" data-loading-attribute="eager">
54-
<div className="play-button"></div>
55-
</div>
56-
</div>
57-
51+
SmartUI is a visual testing tool that helps in identifying visual regressions in web applications. It uses advanced image comparison techniques to detect differences between baseline images and those captured during subsequent test runs.
5852

5953
<div className="support_main">
6054
<a href="/support/docs/smartui-cli/">
@@ -63,48 +57,12 @@ Welcome to SmartUI, an innovative tool by LambdaTest that integrates the robustn
6357
<p>Learn how to perform Visual UI Testing using command line interface.</p>
6458
</div>
6559
</a>
66-
<a href="/support/docs/selenium-visual-regression/">
67-
<div className="support_inners">
68-
<h3>Setup with Selenium</h3>
69-
<p>Learn how to perform Visual Regression Testing using Selenium Testing on Smart UI.</p>
70-
</div>
71-
</a>
72-
<a href="/support/docs/smart-ui-cypress/">
73-
<div className="support_inners">
74-
<h3>Setup with Cypress</h3>
75-
<p>Learn how to perform Visual Regression Testing using Cypress Testing on Smart UI.</p>
76-
</div>
77-
</a>
78-
<a href="/support/docs/playwright-visual-regression/">
79-
<div className="support_inners">
80-
<h3>Setup with Playwright</h3>
81-
<p>Learn how to perform Visual Regression Testing using Playwright Testing on Smart UI.</p>
82-
</div>
83-
</a>
84-
<a href="/support/docs/puppeteer-visual-regression/">
85-
<div className="support_inners">
86-
<h3>Setup with Puppeteer</h3>
87-
<p>Learn how to perform Visual Regression Testing using Puppeteer Testing on Smart UI.</p>
88-
</div>
89-
</a>
90-
<a href="/support/docs/smartui-k6-setup/">
91-
<div className="support_inners">
92-
<h3>Setup with K6</h3>
93-
<p>Learn how to perform Visual Regression Testing using K6 on Smart UI.</p>
94-
</div>
95-
</a>
9660
<a href="/support/docs/smart-ui-storybook/">
9761
<div className="support_inners">
9862
<h3>Setup with Storybook</h3>
9963
<p>Learn how to perform Visual Regression Testing using Storybook Testing on Smart UI.</p>
10064
</div>
10165
</a>
102-
<a href="/support/docs/appium-visual-regression/">
103-
<div className="support_inners">
104-
<h3>Setup with Appium</h3>
105-
<p>Learn how to perform Visual Regression Testing using Appium Testing on Smart UI.</p>
106-
</div>
107-
</a>
10866
<a href="/support/docs/smartui-upload-api-v2/">
10967
<div className="support_inners">
11068
<h3>Upload through API</h3>
@@ -155,94 +113,19 @@ Welcome to SmartUI, an innovative tool by LambdaTest that integrates the robustn
155113
</a>
156114
</div>
157115

158-
<!-- <div className="ytframe">
159-
<div className="youtube" data-embed="F-RvD2UsqR4">
160-
<div className="play-button"></div>
161-
</div>
162-
</div>
163-
164-
## Upload Baseline
165-
166-
Once you login, click on the Navigation menu bar in the left *Visual UI Testing > Smart Testing*.
167-
168-
Next, we have to upload a Baseline image
169-
170-
**Step 1:** Upload a baseline image. Click on the + icon next to the Base Line Images header.
116+
<!-- Here are all the languages and frameworks supported by SmartUI. -->
171117

172-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-1.webp').default} alt="Smart Visual Testing" width="1439" height="803" className="doc_img"/>
118+
<Tabs className="docs__val">
119+
<TabItem value="sdk" label="SDK" default>
120+
<SmartUISDKSupportedLanguage />
121+
</TabItem>
173122

174-
**Step 2:** Select a baseline image from your computer. You can also select multiple images at a time.
123+
<TabItem value="hooks" label="Hooks" default>
124+
<SmartUIHooksSupportedLanguage />
125+
</TabItem>
126+
</Tabs>
175127

176-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-2.webp').default} alt="Smart Testing" width="1438" height="820" className="doc_img"/>
177-
178-
**Step 3:** Once selected, images will be uploaded, and you can view the same under the Baseline Image gallery.
179-
180-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-3.webp').default} alt="Image Comparison" width="1438" height="820" className="doc_img"/>
181-
182-
## Upload Comparison Images
183-
184-
Upload Comparison Images. Please note that you cannot upload comparison images before uploading a baseline. Once you have uploaded the baseline image, below are the steps to upload a comparison image.
185-
186-
**Step 1:** Click on the baseline image you want to run a comparison with.
187-
188-
**Step 2:** On the right, you will find the Upload Comparison Image button. Click on it to upload images.
189-
190-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-4.webp').default} alt="Comparing Image pixel by pixel" width="1439" height="752" className="doc_img"/>
191-
192-
**Step 3:** Select the images you want to compare with the baseline image. You can select multiple images as well.
193-
194-
**Step 4:** If everything goes well, you would see the thumbnail of your comparison images along with the RUN button.
195-
196-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-5.webp').default} alt="Smart Comparison Testing" width="1440" height="791" className="doc_img"/>
197-
198-
## Run Comparison
199-
200-
**Step 1:** Once you have uploaded the comparison images, running the comparison is pretty simple. Just click on the Run button on the comparison image thumbnail.
201-
202-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-6.webp').default} alt="Running Image Comparison" width="1440" height="791" className="doc_img"/>
203-
204-
**Step 2:** You can also click on compare all button.
205-
206-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-8.webp').default} alt="Compare All Images" width="1440" height="791" className="doc_img"/>
207-
208-
## View Comparison and Issues
209-
210-
Once you have run the comparison between baseline and comparison images, you can check the issues by clicking on the View issues button on the comparison image.
211-
212-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-9.webp').default} alt="comparison between baseline and comparison images" width="1440" height="791" className="doc_img"/>
213-
214-
This will take you to a new window with a comparison image. You can zoom-in or Zoom out the images in this window, change the image difference color, switch to slider mode, switch to side-by-side mode, or mark the image as a bug.
215-
216-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-10.webp').default} alt="settings used in Image comparison" width="1437" height="745" className="doc_img"/>
217-
218-
## Side by Side Mode
219-
220-
There are multiple options for you to view your images. The side by side mode will open all three images, baseline image, comparison image, and comparison result image in a single window. In this mode, you can also mark the image as a bug. Or you can switch to any other mode.
221-
222-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-11.webp').default} alt="Side by Side Image Comparison" width="1438" height="750" className="doc_img"/>
223-
224-
## Slider Mode
225-
226-
In slider mode, you can view the baseline image and comparison image overlapped over each other and toggle them with a slider. This mode can help you view the difference between the two images very easily.
227-
228-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/Slider-Mode-1.webp').default} alt="Slider Mode for Comparing Images" width="1439" height="747" className="doc_img"/>
229-
230-
## Change Baseline or Comparison Image
231-
232-
You can change the baseline or comparison image easily. Just click on the settings button at the bottom of the image thumbnail. You would see multiple options like View Image Details, Replace Image, Rename Image, and Delete Image.
233-
234-
<img loading="lazy" src={require('../assets/images/smart-visual-testing/smart-visual-testing-12.webp').default} alt="Changing Baseline or Comparison Image" width="821" height="646" className="doc_img"/> -->
235-
236-
<nav aria-label="breadcrumbs">
237-
<ul className="breadcrumbs">
238-
<li className="breadcrumbs__item">
239-
<a className="breadcrumbs__link" href="https://www.lambdatest.com">Home</a>
240-
</li>
241-
<li className="breadcrumbs__item">
242-
<a className="breadcrumbs__link" href="/support/docs/">Support</a>
243-
</li>
244-
<li className="breadcrumbs__item breadcrumbs__item--active">
245-
<span className="breadcrumbs__link">Smart Visual Testing</span>
246-
</li>
247-
</ul>
248-
</nav>
128+
<div className="lt-framework-list-footer">
129+
<p>In case your favorite framework or tool isn't listed here, just give us a <span className="doc__lt" onClick={() => window.openLTChatWidget()}>Shout Out Here</span>. <br/>
130+
In case of any other problems, feel free to <span className="doc__lt" onClick={() => window.openLTChatWidget()}>Contact Us</span>.</p>
131+
</div>

0 commit comments

Comments
 (0)