form-tester 0.10.2 → 0.10.3

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.
@@ -71,8 +71,9 @@ IMPORTANT: Each prompt below MUST be asked as a separate message to the user. Wa
71
71
  4. Only after receiving answers to all prompts, proceed with the steps below.
72
72
 
73
73
  Step 1 — Open and setup:
74
+ If the user gives a partial URL (e.g. `skjemautfyller/SLV-PasRapp-2020`), read `form-tester.config.json` to get `baseUrl` and `pnr`. Construct the full URL as `{baseUrl}/{path}?pnr={pnr}`. Do NOT guess the domain.
74
75
  ```
75
- form-tester test <url> --auto --pnr <pnr> --persona <id> --scenario "<text>"
76
+ form-tester test <full-url> --auto --pnr <pnr> --persona <id> --scenario "<text>"
76
77
  ```
77
78
 
78
79
  Step 2 — Dismiss cookies:
@@ -15,12 +15,15 @@ form-tester install
15
15
  When the user gives you a form URL to test, execute ALL steps below in sequence WITHOUT stopping to ask. Do not ask "want me to continue?" — just do the entire flow.
16
16
 
17
17
  ### Step 1 — Start the test
18
+
19
+ If the user gives a partial URL (e.g. `skjemautfyller/SLV-PasRapp-2020`), read `form-tester.config.json` first to get `baseUrl` and `pnr`. Construct the full URL as `{baseUrl}/{partial-path}?pnr={pnr}`. Do NOT guess the domain — always use `baseUrl` from config.
20
+
18
21
  ```bash
19
- form-tester test <url> --auto
22
+ form-tester test <full-url> --auto
20
23
  ```
21
24
  Or with options:
22
25
  ```bash
23
- form-tester test <url> --auto --pnr 12345 --persona ung-mann --scenario "test validation"
26
+ form-tester test <full-url> --auto --pnr 12345 --persona ung-mann --scenario "test validation"
24
27
  ```
25
28
 
26
29
  ### Step 2 — Dismiss cookies
package/form-tester.js CHANGED
@@ -7,7 +7,7 @@ const { spawn, execSync } = require("child_process");
7
7
  const CONFIG_PATH = path.join(process.cwd(), "form-tester.config.json");
8
8
  const OUTPUT_BASE = path.resolve(process.cwd(), "output");
9
9
  const ISSUES_PATH = path.join(OUTPUT_BASE, "issues.jsonl");
10
- const LOCAL_VERSION = "0.10.2";
10
+ const LOCAL_VERSION = "0.10.3";
11
11
  const RECOMMENDED_PERSON = "Uromantisk Direktør";
12
12
 
13
13
  // Recording — persisted to disk so `form-tester exec` can append across processes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "form-tester",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "AI-powered form testing skill for /skjemautfyller forms using Playwright CLI. Works with Claude Code and GitHub Copilot.",
5
5
  "main": "form-tester.js",
6
6
  "bin": {