explorbot 0.1.23 → 0.1.24

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "explorbot",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "CLI app built with React Ink, CodeceptJS, and Playwright",
5
5
  "license": "Elastic-2.0",
6
6
  "type": "module",
@@ -668,7 +668,7 @@ export class Tester extends TaskAgent {
668
668
  - When filling complex form with lot of actions performed, use see() to look which fields were filled and which are not
669
669
  - When verify() fails, use see() to visually confirm the result — visual confirmation is equally valid evidence
670
670
  - For visual state verification (active tabs, selected items, counts, colors), prefer see() over DOM-based verify()
671
- - When click() fails and element is visually present, use visualClick() as fallback
671
+ - When click() fails on an element you can see — or believe is there but may look different — you MUST try visualClick() before giving up; don't repeat visualClick in a row
672
672
  - If you land on a "Not Found", 404, or error page that is NOT part of the scenario, call reset() immediately to return to the initial page and try again
673
673
  - If you see a server error page (500, 503, etc.), record it with record({ notes: ["Server error on /path"], status: "fail" }) and call reset() to continue testing
674
674
  </rules>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "explorbot",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "CLI app built with React Ink, CodeceptJS, and Playwright",
5
5
  "license": "Elastic-2.0",
6
6
  "type": "module",
package/src/ai/tester.ts CHANGED
@@ -750,7 +750,7 @@ export class Tester extends TaskAgent implements Agent {
750
750
  - When filling complex form with lot of actions performed, use see() to look which fields were filled and which are not
751
751
  - When verify() fails, use see() to visually confirm the result — visual confirmation is equally valid evidence
752
752
  - For visual state verification (active tabs, selected items, counts, colors), prefer see() over DOM-based verify()
753
- - When click() fails and element is visually present, use visualClick() as fallback
753
+ - When click() fails on an element you can see — or believe is there but may look different — you MUST try visualClick() before giving up; don't repeat visualClick in a row
754
754
  - If you land on a "Not Found", 404, or error page that is NOT part of the scenario, call reset() immediately to return to the initial page and try again
755
755
  - If you see a server error page (500, 503, etc.), record it with record({ notes: ["Server error on /path"], status: "fail" }) and call reset() to continue testing
756
756
  </rules>