lazyscout 0.3.0 → 0.3.2
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/README.md +90 -90
- package/dist/index.js +724 -98
- package/dist/web/assets/index-BW_2EVmn.js +47 -0
- package/dist/web/assets/index-CSOY7Dj0.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +62 -62
- package/dist/web/assets/index-2zh7L5nF.js +0 -39
- package/dist/web/assets/index-mxlNJ1dB.css +0 -1
package/README.md
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
# LazyScout
|
|
2
|
-
|
|
3
|
-
LazyScout is a local-first QA assistant that explores web applications, drafts test cases, and generates automation code for Playwright and Cypress.
|
|
4
|
-
|
|
5
|
-
> Stop rewriting QA work.
|
|
6
|
-
|
|
7
|
-
## Quick Start
|
|
8
|
-
|
|
9
|
-
Requires Node.js 20 or newer and Chrome, Edge or Playwright Chromium.
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npx lazyscout@latest
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
LazyScout starts its UI on `http://localhost:4321` and opens it automatically.
|
|
16
|
-
|
|
17
|
-
If a supported browser is not installed:
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
npx playwright install chromium
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## CLI scan
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
npx lazyscout@latest scan http://localhost:5173
|
|
27
|
-
npx lazyscout@latest scan https://example.com --max-pages 10 --csv report.csv --json raw.json
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
| Option | Purpose |
|
|
31
|
-
| ----------------- | ------------------------------------------------------ |
|
|
32
|
-
| `--csv <file>` | CSV output path; defaults to `lazyscout-testcases.csv` |
|
|
33
|
-
| `--json <file>` | Optional raw exploration output |
|
|
34
|
-
| `--max-pages <n>` | Maximum pages; defaults to 20 |
|
|
35
|
-
| `--max-depth <n>` | Maximum same-origin link depth; defaults to 3 |
|
|
36
|
-
| `--port <n>` | Local UI port; defaults to 4321 |
|
|
37
|
-
| `--workspace <p>` | Project workspace; defaults to `~/LazyScout` |
|
|
38
|
-
| `--no-open` | Start without opening the browser |
|
|
39
|
-
|
|
40
|
-
The current CLI command is `scan`; there is no `analyze` command.
|
|
41
|
-
|
|
42
|
-
## Available Features
|
|
43
|
-
|
|
44
|
-
- Playwright website and form exploration
|
|
45
|
-
- UI control, visible dialog and interaction discovery
|
|
46
|
-
- English/Thai Draft Test Cases and Test Data
|
|
47
|
-
- Test Case review, folders, tags and requirement links
|
|
48
|
-
- CSV/XLSX/JSON import and CSV export
|
|
49
|
-
- Screenshot OCR-assisted import
|
|
50
|
-
- Playwright and Cypress code generation
|
|
51
|
-
- Local Playwright execution with restricted statements, logs and explicit `page.screenshot()` evidence
|
|
52
|
-
- Safe GET/HEAD/OPTIONS API checks
|
|
53
|
-
- Bug Reports with ZIP evidence export
|
|
54
|
-
- HTML/PDF Test Summary
|
|
55
|
-
- Confirmed local GET load test
|
|
56
|
-
|
|
57
|
-
Cypress is code generation only; the built-in local runner uses Playwright.
|
|
58
|
-
|
|
59
|
-
## Local-first Data
|
|
60
|
-
|
|
61
|
-
Browser automation runs on your machine. LazyScout creates `~/LazyScout` before opening the UI and stores each Project's JSON, CSV, automation, screenshots, Bug Reports, reports and logs there. Use `--workspace <path>` to override it. Credentials entered in Project Settings stay in memory for the current tab and are cleared on refresh.
|
|
62
|
-
|
|
63
|
-
Version Center contacts npm Registry to check available releases. LazyScout has no hosted account or Project database in the current version.
|
|
64
|
-
|
|
65
|
-
## Safety
|
|
66
|
-
|
|
67
|
-
Scouting is same-origin, follows links and blocks destructive labels. Edited automation is interpreted through a Playwright statement whitelist; it is not executed as arbitrary JavaScript or shell source.
|
|
68
|
-
|
|
69
|
-
> Never commit real test credentials, production data, browser authentication state, Playwright traces, screenshots, HAR files, or API dumps containing sensitive information.
|
|
70
|
-
|
|
71
|
-
> Use synthetic test data whenever possible.
|
|
72
|
-
|
|
73
|
-
> Review generated test cases and automation code before executing them against critical environments.
|
|
74
|
-
|
|
75
|
-
Generated Test Cases are drafts, not a replacement for QA judgment. Use DEV, UAT, sandbox or another authorized test environment before production.
|
|
76
|
-
|
|
77
|
-
## Documentation
|
|
78
|
-
|
|
79
|
-
- [GitHub repository](https://github.com/nowaa2/lazyscout)
|
|
80
|
-
- [Security policy](https://github.com/nowaa2/lazyscout/blob/main/SECURITY.md)
|
|
81
|
-
- [Thai README](https://github.com/nowaa2/lazyscout/blob/main/README_TH.md)
|
|
82
|
-
- [Issue tracker](https://github.com/nowaa2/lazyscout/issues)
|
|
83
|
-
|
|
84
|
-
## Author
|
|
85
|
-
|
|
86
|
-
Created by **nowzaa** — [GitHub profile](https://github.com/nowaa2)
|
|
87
|
-
|
|
88
|
-
## License
|
|
89
|
-
|
|
90
|
-
MIT
|
|
1
|
+
# LazyScout
|
|
2
|
+
|
|
3
|
+
LazyScout is a local-first QA assistant that explores web applications, drafts test cases, and generates automation code for Playwright and Cypress.
|
|
4
|
+
|
|
5
|
+
> Stop rewriting QA work.
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
Requires Node.js 20 or newer and Chrome, Edge or Playwright Chromium.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx lazyscout@latest
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
LazyScout starts its UI on `http://localhost:4321` and opens it automatically.
|
|
16
|
+
|
|
17
|
+
If a supported browser is not installed:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx playwright install chromium
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## CLI scan
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npx lazyscout@latest scan http://localhost:5173
|
|
27
|
+
npx lazyscout@latest scan https://example.com --max-pages 10 --csv report.csv --json raw.json
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
| Option | Purpose |
|
|
31
|
+
| ----------------- | ------------------------------------------------------ |
|
|
32
|
+
| `--csv <file>` | CSV output path; defaults to `lazyscout-testcases.csv` |
|
|
33
|
+
| `--json <file>` | Optional raw exploration output |
|
|
34
|
+
| `--max-pages <n>` | Maximum pages; defaults to 20 |
|
|
35
|
+
| `--max-depth <n>` | Maximum same-origin link depth; defaults to 3 |
|
|
36
|
+
| `--port <n>` | Local UI port; defaults to 4321 |
|
|
37
|
+
| `--workspace <p>` | Project workspace; defaults to `~/LazyScout` |
|
|
38
|
+
| `--no-open` | Start without opening the browser |
|
|
39
|
+
|
|
40
|
+
The current CLI command is `scan`; there is no `analyze` command.
|
|
41
|
+
|
|
42
|
+
## Available Features
|
|
43
|
+
|
|
44
|
+
- Playwright website and form exploration
|
|
45
|
+
- UI control, visible dialog and interaction discovery
|
|
46
|
+
- English/Thai Draft Test Cases and Test Data
|
|
47
|
+
- Test Case review, folders, tags and requirement links
|
|
48
|
+
- CSV/XLSX/JSON import and CSV export
|
|
49
|
+
- Screenshot OCR-assisted import
|
|
50
|
+
- Playwright and Cypress code generation
|
|
51
|
+
- Local Playwright execution with restricted statements, logs and explicit `page.screenshot()` evidence
|
|
52
|
+
- Safe GET/HEAD/OPTIONS API checks
|
|
53
|
+
- Bug Reports with ZIP evidence export
|
|
54
|
+
- HTML/PDF Test Summary
|
|
55
|
+
- Confirmed local GET load test
|
|
56
|
+
|
|
57
|
+
Cypress is code generation only; the built-in local runner uses Playwright.
|
|
58
|
+
|
|
59
|
+
## Local-first Data
|
|
60
|
+
|
|
61
|
+
Browser automation runs on your machine. LazyScout creates `~/LazyScout` before opening the UI and stores each Project's JSON, CSV, automation, screenshots, Bug Reports, reports and logs there. Use `--workspace <path>` to override it. Credentials entered in Project Settings stay in memory for the current tab and are cleared on refresh.
|
|
62
|
+
|
|
63
|
+
Version Center contacts npm Registry to check available releases. LazyScout has no hosted account or Project database in the current version.
|
|
64
|
+
|
|
65
|
+
## Safety
|
|
66
|
+
|
|
67
|
+
Scouting is same-origin, follows links and blocks destructive labels. Edited automation is interpreted through a Playwright statement whitelist; it is not executed as arbitrary JavaScript or shell source.
|
|
68
|
+
|
|
69
|
+
> Never commit real test credentials, production data, browser authentication state, Playwright traces, screenshots, HAR files, or API dumps containing sensitive information.
|
|
70
|
+
|
|
71
|
+
> Use synthetic test data whenever possible.
|
|
72
|
+
|
|
73
|
+
> Review generated test cases and automation code before executing them against critical environments.
|
|
74
|
+
|
|
75
|
+
Generated Test Cases are drafts, not a replacement for QA judgment. Use DEV, UAT, sandbox or another authorized test environment before production.
|
|
76
|
+
|
|
77
|
+
## Documentation
|
|
78
|
+
|
|
79
|
+
- [GitHub repository](https://github.com/nowaa2/lazyscout)
|
|
80
|
+
- [Security policy](https://github.com/nowaa2/lazyscout/blob/main/SECURITY.md)
|
|
81
|
+
- [Thai README](https://github.com/nowaa2/lazyscout/blob/main/README_TH.md)
|
|
82
|
+
- [Issue tracker](https://github.com/nowaa2/lazyscout/issues)
|
|
83
|
+
|
|
84
|
+
## Author
|
|
85
|
+
|
|
86
|
+
Created by **nowzaa** — [GitHub profile](https://github.com/nowaa2)
|
|
87
|
+
|
|
88
|
+
## License
|
|
89
|
+
|
|
90
|
+
MIT
|