11automation
v2.0.3
Published
Automation dashboard report uploader CLI
Readme
11automation CLI (Node.js)
A powerful CLI tool to seamlessly upload your automated test execution reports to the 11Automation Dashboard.
Features
Instant Report Upload Upload Playwright, PyTest, Cucumber, and Newman JSON reports directly to your dashboard.
Smart Tag Parsing Supports complex expressions like:
["@smoke and @wallet"]Flexible Authentication
- Token
- Environment Variable
- Email & Password (auto login)
Zero Coding Required Configure once and trigger from anywhere (local / CI/CD).
Installation
Install globally:
npm install -g 11automationQuick Start
1️Initialize Configuration
11automation initThis will create:
11automation/
└── config.jsonConfigure Your Project
Edit:
11automation/config.jsonExample:
{
"baseUrl": "https://app.11automation.com/api/v1/public",
"typeOfReport": "playwright",
"projectId": "YOUR_PROJECT_ID",
"file": "report.json",
"testEnv": "QA",
"testType": "WEB",
"tags": ["smoke", "regression"],
"browser": "chrome",
"browserVersion": "latest",
"iterationId": "Batch1",
"email": "your-email",
"password": "your-password"
}Upload Report
11automation startYour report will be uploaded to the dashboard.
Configuration Reference
| Parameter | Description | Default | | -------------- | -------------------------------------------- | ----------- | | baseUrl | API base URL | Required | | typeOfReport | pytest, cucumber, newman, playwright, normal | pytest | | projectId | Your project ID | Required | | file | Path to JSON report | report.json | | testEnv | QA / Staging / Prod | QA | | testType | WEB / API / MOBILE | WEB | | tags | Array of tags | ["smoke"] | | browser | Browser name | chrome | | browserVersion | Browser version | latest | | iterationId | Execution batch name | Batch1 | | token | API token | Optional | | email/password | Used for auto-login | Required |
Authentication Methods
1. Email & Password (Recommended)
{
"email": "your-email",
"password": "your-password"
}CLI automatically logs in and generates a token.
2. Token
{
"token": "YOUR_API_TOKEN"
}3. Environment Variable
Linux / Mac:
export DASHBOARD_TOKEN=YOUR_API_TOKENWindows:
set DASHBOARD_TOKEN=YOUR_API_TOKENTag Parsing Support
The CLI automatically normalizes tags:
| Input | Output | | ---------------------- | ----------------------- | | ["@smoke and @wallet"] | ["smoke", "wallet"] | | ["smoke, regression"] | ["smoke", "regression"] | | ["(checkout)"] | ["checkout"] |
File Support
- JSON report file required
- Supports relative and absolute paths
Common Issues
PowerShell Script Error (Windows)
running scripts is disabled on this systemFix:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser401 Unauthorized
- Do NOT use UI token
- Use email/password or backend token
File Not Found
Ensure file exists:
"file": "report.json"Update Package
npm install -g 11automation@latest --forceExample Flow
npm install -g 11automation
mkdir test-project
cd test-project
11automation init
# update config.json
11automation startNotes
- Config file is auto-created on init
- No manual setup required
- Works seamlessly in CI/CD pipelines
Author
PrimeQA Solutions
