lazyscout 0.5.0 → 0.6.1

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.
@@ -20,10 +20,18 @@
20
20
  <div lang="en" data-edition="en">
21
21
  <h1>LazyScout in five steps</h1>
22
22
  <p>Open the app, run your first website test, and connect the project to Codex on this computer.</p>
23
+ <p>
24
+ In the app, select <b>Help</b> and choose a task. Follow the light to each control, use <b>Next</b> to look
25
+ ahead, or press <b>Esc</b> to leave the walkthrough.
26
+ </p>
23
27
  </div>
24
28
  <div lang="th" data-edition="th" hidden>
25
29
  <h1>เริ่มใช้ LazyScout ใน 5 ขั้น</h1>
26
30
  <p>เปิดโปรแกรม ทดสอบเว็บครั้งแรก และเชื่อมโปรเจกต์กับ Codex บนเครื่องนี้</p>
31
+ <p>
32
+ ในแอป กด <b>ช่วยเหลือ</b> แล้วเลือกงานที่อยากทำ แตะปุ่มที่สว่างเพื่อลองใช้ หรือกด
33
+ <b>ถัดไป</b> เพื่อดูขั้นตอนต่อไป ออกจากคำแนะนำได้ด้วย <b>Esc</b>
34
+ </p>
27
35
  </div>
28
36
  </header>
29
37
 
@@ -38,12 +46,10 @@
38
46
  <div>
39
47
  <h2>Install and open LazyScout</h2>
40
48
  <p>
41
- <a href="https://nodejs.org/en/download">Install Node.js 20 or newer</a>. Open a terminal in the
42
- LazyScout source folder and run these commands one at a time.
49
+ <a href="https://nodejs.org/en/download">Install Node.js 20 or newer</a>. Open a terminal and run this
50
+ command to start LazyScout.
43
51
  </p>
44
- <pre><code>npm ci
45
- npm run build
46
- node apps/cli/dist/index.js</code></pre>
52
+ <pre><code>npx lazyscout@latest</code></pre>
47
53
  <p>
48
54
  Open the local URL printed in the terminal and keep the terminal running. If the browser needed for
49
55
  Scout is missing, run <code>npx playwright install chromium</code>.
@@ -54,6 +60,12 @@ node apps/cli/dist/index.js</code></pre>
54
60
  <div class="step-number" aria-hidden="true">2</div>
55
61
  <div>
56
62
  <h2>Open a project and choose Scout</h2>
63
+ <p>Use <b>ภาษาไทย</b> or <b>English</b> at the top of the project chooser to switch languages.</p>
64
+ <p>
65
+ Select a starting option in <b>New project</b>, check the project name and template (if selected), then
66
+ click <b>Create project</b>. In any project, use <b>Scout a website</b> next to <b>Help</b> to enter the
67
+ target URL and start scouting.
68
+ </p>
57
69
  <p>
58
70
  Click <b>New project</b> or open one you already have. Enter your target website URL. If AI Scout shows
59
71
  <b>Set project target</b>, click it to save the URL. For a protected site, go to
@@ -74,8 +86,19 @@ node apps/cli/dist/index.js</code></pre>
74
86
  </p>
75
87
  <p>
76
88
  On your first <b>Scout Site</b> run, choose <b>Current page only</b> and set <b>Test Case Language</b>.
77
- When the run finishes, open <b>Test Cases</b> to see the generated cases. Choose the adjacent
78
- <b>Page map</b> tab to preview a page or drag its saved cases into the run queue.
89
+ To observe clicks, choose <b>Entire site</b> or a section. Select a timeline step to see its HTML, page
90
+ changes and API requests. Reopen it in <b>Scout Log → Scout terminal</b>. When the run finishes, open
91
+ <b>Test Cases</b> to see the generated cases. Choose the adjacent <b>Page map</b> tab to preview a page
92
+ or drag its saved cases into the run queue.
93
+ </p>
94
+ <p>
95
+ To repeat Login, search <b>Test Cases</b>, open the case title and choose
96
+ <b>Open this case in the runner → Run this case</b>. To write your own, choose <b>Add Test Case</b>,
97
+ then add a page, fields, a button and a text check. Choose <b>Save and open runner → Run this case</b>.
98
+ </p>
99
+ <p>
100
+ In the live browser preview, click a control to inspect its HTML. Choose <b>Resume live preview</b> to
101
+ follow Scout again. On small screens, choose <b>Website preview</b>. Frames clear at the end of the run.
79
102
  </p>
80
103
  </div>
81
104
  </li>
@@ -222,12 +245,10 @@ node apps/cli/dist/index.js</code></pre>
222
245
  <div>
223
246
  <h2>ติดตั้งและเปิด LazyScout</h2>
224
247
  <p>
225
- <a href="https://nodejs.org/en/download">ติดตั้ง Node.js 20 ขึ้นไป</a> เปิด Terminal ในโฟลเดอร์ซอร์ส
226
- LazyScout แล้วรันทีละบรรทัด
248
+ <a href="https://nodejs.org/en/download">ติดตั้ง Node.js 20 ขึ้นไป</a> เปิด Terminal
249
+ แล้วรันคำสั่งนี้เพื่อเริ่มใช้ LazyScout
227
250
  </p>
