---
title: "smoke-testing"
description: "Claude Code plugin for persona-based user testing. Simulates Boomers, Millennials, Gen Z, and Gen Alpha users to find UX issues before real users do."
canonical_url: "https://skilld.dev/gh/ncklrs/claude-chrome-user-testing/smoke-testing"
last_updated: "2026-09-30T03:19:26.000Z"
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [presets/checkout.json](https://skilld.dev/api/skills-raw/ncklrs/claude-chrome-user-testing/smoke-testing/presets/checkout.json), [presets/login.json](https://skilld.dev/api/skills-raw/ncklrs/claude-chrome-user-testing/smoke-testing/presets/login.json), [presets/navigation.json](https://skilld.dev/api/skills-raw/ncklrs/claude-chrome-user-testing/smoke-testing/presets/navigation.json), [presets/search.json](https://skilld.dev/api/skills-raw/ncklrs/claude-chrome-user-testing/smoke-testing/presets/search.json), [presets/signup.json](https://skilld.dev/api/skills-raw/ncklrs/claude-chrome-user-testing/smoke-testing/presets/signup.json).
>
> If the user asked to install this Skill, run `npx skilld install ncklrs/claude-chrome-user-testing/smoke-testing`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/smoke-testing`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/ncklrs/claude-chrome-user-testing/smoke-testing) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/smoke-testing`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/smoke-testing --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/smoke-testing --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Smoke Testing Skill

Run pre-configured smoke tests for common user flows. Quick validation that critical functionality works.

## What is Smoke Testing?

Smoke testing is a quick sanity check to ensure basic functionality works before deeper testing. The name comes from electronics - if you turn on a circuit and smoke comes out, you know something is wrong without further testing.

## When to Use

- Before releases to catch obvious breaks
- After deployments to verify functionality
- In CI/CD pipelines for quick validation
- Before detailed user testing sessions

## Built-in Presets

### login

**Purpose**: Verify authentication works

**Steps**:
1. Find login link or button on page
2. Navigate to login page
3. Locate email/username and password fields
4. Enter test credentials (use `test@example.com` / `testpassword123`)
5. Submit the form
6. Verify login succeeded (dashboard, user menu, etc.)

**Failure Indicators**:
- No login link found
- Form submission error
- Redirect back to login
- Error message displayed

### signup

**Purpose**: Verify registration works

**Steps**:
1. Find signup/register link
2. Navigate to registration page
3. Fill required fields (name, email, password)
4. Submit registration
5. Verify account created (welcome page, confirmation)

**Test Data**:
- Name: Test User
- Email: `test-{timestamp}@example.com`
- Password: TestPassword123!

### checkout

**Purpose**: Verify purchase flow initiates

**Steps**:
1. Browse to find any product
2. Click add to cart button
3. Navigate to cart
4. Click checkout/proceed button
5. Verify checkout page loads

**Does NOT**:
- Complete payment (use `/stripe-test` for that)
- Fill payment details
- Submit orders

### navigation

**Purpose**: Verify site navigation works

**Steps**:
1. Identify main navigation (header menu)
2. List navigation items
3. Visit first 5 unique sections
4. Verify each page loads
5. Check for navigation back to home

**Checks**:
- All nav links work (no 404s)
- Pages have content
- No dead ends (can always navigate away)

### search

**Purpose**: Verify search works

**Steps**:
1. Find search input (header, sidebar, etc.)
2. Enter a generic search term ("test", "product", etc.)
3. Submit search
4. Verify results page loads
5. Click first result
6. Verify result page loads

**Checks**:
- Search is discoverable
- Results are returned
- Results are clickable

## Preset File Format

```json
{
  "name": "preset-name",
  "description": "What this preset tests",
  "defaultPersona": "persona-id",
  "tasks": [
    "First task description",
    "Second task description",
    "Third task description"
  ],
  "successCriteria": [
    "What indicates success",
    "Another success indicator"
  ],
  "timeout": 120,
  "testData": {
    "email": "test@example.com",
    "password": "testpassword123"
  }
}
```

## Execution Logic

### Task Execution

For each task in `tasks` array:

```
1. Announce task (unless --quiet)
2. Execute using persona's timing
3. Capture evidence:
   - Screenshot on success
   - Screenshot + error details on failure
4. Record status: PASS / FAIL / SKIP
5. If FAIL and not --continue-on-error: stop
```

### Status Determination

**PASS**: All success criteria met
**FAIL**: Any task fails or criteria unmet
**SKIP**: Step skipped due to earlier failure

### Timing

- Use persona's timing for realism
- In `--quiet` mode: minimal delays
- Timeout per step: 30 seconds default
- Total timeout: from preset's `timeout` field

## Report Format

### Standard Report

```markdown
# Smoke Test Report: [preset]

## Configuration
- **URL**: [url]
- **Preset**: [preset]
- **Persona**: [name] ([id])
- **Date**: [timestamp]

## Results

| Step | Status | Duration | Notes |
|------|--------|----------|-------|
| [Task 1] | PASS | 2.3s | - |
| [Task 2] | PASS | 1.8s | - |
| [Task 3] | FAIL | 5.0s | Element not found |

## Summary
- **Overall**: FAIL
- **Steps Passed**: 2/3
- **Duration**: 9.1s

## Failure Details

### Step 3: [Task 3]
- **Error**: Element not found
- **Expected**: Submit button visible
- **Actual**: Page showed error message

![Failure Screenshot](screenshots/smoke-fail-step3.png)

## Recommendations
1. Check if [specific element] exists on the page
2. Verify [specific functionality]
```

### Quiet Mode Report

```
Smoke Test: login @ https://example.com
Persona: busy-executive

[1/5] Find login.......... PASS (1.2s)
[2/5] Navigate............ PASS (0.8s)
[3/5] Enter credentials... PASS (2.1s)
[4/5] Submit form......... FAIL (5.0s)
      Error: Form validation failed

Result: FAIL (3/5 steps)
Duration: 9.1s
```

## Custom Presets

Users can create custom presets in `.claude/smoke-presets/`:

```
.claude/
└── smoke-presets/
    ├── onboarding.json
    ├── checkout-guest.json
    └── admin-login.json
```

### Loading Order

1. Check `.claude/smoke-presets/{preset}.json` (project custom)
2. Check `skills/smoke-testing/presets/{preset}.json` (built-in)
3. Error if not found

## Integration with Other Commands

### After Smoke Test

```bash
# If smoke test passes, run detailed testing
/smoke-test --url https://example.com --preset checkout --quiet
# If passed:
/user-test --url https://example.com --persona comparison-shopper --tasks "complete purchase" --stripe
```

### CI/CD Pipeline

```bash
# Run all smoke tests
/smoke-test --url $DEPLOY_URL --preset login --quiet
/smoke-test --url $DEPLOY_URL --preset navigation --quiet
/smoke-test --url $DEPLOY_URL --preset search --quiet

# If all pass, run full suite
/user-test --url $DEPLOY_URL --personas "genz-digital-native,boomer-tech-averse" --quiet
```

## Best Practices

1. **Run smoke tests first**: Before detailed testing
2. **Use appropriate presets**: Match preset to site type
3. **Custom presets for critical flows**: Define your must-work paths
4. **CI/CD integration**: Use `--quiet` for automation
5. **Don't over-test**: Smoke tests should be fast (<2 min each)
