lazyscout 0.5.0 → 0.6.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.
@@ -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,7 @@ 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>
57
64
  <p>
58
65
  Click <b>New project</b> or open one you already have. Enter your target website URL. If AI Scout shows
59
66
  <b>Set project target</b>, click it to save the URL. For a protected site, go to
@@ -74,8 +81,19 @@ node apps/cli/dist/index.js</code></pre>
74
81
  </p>
75
82
  <p>
76
83
  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.
84
+ To observe clicks, choose <b>Entire site</b> or a section. Select a timeline step to see its HTML, page
85
+ changes and API requests. Reopen it in <b>Scout Log → Scout terminal</b>. When the run finishes, open
86
+ <b>Test Cases</b> to see the generated cases. Choose the adjacent <b>Page map</b> tab to preview a page
87
+ or drag its saved cases into the run queue.
88
+ </p>
89
+ <p>
90
+ To repeat Login, search <b>Test Cases</b>, open the case title and choose
91
+ <b>Open this case in the runner → Run this case</b>. To write your own, choose <b>Add Test Case</b>,
92
+ then add a page, fields, a button and a text check. Choose <b>Save and open runner → Run this case</b>.
93
+ </p>
94
+ <p>
95
+ In the live browser preview, click a control to inspect its HTML. Choose <b>Resume live preview</b> to
96
+ follow Scout again. On small screens, choose <b>Website preview</b>. Frames clear at the end of the run.
79
97
  </p>
80
98
  </div>
81
99
  </li>
@@ -222,12 +240,10 @@ node apps/cli/dist/index.js</code></pre>
222
240
  <div>
223
241
  <h2>ติดตั้งและเปิด LazyScout</h2>
224
242
  <p>
225
- <a href="https://nodejs.org/en/download">ติดตั้ง Node.js 20 ขึ้นไป</a> เปิด Terminal ในโฟลเดอร์ซอร์ส
226
- LazyScout แล้วรันทีละบรรทัด
243
+ <a href="https://nodejs.org/en/download">ติดตั้ง Node.js 20 ขึ้นไป</a> เปิด Terminal
244
+ แล้วรันคำสั่งนี้เพื่อเริ่มใช้ LazyScout
227
245
  </p>
228
- <pre><code>npm ci
229
- npm run build
230
- node apps/cli/dist/index.js</code></pre>
246
+ <pre><code>npx lazyscout@latest</code></pre>
231
247
  <p>
232
248
  เปิด URL ที่แสดงใน Terminal แล้วเปิด Terminal ค้างไว้ ถ้ายังไม่มีเบราว์เซอร์ที่ใช้กับ Scout ได้ ให้รัน
233
249
  <code>npx playwright install chromium</code>
@@ -238,6 +254,7 @@ node apps/cli/dist/index.js</code></pre>
238
254
  <div class="step-number" aria-hidden="true">2</div>
239
255
  <div>
240
256
  <h2>เปิดโปรเจกต์และเลือกโหมด</h2>
257
+ <p>กด <b>ภาษาไทย</b> หรือ <b>English</b> ที่ด้านบนของหน้าเลือกโปรเจกต์เพื่อเปลี่ยนภาษา</p>
241
258
  <p>
242
259
  กด <b>โปรเจกต์ใหม่</b> หรือเปิดโปรเจกต์เดิม แล้วใส่ URL ของเว็บที่จะทดสอบ ถ้าเห็นปุ่ม
243
260
  <b>ตั้งเว็บไซต์เป้าหมาย</b> ให้กดเพื่อบันทึก URL ถ้าเว็บต้องล็อกอิน ให้ไปที่
@@ -261,8 +278,20 @@ node apps/cli/dist/index.js</code></pre>
261
278
  <b>คิวทดสอบ</b> จากนั้นกด <b>ตรวจคิวและรัน</b> และ <b>รันเคสที่เลือก</b>
262
279
  </p>
263
280
  <p>
264
- ถ้าลอง <b>สำรวจเว็บไซต์</b> ครั้งแรก ให้เลือก <b>สำรวจหน้าเดียว</b> และตั้ง
265
- <b>ภาษาของเคสทดสอบ</b> รอให้สำรวจเสร็จ แล้วเปิด <b>เคสทดสอบ</b> เพื่อดูเคสที่สร้าง
281
+ หากต้องการดูการคลิก ให้เลือกสำรวจทั้งเว็บหรือเฉพาะส่วน แล้วเลือกขั้นตอนเพื่อดู HTML และ API
282
+ ย้อนดูภายหลังได้ที่ <b>บันทึกการสำรวจ → เทอร์มินัล Scout</b> ถ้าลอง <b>สำรวจเว็บไซต์</b> ครั้งแรก
283
+ ให้เลือก <b>สำรวจหน้าเดียว</b> และตั้ง <b>ภาษาของเคสทดสอบ</b> รอให้สำรวจเสร็จ แล้วเปิด
284
+ <b>เคสทดสอบ</b> เพื่อดูเคสที่สร้าง
285
+ </p>
286
+ <p>
287
+ ถ้าจะทดสอบ Login ซ้ำ ให้ค้นหาใน <b>เคสทดสอบ</b> กดชื่อเคส แล้วเลือก
288
+ <b>เปิดเคสนี้ในหน้ารัน → รันเฉพาะเคสนี้</b> ถ้าจะเขียนเอง ให้เพิ่มเคสแล้วเลือก
289
+ <b>เปิดหน้าเว็บ → กรอกข้อมูล → กดปุ่ม → ตรวจข้อความบนหน้า</b> แล้วกด
290
+ <b>บันทึกและเปิดหน้ารัน → รันเฉพาะเคสนี้</b>
291
+ </p>
292
+ <p>
293
+ กดปุ่มในภาพเว็บเพื่อค้างภาพและอ่าน HTML แล้วกด <b>กลับไปดูภาพล่าสุด</b> บนจอเล็กให้กด
294
+ <b>ภาพเว็บไซต์</b> ข้างเทอร์มินัล เมื่อจบการสำรวจระบบจะล้างภาพ
266
295
  </p>
267
296
  </div>
268
297
  </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-OVt6riDi.js"></script>
10
+ <link rel="stylesheet" crossorigin href="/assets/index-BOBTrs1j.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.0",
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",