228
- <pre><code>npm ci
229
- npm run build
230
- node apps/cli/dist/index.js</code></pre>
251
+ <pre><code>npx lazyscout@latest</code></pre>
231
252
  <p>
232
253
  เปิด URL ที่แสดงใน Terminal แล้วเปิด Terminal ค้างไว้ ถ้ายังไม่มีเบราว์เซอร์ที่ใช้กับ Scout ได้ ให้รัน
233
254
  <code>npx playwright install chromium</code>
@@ -238,6 +259,12 @@ node apps/cli/dist/index.js</code></pre>
238
259
  <div class="step-number" aria-hidden="true">2</div>
239
260
  <div>
240
261
  <h2>เปิดโปรเจกต์และเลือกโหมด</h2>
262
+ <p>กด <b>ภาษาไทย</b> หรือ <b>English</b> ที่ด้านบนของหน้าเลือกโปรเจกต์เพื่อเปลี่ยนภาษา</p>
263
+ <p>
264
+ กด <b>โปรเจกต์ใหม่</b> เลือกวิธีเริ่มต้น ตรวจชื่อโปรเจกต์และชื่อเทมเพลตที่เลือก แล้วกด
265
+ <b>สร้างโปรเจกต์</b> ทุกโปรเจกต์มีปุ่ม <b>สำรวจเว็บไซต์</b> ข้างปุ่ม <b>ช่วยเหลือ</b>
266
+ กดเพื่อใส่ URL แล้วเริ่มสำรวจ
267
+ </p>
241
268
  <p>
242
269
  กด <b>โปรเจกต์ใหม่</b> หรือเปิดโปรเจกต์เดิม แล้วใส่ URL ของเว็บที่จะทดสอบ ถ้าเห็นปุ่ม
243
270
  <b>ตั้งเว็บไซต์เป้าหมาย</b> ให้กดเพื่อบันทึก URL ถ้าเว็บต้องล็อกอิน ให้ไปที่
@@ -261,8 +288,20 @@ node apps/cli/dist/index.js</code></pre>
261
288
  <b>คิวทดสอบ</b> จากนั้นกด <b>ตรวจคิวและรัน</b> และ <b>รันเคสที่เลือก</b>
262
289
  </p>
263
290
  <p>
264
- ถ้าลอง <b>สำรวจเว็บไซต์</b> ครั้งแรก ให้เลือก <b>สำรวจหน้าเดียว</b> และตั้ง
265
- <b>ภาษาของเคสทดสอบ</b> รอให้สำรวจเสร็จ แล้วเปิด <b>เคสทดสอบ</b> เพื่อดูเคสที่สร้าง
291
+ หากต้องการดูการคลิก ให้เลือกสำรวจทั้งเว็บหรือเฉพาะส่วน แล้วเลือกขั้นตอนเพื่อดู HTML และ API
292
+ ย้อนดูภายหลังได้ที่ <b>บันทึกการสำรวจ → เทอร์มินัล Scout</b> ถ้าลอง <b>สำรวจเว็บไซต์</b> ครั้งแรก
293
+ ให้เลือก <b>สำรวจหน้าเดียว</b> และตั้ง <b>ภาษาของเคสทดสอบ</b> รอให้สำรวจเสร็จ แล้วเปิด
294
+ <b>เคสทดสอบ</b> เพื่อดูเคสที่สร้าง
295
+ </p>
296
+ <p>
297
+ ถ้าจะทดสอบ Login ซ้ำ ให้ค้นหาใน <b>เคสทดสอบ</b> กดชื่อเคส แล้วเลือก
298
+ <b>เปิดเคสนี้ในหน้ารัน → รันเฉพาะเคสนี้</b> ถ้าจะเขียนเอง ให้เพิ่มเคสแล้วเลือก
299
+ <b>เปิดหน้าเว็บ → กรอกข้อมูล → กดปุ่ม → ตรวจข้อความบนหน้า</b> แล้วกด
300
+ <b>บันทึกและเปิดหน้ารัน → รันเฉพาะเคสนี้</b>
301
+ </p>
302
+ <p>
303
+ กดปุ่มในภาพเว็บเพื่อค้างภาพและอ่าน HTML แล้วกด <b>กลับไปดูภาพล่าสุด</b> บนจอเล็กให้กด
304
+ <b>ภาพเว็บไซต์</b> ข้างเทอร์มินัล เมื่อจบการสำรวจระบบจะล้างภาพ
266
305
  </p>
267
306
  </div>
268
307
  </li>
@@ -6,8 +6,8 @@
6
6
  <link rel="icon" type="image/png" href="/lazyscout-icon-v2.png" />
7
7
  <link rel="apple-touch-icon" href="/lazyscout-icon-v2.png" />
8
8
  <title>LazyScout</title>
9
- <script type="module" crossorigin src="/assets/index-Ck4qpsiz.js"></script>
10
- <link rel="stylesheet" crossorigin href="/assets/index-D9Jx_eV9.css">
9
+ <script type="module" crossorigin src="/assets/index-DdONQDs_.js"></script>
10
+ <link rel="stylesheet" crossorigin href="/assets/index-DQ1C0Bhj.css">
11
11
  </head>
12
12
  <body>
13
13
  <div id="root"></div>
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lazyscout",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "description": "Local-first QA assistant for website exploration, test-case drafting, and Playwright/Cypress automation code generation.",
5
5
  "type": "module",
6
6
  "license": "MIT",