Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/hyperexecute-smart-ui-capture-onboarding.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ Install the required SmartUI CLI package. You can install it globally or locally
### Global Installation (Recommended)

```bash
npm install -g @lambdatest/smartui-cli@4.1.54-beta.0
npm install -g @lambdatest/smartui-cli@latest
```

### Local Installation

```bash
npm install @lambdatest/smartui-cli@4.1.54-beta.0
npm install @lambdatest/smartui-cli@latest
```

:::tip Sample Repository
Expand Down Expand Up @@ -398,7 +398,7 @@ cacheDirectories:

pre:
# Install SmartUI CLI and dependencies
- npm install @lambdatest/smartui-cli@4.1.54-beta.0
- npm install @lambdatest/smartui-cli@latest
- npm install playwright@1.57.0
- npx playwright install

Expand Down Expand Up @@ -435,7 +435,7 @@ cacheDirectories:
- ${CACHE_DIR}

pre:
- npm install @lambdatest/smartui-cli@4.1.54-beta.0
- npm install @lambdatest/smartui-cli@latest
- npm install playwright@1.57.0
- npx playwright install

Expand Down Expand Up @@ -689,7 +689,7 @@ env:
SMART_GIT: true # Enable Smart Git for branch management

pre:
- npm install @lambdatest/smartui-cli@4.1.54-beta.0
- npm install @lambdatest/smartui-cli@latest

matrix:
section: ["section1_category_a", "section2_category_b", "section3_category_c", "section4_category_d", "section5_category_e"]
Expand Down Expand Up @@ -795,7 +795,7 @@ env:
PROJECT_TOKEN: ${PROJECT_TOKEN_CATEGORY_A} # Unique token per project

pre:
- npm install @lambdatest/smartui-cli@4.1.54-beta.0
- npm install @lambdatest/smartui-cli@latest

testSuites:
- npx smartui capture urls_category_a.json --config config.json --buildName "CategoryA-Build"
Expand Down Expand Up @@ -1171,7 +1171,7 @@ jobs:

- name: Install Dependencies
run: |
npm install @lambdatest/smartui-cli@4.1.54-beta.0
npm install @lambdatest/smartui-cli@latest
npm install playwright@1.57.0
npx playwright install

Expand Down
2 changes: 1 addition & 1 deletion docs/hyperexecute-smart-ui-sdk-maestro.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Now, let's set up the test suite to integrate with SmartUI.
The SmartUI CLI is required to capture and upload screenshots. Install it in your project directory:

```bash
npm install @lambdatest/smartui-cli
npm install @lambdatest/smartui-cli@latest
```

:::note
Expand Down
2 changes: 1 addition & 1 deletion docs/hyperexecute-smart-ui-sdk-selenium-csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ cacheDirectories:
pre:
- dotnet clean
- dotnet build
- npm install @lambdatest/smartui-cli
- npm install @lambdatest/smartui-cli@latest
- dotnet restore
- npx smartui config:create .smartui.json

Expand Down
4 changes: 2 additions & 2 deletions docs/hyperexecute-smart-ui-sdk-selenium-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ cacheDirectories:
- node_modules

pre:
- npm install @lambdatest/smartui-cli @lambdatest/selenium-driver selenium-webdriver
- npm install @lambdatest/smartui-cli@latest @lambdatest/selenium-driver selenium-webdriver
- npx smartui config:create smartui-web.json

post:
Expand All @@ -197,7 +197,7 @@ It is mandatory to mention these commands in the pre flag to download all the ne

```bash
pre:
- npm install @lambdatest/smartui-cli @lambdatest/selenium-driver selenium-webdriver
- npm install @lambdatest/smartui-cli@latest @lambdatest/selenium-driver selenium-webdriver
- npx smartui config:create smartui-web.json
```
:::
Expand Down
4 changes: 2 additions & 2 deletions docs/hyperexecute-smart-ui-sdk-using-cypress.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ cacheDirectories:
- cypressCache

pre:
- npm install @lambdatest/smartui-cli @lambdatest/cypress-driver cypress@v13
- npm install @lambdatest/smartui-cli@latest @lambdatest/cypress-driver cypress@v13
- npx smartui config:create smartui-web.json

post:
Expand All @@ -207,7 +207,7 @@ It is mandatory to mention these commands in the pre flag to download all the ne

```bash
pre:
- npm install @lambdatest/smartui-cli @lambdatest/cypress-driver cypress@v13
- npm install @lambdatest/smartui-cli@latest @lambdatest/cypress-driver cypress@v13
- npx smartui config:create smartui-web.json
```
:::
Expand Down
4 changes: 2 additions & 2 deletions docs/hyperexecute-smart-ui-sdk-using-playwright.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ env:
PROJECT_TOKEN: "YOUR_PROJECT_TOKEN" #Enter your project token here

