qualiow-exploratory-testing 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +214 -0
- package/data/domains/_default.yml +167 -0
- package/data/domains/ecommerce.yml +198 -0
- package/data/domains/fintech.yml +207 -0
- package/data/domains/marketing.yml +202 -0
- package/data/domains/saas.yml +206 -0
- package/data/knowledge/changelog.yml +75 -0
- package/data/knowledge/custom/.gitkeep +0 -0
- package/data/knowledge/learned-patterns.md +40 -0
- package/data/knowledge/manifest.yml +141 -0
- package/data/knowledge/releases/v0.1.0/entries/checklist-accessibility-wcag.yml +326 -0
- package/data/knowledge/releases/v0.1.0/entries/heuristic-few-hiccupps.yml +194 -0
- package/data/knowledge/releases/v0.1.0/entries/heuristic-goldilocks.yml +143 -0
- package/data/knowledge/releases/v0.1.0/entries/heuristic-rcrcrc.yml +207 -0
- package/data/knowledge/releases/v0.1.0/entries/heuristic-sfdipot.yml +171 -0
- package/data/knowledge/releases/v0.1.0/entries/heuristic-test-tours.yml +253 -0
- package/data/knowledge/releases/v0.1.0/entries/reference-exploratory-testing-types.yml +84 -0
- package/data/knowledge/releases/v0.1.0/entries/reference-heuristic-praxis.yml +95 -0
- package/data/knowledge/releases/v0.1.0/entries/technique-boundary-testing.yml +203 -0
- package/data/knowledge/releases/v0.1.0/entries/technique-business-logic-race-conditions.yml +146 -0
- package/data/knowledge/releases/v0.1.0/entries/technique-data-integrity-testing.yml +269 -0
- package/data/knowledge/releases/v0.1.0/entries/technique-error-guessing.yml +216 -0
- package/data/knowledge/releases/v0.1.0/entries/technique-risk-based-testing.yml +298 -0
- package/data/knowledge/releases/v0.1.0/release.yml +22 -0
- package/data/targets/_default.yml +11 -0
- package/data/targets/testers-ai.yml +14 -0
- package/data/templates/bug-report.md +178 -0
- package/data/templates/coverage-map.md +70 -0
- package/data/templates/session-charter.md +77 -0
- package/data/templates/session-report.md +112 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +1757 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/index.d.ts +899 -0
- package/dist/index.js +1133 -0
- package/dist/index.js.map +1 -0
- package/docs/GETTING-STARTED.md +265 -0
- package/package.json +70 -0
- package/skills/qa-explore/SKILL.md +70 -0
- package/skills/qa-explore/phases/00-setup.md +96 -0
- package/skills/qa-explore/phases/01-auth.md +34 -0
- package/skills/qa-explore/phases/02-charter.md +112 -0
- package/skills/qa-explore/phases/03-discovery.md +49 -0
- package/skills/qa-explore/phases/04-journeys.md +51 -0
- package/skills/qa-explore/phases/05-features.md +55 -0
- package/skills/qa-explore/phases/06-edge-cases.md +69 -0
- package/skills/qa-explore/phases/07-reporting.md +162 -0
- package/skills/qa-explore/references/context-integration.md +44 -0
- package/skills/qa-explore/references/security-rules.md +43 -0
- package/skills/qa-explore/references/session-rules.md +33 -0
- package/skills/qa-explore/references/severity-guide.md +14 -0
- package/skills/qa-explore-cleanup/SKILL.md +39 -0
- package/skills/qa-explore-feedback/SKILL.md +73 -0
- package/skills/qa-explore-quick/SKILL.md +80 -0
- package/skills/qa-explore-report/SKILL.md +62 -0
- package/skills/qa-gather/SKILL.md +198 -0
- package/skills/qa-knowledge-add/SKILL.md +91 -0
- package/skills/qa-knowledge-list/SKILL.md +54 -0
- package/skills/qa-target-setup/SKILL.md +106 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qa-target-setup
|
|
3
|
+
description: >
|
|
4
|
+
Interactive setup for a new target application. Navigates to the URL, detects auth requirements,
|
|
5
|
+
walks through login flow creation, auto-detects scope, and saves target config.
|
|
6
|
+
Use when user says: "setup target", "add target", "configure app", "new target".
|
|
7
|
+
allowed-tools: Bash(playwright-cli:*), Bash(npx playwright-cli:*), Read, Write, Glob, Grep
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Target Application Setup
|
|
11
|
+
|
|
12
|
+
Interactive wizard to create a new target config in `data/targets/`.
|
|
13
|
+
|
|
14
|
+
## Flow
|
|
15
|
+
|
|
16
|
+
### 1. Gather Basic Info
|
|
17
|
+
|
|
18
|
+
Ask user for:
|
|
19
|
+
- **Target name** (slug for filename, e.g., "company-staging")
|
|
20
|
+
- **Base URL** (e.g., "https://staging.company.com")
|
|
21
|
+
- **Domain type** (ecommerce, saas, fintech, marketing, or auto-detect)
|
|
22
|
+
|
|
23
|
+
### 2. Navigate and Analyze
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
playwright-cli open <base_url>
|
|
27
|
+
playwright-cli snapshot
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
From the snapshot, detect:
|
|
31
|
+
- Is this a login page? (look for password fields, "Sign in" buttons)
|
|
32
|
+
- What's the main navigation structure?
|
|
33
|
+
- What kind of application is this? (helps auto-detect domain)
|
|
34
|
+
|
|
35
|
+
### 3. Handle Authentication
|
|
36
|
+
|
|
37
|
+
**If no login detected:**
|
|
38
|
+
- Set `auth.strategy: none`
|
|
39
|
+
- Skip to step 4
|
|
40
|
+
|
|
41
|
+
**If login detected:**
|
|
42
|
+
|
|
43
|
+
Ask user which auth strategy to use:
|
|
44
|
+
|
|
45
|
+
**Option A: Storage State (recommended)**
|
|
46
|
+
1. Ask user to provide env var names for credentials
|
|
47
|
+
2. Login via playwright-cli:
|
|
48
|
+
```bash
|
|
49
|
+
playwright-cli snapshot # Find form fields
|
|
50
|
+
playwright-cli fill <email_ref> "$<username_env>"
|
|
51
|
+
playwright-cli fill <password_ref> "$<password_env>"
|
|
52
|
+
playwright-cli click <submit_ref>
|
|
53
|
+
```
|
|
54
|
+
3. Verify login succeeded (snapshot shows dashboard/profile)
|
|
55
|
+
4. Save state: `playwright-cli state-save .auth/<target-name>.json`
|
|
56
|
+
5. Set `auth.strategy: storage_state` with `state_file: ".auth/<target-name>.json"`
|
|
57
|
+
|
|
58
|
+
**Option B: Token**
|
|
59
|
+
1. Ask for token env var name and injection method (cookie/localStorage)
|
|
60
|
+
2. Set `auth.strategy: token`
|
|
61
|
+
|
|
62
|
+
### 4. Detect Scope
|
|
63
|
+
|
|
64
|
+
After login (or on the landing page):
|
|
65
|
+
```bash
|
|
66
|
+
playwright-cli snapshot
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
From the snapshot, identify:
|
|
70
|
+
- Top-level navigation sections → suggest as `start_pages`
|
|
71
|
+
- Suggest `include_patterns` based on URL structure
|
|
72
|
+
- Suggest `exclude_patterns` for common exclusions (/admin, /api, *.pdf)
|
|
73
|
+
|
|
74
|
+
Ask user to confirm/modify scope.
|
|
75
|
+
|
|
76
|
+
### 5. Configure Browser Settings
|
|
77
|
+
|
|
78
|
+
Suggest defaults:
|
|
79
|
+
- `headless: false` (so user can watch)
|
|
80
|
+
- `viewport: { width: 1280, height: 720 }`
|
|
81
|
+
- Ask if mobile testing is needed (add device emulation)
|
|
82
|
+
|
|
83
|
+
### 6. Safety Settings
|
|
84
|
+
|
|
85
|
+
Ask if this is a production environment:
|
|
86
|
+
- If yes: set `safety.read_only: true`, `safety.no_form_submit: true`
|
|
87
|
+
- If no: no safety restrictions
|
|
88
|
+
|
|
89
|
+
### 7. Save Config
|
|
90
|
+
|
|
91
|
+
Write `data/targets/<target-name>.yml` with all gathered configuration.
|
|
92
|
+
|
|
93
|
+
Close browser:
|
|
94
|
+
```bash
|
|
95
|
+
playwright-cli close
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Update `.env.example` with any new env var names.
|
|
99
|
+
|
|
100
|
+
### 8. Confirm
|
|
101
|
+
|
|
102
|
+
Present the saved config to user:
|
|
103
|
+
- Target name and URL
|
|
104
|
+
- Auth strategy configured
|
|
105
|
+
- Scope defined
|
|
106
|
+
- How to use: `/qa-explore --target <target-name>`
|