Skip to content

Commit c2b56bc

Browse files
committed
Merge pull request #2174 from RushilK7/stage
SmartUI Docs Restructuring, Adding missing docs, adding powershell support
1 parent a4a8ca4 commit c2b56bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1567
-732
lines changed

docs/build-options-for-visual-regression-testing.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import TabItem from '@theme/TabItem';
4242
"@type": "ListItem",
4343
"position": 3,
4444
"name": "Smart Visual Testing",
45-
"item": "https://www.lambdatest.com/support/docs/smart-ui-cypress/"
45+
"item": "https://www.lambdatest.com/support/docs/build-options-for-visual-regression-testing/"
4646
}]
4747
})
4848
}}
@@ -214,9 +214,7 @@ We are provide multiple build status options for the project owners to check the
214214
</a>
215215
</li>
216216
<li className="breadcrumbs__item breadcrumbs__item--active">
217-
<span className="breadcrumbs__link">
218-
Smart UI with Cypress
219-
</span>
217+
<span className="breadcrumbs__link"> Build Options for Visual Regression Testing </span>
220218
</li>
221219
</ul>
222220
</nav>

docs/kaneai-smartui-visual-testing.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
id: kaneai-smartui-visual-testing
33
title: Visual Test Creation with KaneAI
44
hide_title: false
5-
sidebar_label: Smart Visual Test Creation
65
description: A step-by-step guide on using KaneAI to automate visual regression tests. Learn to capture screenshots, establish baselines, compare visual changes with SmartUI, and schedule automated runs.
76
keywords:
87
- lambdatest kaneai

docs/playwright-visual-regression.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ set LT_USERNAME="YOUR_USERNAME"
4646
set LT_ACCESS_KEY="YOUR ACCESS KEY"
4747
```
4848
</TabItem>
49+
<TabItem value="PowerShell" label="PowerShell">
50+
51+
```powershell
52+
$env:LT_USERNAME="YOUR_USERNAME"
53+
$env:LT_ACCESS_KEY="YOUR ACCESS KEY"
54+
```
55+
</TabItem>
4956
</Tabs>
5057

5158
The following steps will guide you in running your first Visual Regression test on LambdaTest platform -
@@ -259,9 +266,7 @@ For additional information about Playwright framework please explore the documen
259266
</a>
260267
</li>
261268
<li className="breadcrumbs__item breadcrumbs__item--active">
262-
<span className="breadcrumbs__link">
263-
Getting Started with Selenium Visual Regression
264-
</span>
269+
<span className="breadcrumbs__link"> Playwright Visual Regression </span>
265270
</li>
266271
</ul>
267272
</nav>

docs/selenium-visual-regression.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,14 @@ set LT_USERNAME="YOUR_USERNAME"
4848
set LT_ACCESS_KEY="YOUR ACCESS KEY"
4949
```
5050
</TabItem>
51-
<TabItem value="Powershell" label="Windows-PS">
51+
<TabItem value="PowerShell" label="PowerShell">
5252

53-
```bash
54-
$Env:LT_USERNAME="YOUR_USERNAME"
55-
$Env:LT_ACCESS_KEY="YOUR_ACCESS_KEY"
53+
```powershell
54+
$env:LT_USERNAME="YOUR_USERNAME"
55+
$env:LT_ACCESS_KEY="YOUR ACCESS KEY"
5656
```
5757
</TabItem>
58+
5859
</Tabs>
5960

6061
The following steps will guide you in running your first Visual Regression test on LambdaTest platform -
@@ -640,7 +641,7 @@ This may take a few seconds to process the screenshot. Please ensure that you ha
640641
</a>
641642
</li>
642643
<li className="breadcrumbs__item breadcrumbs__item--active">
643-
<span className="breadcrumbs__link"> Getting Started with Selenium Visual Regression </span>
644+
<span className="breadcrumbs__link"> Selenium Visual Regression </span>
644645
</li>
645646
</ul>
646647
</nav>

docs/smartui-appium-hooks.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,20 @@ Below are code examples for taking viewport screenshots using SmartUI with Appiu
7373

7474
```bash
7575
export LT_USERNAME="YOUR_USERNAME"
76-
export LT_ACCESS_KEY="YOUR ACCESS KEY"
7776
```
7877

7978
</TabItem>
80-
<TabItem value="Windows" label="Windows" default>
79+
<TabItem value="Windows" label="Windows - CMD">
8180

8281
```bash
8382
set LT_USERNAME="YOUR_USERNAME"
84-
set LT_ACCESS_KEY="YOUR ACCESS KEY"
83+
```
84+
85+
</TabItem>
86+
<TabItem value="PowerShell" label="PowerShell">
87+
88+
```powershell
89+
$env:LT_USERNAME="YOUR_USERNAME"
8590
```
8691

8792
</TabItem>
@@ -523,7 +528,7 @@ For additional information about appium framework please explore the documentati
523528
</a>
524529
</li>
525530
<li className="breadcrumbs__item breadcrumbs__item--active">
526-
<span className="breadcrumbs__link"> Getting Started with appium Visual Regression </span>
531+
<span className="breadcrumbs__link"> SmartUI Appium Hooks </span>
527532
</li>
528533
</ul>
529534
</nav>

docs/smartui-appium-java-sdk.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ export PROJECT_TOKEN="123456#1234abcd-****-****-****-************"
103103
set PROJECT_TOKEN="123456#1234abcd-****-****-****-************"
104104
```
105105

