Licensing Launch Smoke Test (Gate)
Run on staging with production-like URLs immediately before CodeCanyon ZIP upload. All steps must pass.
Overview
This smoke gate validates Setup Wizard, trial/activate, heartbeat, revoke lock, and re-verify before packaging a buyer ZIP. Pair with Licensing QA Checklist for full coverage.
Automated gate (CI)
GitHub Actions
On every PR/push, GitHub Actions runs
dotnet test --filter Category=LicensingSmoke
((LicensingLaunchSmokeGateTests).
Release builds also run Validate-ReleaseLicensing.ps1 -Strict and
tools/Build-CodeCanyonZip.ps1.
Pre-flight
Before manual smoke
tools/Validate-ReleaseLicensing.ps1 -Strictpasses (ProductSlug set, ApiKey/HmacSecret not placeholders).- CognitiveCircle: Admin → Licensed Products → CognitixERP row (slug
cognitix-erp, ItemId, active). - ERP staging:
ASPNETCORE_ENVIRONMENT=Production,SkipInDevelopment: falsefor real activate test.
Smoke sequence (~30–45 min)
- Fresh install — extract ZIP, run API + WebApp, open
/setup. - Step 1 — SQL server + your database name + URLs → Continue (“Preparing your database…” 3–8 min → Step 2).
- Step 2 — Create admin (strong password) → login test.
- Step 3 — Trial (Production env) → CognitiveCircle Trial row; OR Development + SkipInDevelopment for local dev only.
- Step 3 — Activate (second staging install or reset DB): real purchase code → Active, Regular/Extended on License page,
LicensedItemIdin DB. - WebApp config — copy/download JSON →
wwwroot/appsettings.jsonbefore publish test. - Heartbeat — wait or trigger API restart; CognitiveCircle LastHeartbeatAt updates (with license JWT on non-Development CC).
- Admin revoke — CC Inactive/Revoked → ERP locks on next heartbeat or Re-verify (not 72h grace).
- Re-verify — Settings → License → Re-verify succeeds.
- Lock check — backdate TrialEndsAt → only License page accessible.
Sign-off
| Date | |
| Item ID | |
| Staging URLs (WebApp / API / CC) | |
| Fresh install (Step 1–3 + login) | ☐ PASS |
| Real activate (Production env) | ☐ PASS |
| Admin revoke → ERP lock | ☐ PASS |
| Tester | |
| Result | ☐ PASS — ready for ZIP upload |
Please Contact us
- Sign up at https://cognitivebd.com
- Create a Support Ticket.
- Within 48hr we will reply.
- WhatsApp: +18632279760
Licensing Smoke Test