Skip to content

Commit b731167

Browse files
committed
Clarify SmartUI execution commands
1 parent 6dc7d21 commit b731167

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@ import { smartuiSnapshot } from '@lambdatest/selenium-driver';
160160
```
161161
- Execute the Tests on SmartUI Cloud
162162

163+
**Local Execution:**
163164
```bash
164-
npx smartui exec node <fileName>.js
165+
npx smartui exec node sdkLocal.js
166+
```
167+
168+
**Cloud Execution:**
169+
```bash
170+
npx smartui exec node sdkCloud.js
165171
```

sdk/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,16 @@ import { smartuiSnapshot } from '@lambdatest/selenium-driver';
155155

156156
### **Step 6:** Execute the Tests on SmartUI Cloud
157157

158-
Execute `visual regression tests` on SmartUI using the following commands
158+
Execute `visual regression tests` on SmartUI using the following commands:
159159

160+
**Local Execution:**
160161
```bash
161-
npx smartui exec node <fileName>.js
162+
npx smartui exec node sdkLocal.js
163+
```
164+
165+
**Cloud Execution:**
166+
```bash
167+
npx smartui exec node sdkCloud.js
162168
```
163169

164170
**You may use the `smartui --help` command in case you are facing issues during the execution of SmartUI commands in the CLI.

0 commit comments

Comments
 (0)