106+
</TabItem>
107+
<TabItem value="PowerShell" label="PowerShell">
108+
109+
```powershell
110+
$env:PROJECT_TOKEN="123456#1234abcd-****-****-****-************"
111+
```
112+
106113
</TabItem>
107114
</Tabs>
108115

@@ -314,7 +321,7 @@ For additional information about SmartUI APIs, please explore the documentation
314321
</a>
315322
</li>
316323
<li className="breadcrumbs__item breadcrumbs__item--active">
317-
<span className="breadcrumbs__link">SmartUI App SDK</span>
324+
<span className="breadcrumbs__link"> SmartUI Appium Java SDK </span>
318325
</li>
319326
</ul>
320327
</nav>

docs/smartui-baseline-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ npx smartui --markBaseline exec -- <execution command>
104104
```bash
105105
# 1. Set feature branch baseline
106106
npx smartui --baselineBranch "feature/new-login" exec -- <execution command>
107-
107+
```
108108

109109
### 2. Hotfix Management
110110

docs/smartui-basic-auth.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import NewTag from '../src/component/newTag';
3636
"@type": "ListItem",
3737
"position": 3,
3838
"name": "Smart Visual Testing",
39-
"item": "https://www.lambdatest.com/support/docs/smart-ui-cypress/"
39+
"item": "https://www.lambdatest.com/support/docs/smartui-basic-auth/"
4040
}]
4141
})
4242
}}
@@ -111,15 +111,22 @@ Then set your environment variables:
111111

112112
```bash
113113
export AUTH_USERNAME="your-username"
114-
export AUTH_PASSWORD="your-password"
115114
```
115+
116116
</TabItem>
117-
<TabItem value="Windows" label="Windows" default>
117+
<TabItem value="Windows" label="Windows - CMD">
118118

119119
```bash
120120
set AUTH_USERNAME="your-username"
121-
set AUTH_PASSWORD="your-password"
122121
```
122+
123+
</TabItem>
124+
<TabItem value="PowerShell" label="PowerShell">
125+
126+
```powershell
127+
$env:AUTH_USERNAME="your-username"
128+
```
129+
123130
</TabItem>
124131
</Tabs>
125132

docs/smartui-branch-merging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ npx smartui merge branch --source hotfix/security-patch --target staging
9999
```bash
100100
# 1. Ensure feature branch is approved
101101
npx smartui merge branch --source feature/new-login --target main
102-
102+
```
103103

104104
### 2. Hotfix Strategy
105105

docs/smartui-cli-build-name.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import NewTag from '../src/component/newTag';
4040
"@type": "ListItem",
4141
"position": 3,
4242
"name": "Smart Visual Testing",
43-
"item": "https://www.lambdatest.com/support/docs/smart-ui-cypress/"
43+
"item": "https://www.lambdatest.com/support/docs/smartui-cli-build-name/"
4444
}]
4545
})
4646
}}
@@ -81,11 +81,12 @@ set PROJECT_TOKEN="123456#1234abcd-****-****-****-************"
8181
```
8282

8383
</TabItem>
84-
<TabItem value="Powershell" label="Windows-PS">
84+
<TabItem value="PowerShell" label="PowerShell">
8585

86-
```bash
87-
$Env:PROJECT_TOKEN="123456#1234abcd-****-****-****-************"
86+
```powershell
87+
$env:PROJECT_TOKEN="123456#1234abcd-****-****-****-************"
8888
```
89+
8990
</TabItem>
9091
</Tabs>
9192

0 commit comments

Comments
 (0)