Quick Start
Just tell Paragon what to test:How It Works
- Describe the test in natural language
- Paragon generates Playwright tests and saves a scenario to
paragon.json - View results with video recordings, tracing, and screenshots
Running Saved Tests
Once a scenario is saved, run it anytime:paragon test
Run exported Playwright E2E tests locally from the terminal. This command wraps npx playwright test with your paragon-tests/ configuration and handles authentication with Polarity for AI-powered test steps.
Prerequisites
Before runningparagon test, make sure:
- You’re authenticated — run
paragon auth loginif you haven’t already. AI-powered test steps require a valid Polarity session. - You have a
paragon-tests/directory in your project root containing aplaywright.config.ts. Export your tests from the Paragon Dashboard to generate this directory. - Playwright is available — the command runs via
npx, so Playwright will be resolved from your project’snode_modulesor fetched automatically.
Basic Usage
[file-pattern] argument accepts one or more file paths or glob patterns. When omitted, all tests in the paragon-tests/ directory are run.
Flags
Examples
Running Against Production
Use the--url flag to point tests at a deployed environment:
PARAGON_TEST_URL environment variable instead of passing --url each time:
--url is provided, it takes precedence over the env var.
Default Playwright Configuration
Exported tests come with a pre-configuredplaywright.config.ts that includes sensible defaults:
Test results including videos, traces, and screenshots are written to a
test-results/ directory.