pre:
- npm install @lambdatest/smartui-cli @lambdatest/playwright-driver playwright
- npm install @lambdatest/smartui-cli@latest @lambdatest/playwright-driver playwright
- npx smartui config:create smartui-web.json

post:
Expand All @@ -191,7 +191,7 @@ It is mandatory to mention these commands in the pre flag to download all the ne

```bash
pre:
- npm install @lambdatest/smartui-cli @lambdatest/playwright-driver playwright
- npm install @lambdatest/smartui-cli@latest @lambdatest/playwright-driver playwright
- npx smartui config:create smartui-web.json
```
:::
Expand Down
4 changes: 2 additions & 2 deletions docs/hyperexecute-smart-ui-sdk-using-puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ env:
PROJECT_TOKEN: "YOUR_PROJECT_TOKEN" #Enter your project token here

pre:
- npm install @lambdatest/smartui-cli @lambdatest/puppeteer-driver puppeteer
- npm install @lambdatest/smartui-cli@latest @lambdatest/puppeteer-driver puppeteer
- npx smartui config:create smartui-web.json

post:
Expand All @@ -191,7 +191,7 @@ It is mandatory to mention these commands in the pre flag to download all the ne

```bash
pre:
- npm install @lambdatest/smartui-cli @lambdatest/puppeteer-driver puppeteer
- npm install @lambdatest/smartui-cli@latest @lambdatest/puppeteer-driver puppeteer
- npx smartui config:create smartui-web.json
```
:::
Expand Down
4 changes: 2 additions & 2 deletions docs/smartui-cli-build-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ If you haven't already installed SmartUI CLI, install it using npm:

**Global Installation (Recommended):**
```bash
npm install -g @lambdatest/smartui-cli
npm install -g @lambdatest/smartui-cli@latest
```

**Local Installation:**
```bash
npm install @lambdatest/smartui-cli
npm install @lambdatest/smartui-cli@latest
```

## Step 2: Configure your Project Token
Expand Down
6 changes: 3 additions & 3 deletions docs/smartui-cli-complete-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ $env:LT_SDK_DEBUG="true"
**Basic Static URL Capture**
```bash
# 1. Install CLI
npm install -g @lambdatest/smartui-cli
npm install -g @lambdatest/smartui-cli@latest

# 2. Set project token
export PROJECT_TOKEN="123456#token"
Expand Down Expand Up @@ -833,7 +833,7 @@ npx smartui upload-pdf ./pdfs --markBaseline --buildName "PDF-Baseline"
env:
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
run: |
npm install -g @lambdatest/smartui-cli
npm install -g @lambdatest/smartui-cli@latest
npx smartui exec --buildName "${{ github.sha }}" -- npm test
```
**GitLab CI Example:**
Expand All @@ -842,7 +842,7 @@ test:
variables:
PROJECT_TOKEN: $PROJECT_TOKEN
script:
- npm install -g @lambdatest/smartui-cli
- npm install -g @lambdatest/smartui-cli@latest
- npx smartui exec --buildName "$CI_COMMIT_SHA" -- npm test
```
</TabItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/smartui-cli-figma-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Note down both the **project name** and the **project token**. You need the toke
### 2. Install SmartUI CLI

```bash
npm install -g @lambdatest/smartui-cli
npm install -g @lambdatest/smartui-cli@latest
```

---
Expand Down
4 changes: 2 additions & 2 deletions docs/smartui-cli-figma-web.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ Install required NPM modules for `TestMu AI SmartUI CLI` globally or in your pro

**Global Installation (Recommended):**
```bash
npm install -g @lambdatest/smartui-cli
npm install -g @lambdatest/smartui-cli@latest
```

**Local Installation:**
```bash
npm install @lambdatest/smartui-cli
npm install @lambdatest/smartui-cli@latest
```

### **Step 2:** Create the design configuration file
Expand Down
8 changes: 4 additions & 4 deletions docs/smartui-cli-figma.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ Install required NPM modules for `TestMu AI SmartUI CLI` globally or in your pro

**Global Installation (Recommended):**
```bash
npm install -g @lambdatest/smartui-cli
npm install -g @lambdatest/smartui-cli@latest
```

**Local Installation:**
```bash
npm install @lambdatest/smartui-cli
npm install @lambdatest/smartui-cli@latest
```

:::note
Expand Down Expand Up @@ -348,7 +348,7 @@ If you are using the Continuous Integration (CI) pipeline for your application a
steps:
- name: Running SmartUI Figma CLI Tests
- run: |
npm install @lambdatest/smartui-cli
npm install @lambdatest/smartui-cli@latest
npx playwright install-deps
npx smartui upload-figma designs.json
```
Expand Down Expand Up @@ -418,7 +418,7 @@ If you are using the Continuous Integration (CI) pipeline for your application a
steps:
- name: Running SmartUI Figma CLI Tests
- run: |
npm install @lambdatest/smartui-cli
npm install @lambdatest/smartui-cli@latest
npx playwright install-deps
npx smartui upload-figma designs.json
```
Expand Down
6 changes: 3 additions & 3 deletions docs/smartui-cli-upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ Install required NPM modules for `TestMu AI SmartUI CLI` globally or in your pro

**Global Installation (Recommended):**
```bash
npm install -g @lambdatest/smartui-cli
npm install -g @lambdatest/smartui-cli@latest
```

**Local Installation:**
```bash
npm install @lambdatest/smartui-cli
npm install @lambdatest/smartui-cli@latest
```

:::note
Expand Down Expand Up @@ -163,7 +163,7 @@ If you are using the Continuous Integration (CI) pipeline for your application a
steps:
- name: Running SmartUI CLI Tests
- run: |
npm install @lambdatest/smartui-cli
npm install @lambdatest/smartui-cli@latest
npx playwright install-deps
npx smartui upload <Directory Name> --removeExtensions
```
Expand Down
6 changes: 3 additions & 3 deletions docs/smartui-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ Install required NPM modules for `TestMu AI SmartUI CLI` globally or in your pro

