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.
Files changed (60) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +214 -0
  3. package/data/domains/_default.yml +167 -0
  4. package/data/domains/ecommerce.yml +198 -0
  5. package/data/domains/fintech.yml +207 -0
  6. package/data/domains/marketing.yml +202 -0
  7. package/data/domains/saas.yml +206 -0
  8. package/data/knowledge/changelog.yml +75 -0
  9. package/data/knowledge/custom/.gitkeep +0 -0
  10. package/data/knowledge/learned-patterns.md +40 -0
  11. package/data/knowledge/manifest.yml +141 -0
  12. package/data/knowledge/releases/v0.1.0/entries/checklist-accessibility-wcag.yml +326 -0
  13. package/data/knowledge/releases/v0.1.0/entries/heuristic-few-hiccupps.yml +194 -0
  14. package/data/knowledge/releases/v0.1.0/entries/heuristic-goldilocks.yml +143 -0
  15. package/data/knowledge/releases/v0.1.0/entries/heuristic-rcrcrc.yml +207 -0
  16. package/data/knowledge/releases/v0.1.0/entries/heuristic-sfdipot.yml +171 -0
  17. package/data/knowledge/releases/v0.1.0/entries/heuristic-test-tours.yml +253 -0
  18. package/data/knowledge/releases/v0.1.0/entries/reference-exploratory-testing-types.yml +84 -0
  19. package/data/knowledge/releases/v0.1.0/entries/reference-heuristic-praxis.yml +95 -0
  20. package/data/knowledge/releases/v0.1.0/entries/technique-boundary-testing.yml +203 -0
  21. package/data/knowledge/releases/v0.1.0/entries/technique-business-logic-race-conditions.yml +146 -0
  22. package/data/knowledge/releases/v0.1.0/entries/technique-data-integrity-testing.yml +269 -0
  23. package/data/knowledge/releases/v0.1.0/entries/technique-error-guessing.yml +216 -0
  24. package/data/knowledge/releases/v0.1.0/entries/technique-risk-based-testing.yml +298 -0
  25. package/data/knowledge/releases/v0.1.0/release.yml +22 -0
  26. package/data/targets/_default.yml +11 -0
  27. package/data/targets/testers-ai.yml +14 -0
  28. package/data/templates/bug-report.md +178 -0
  29. package/data/templates/coverage-map.md +70 -0
  30. package/data/templates/session-charter.md +77 -0
  31. package/data/templates/session-report.md +112 -0
  32. package/dist/cli/index.d.ts +1 -0
  33. package/dist/cli/index.js +1757 -0
  34. package/dist/cli/index.js.map +1 -0
  35. package/dist/index.d.ts +899 -0
  36. package/dist/index.js +1133 -0
  37. package/dist/index.js.map +1 -0
  38. package/docs/GETTING-STARTED.md +265 -0
  39. package/package.json +70 -0
  40. package/skills/qa-explore/SKILL.md +70 -0
  41. package/skills/qa-explore/phases/00-setup.md +96 -0
  42. package/skills/qa-explore/phases/01-auth.md +34 -0
  43. package/skills/qa-explore/phases/02-charter.md +112 -0
  44. package/skills/qa-explore/phases/03-discovery.md +49 -0
  45. package/skills/qa-explore/phases/04-journeys.md +51 -0
  46. package/skills/qa-explore/phases/05-features.md +55 -0
  47. package/skills/qa-explore/phases/06-edge-cases.md +69 -0
  48. package/skills/qa-explore/phases/07-reporting.md +162 -0
  49. package/skills/qa-explore/references/context-integration.md +44 -0
  50. package/skills/qa-explore/references/security-rules.md +43 -0
  51. package/skills/qa-explore/references/session-rules.md +33 -0
  52. package/skills/qa-explore/references/severity-guide.md +14 -0
  53. package/skills/qa-explore-cleanup/SKILL.md +39 -0
  54. package/skills/qa-explore-feedback/SKILL.md +73 -0
  55. package/skills/qa-explore-quick/SKILL.md +80 -0
  56. package/skills/qa-explore-report/SKILL.md +62 -0
  57. package/skills/qa-gather/SKILL.md +198 -0
  58. package/skills/qa-knowledge-add/SKILL.md +91 -0
  59. package/skills/qa-knowledge-list/SKILL.md +54 -0
  60. 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>`