**Global Installation (Recommended):**
```bash
npm install -g @lambdatest/smartui-cli
npm install -g @lambdatest/smartui-cli@latest
```

**Local Installation:**
```bash
npm install @lambdatest/smartui-cli
npm install @lambdatest/smartui-cli@latest
```

:::note
Expand Down Expand Up @@ -336,7 +336,7 @@ If you are using the Continuous Integration (CI) pipeline for your application a
steps:
- name: Running SmartUI CLI Tests
- run: |
npm install -g @lambdatest/smartui-cli
npm install -g @lambdatest/smartui-cli@latest
npx playwright install-deps
smartui capture urls.json --config smartui-web.json
```
Expand Down
2 changes: 1 addition & 1 deletion docs/smartui-cypress-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ cd smartui-cypress-sdk-sample
1. Install required NPM modules for `TestMu AI SmartUI Cypress SDK` in your **Frontend** project.

```bash
npm install @lambdatest/smartui-cli @lambdatest/cypress-driver cypress@v13
npm install @lambdatest/smartui-cli@latest @lambdatest/cypress-driver cypress@v13
```

:::note
Expand Down
18 changes: 9 additions & 9 deletions docs/smartui-gitlab-pr-checks-exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ visual_regression_tests:

before_script:
- npm ci
- npm install -g @lambdatest/smartui-cli
- npm install -g @lambdatest/smartui-cli@latest

script:
# Get GitLab project ID and commit SHA
Expand Down Expand Up @@ -182,7 +182,7 @@ visual_regression_tests:

before_script:
- mvn clean install -DskipTests
- npm install -g @lambdatest/smartui-cli
- npm install -g @lambdatest/smartui-cli@latest

script:
# Get GitLab project ID and commit SHA
Expand Down Expand Up @@ -234,7 +234,7 @@ visual_regression_tests:

before_script:
- pip install -r requirements.txt
- npm install -g @lambdatest/smartui-cli
- npm install -g @lambdatest/smartui-cli@latest

script:
# Get GitLab project ID and commit SHA
Expand Down Expand Up @@ -287,7 +287,7 @@ visual_regression_tests:

before_script:
- bundle install
- npm install -g @lambdatest/smartui-cli
- npm install -g @lambdatest/smartui-cli@latest

script:
# Get GitLab project ID and commit SHA
Expand Down Expand Up @@ -429,7 +429,7 @@ visual_regression_tests:

before_script:
- npm ci
- npm install -g @lambdatest/smartui-cli
- npm install -g @lambdatest/smartui-cli@latest

script:
- |
Expand Down Expand Up @@ -475,7 +475,7 @@ visual_regression_tests:

before_script:
- mvn clean install -DskipTests
- npm install -g @lambdatest/smartui-cli
- npm install -g @lambdatest/smartui-cli@latest

script:
- |
Expand Down Expand Up @@ -523,7 +523,7 @@ visual_regression_tests:

before_script:
- npm ci
- npm install -g @lambdatest/smartui-cli
- npm install -g @lambdatest/smartui-cli@latest

script:
- |
Expand Down Expand Up @@ -570,7 +570,7 @@ visual_regression_tests:

before_script:
- mvn clean install -DskipTests
- npm install -g @lambdatest/smartui-cli
- npm install -g @lambdatest/smartui-cli@latest

script:
- |
Expand Down Expand Up @@ -643,7 +643,7 @@ visual_regression_tests:
**Symptoms**: `npx smartui exec` command fails or doesn't run tests.

**Solutions**:
1. Verify SmartUI CLI is installed: `npm install -g @lambdatest/smartui-cli`
1. Verify SmartUI CLI is installed: `npm install -g @lambdatest/smartui-cli@latest`
2. Check that `PROJECT_TOKEN` environment variable is set
3. Verify `.smartui.json` configuration file exists and is valid
4. Ensure test command after `--` is correct
Expand Down
Loading