@capagents/forgeqe 2.7.5 → 2.7.6

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.
Files changed (64) hide show
  1. package/HOW_TO_USE.md +23 -0
  2. package/dist/docs-site/docs/index.html +17 -0
  3. package/dist/docs-site/docs/search.js +1 -1
  4. package/dist/forgeqe.js +1562 -1555
  5. package/dist/web/assets/Agent-BfZX7pM9.js +4 -0
  6. package/dist/web/assets/ApiTests-l_CkazdD.js +10 -0
  7. package/dist/web/assets/{Chat-DzcXQtRU.js → Chat-BSUVZdh2.js} +3 -3
  8. package/dist/web/assets/{CommandPalette-BPUcuL1R.js → CommandPalette-Ckz1AQJT.js} +1 -1
  9. package/dist/web/assets/{Data-ZQmWEw-T.js → Data-Ig_7x4WD.js} +3 -3
  10. package/dist/web/assets/Evidence-DsllYNNx.js +1 -0
  11. package/dist/web/assets/Features-IqPqXkST.js +1 -0
  12. package/dist/web/assets/{ForceGraph-oAsEGwQc.js → ForceGraph-CiIze1T6.js} +1 -1
  13. package/dist/web/assets/Impact-CLjFt7ih.js +1 -0
  14. package/dist/web/assets/Jobs-F4TIPvJk.js +5 -0
  15. package/dist/web/assets/KindPage-Dq6eGmG4.js +6 -0
  16. package/dist/web/assets/Migration-Cg6Cm_Gu.js +2 -0
  17. package/dist/web/assets/{Product-DE2i4GjQ.js → Product-osDkLGGT.js} +2 -2
  18. package/dist/web/assets/{Quality-BPS1A75g.js → Quality-BaX3Y0fL.js} +1 -1
  19. package/dist/web/assets/Record-CkGdISSf.js +2 -0
  20. package/dist/web/assets/{Regression-krYLUFdO.js → Regression-CpQr6snz.js} +3 -3
  21. package/dist/web/assets/{Reports-Bl3L0zPe.js → Reports-W8H8OB95.js} +2 -2
  22. package/dist/web/assets/{Response-C66KATyo.js → Response-B4iQEi_e.js} +2 -2
  23. package/dist/web/assets/Runs-Cl9PEJRv.js +2 -0
  24. package/dist/web/assets/Shell-8Y6stc_6.js +4 -0
  25. package/dist/web/assets/TestCases-th8t2FcZ.js +1 -0
  26. package/dist/web/assets/TestData-B3UImTlO.js +2 -0
  27. package/dist/web/assets/Tosca-Cu9NyPOL.js +2 -0
  28. package/dist/web/assets/{WhatsNew-Cix_kO-M.js → WhatsNew-CpysE5Dt.js} +1 -1
  29. package/dist/web/assets/{dataParts-DGQaavWq.js → dataParts-D_SP2_Pw.js} +2 -2
  30. package/dist/web/assets/{families-DWe5Tf6V.js → families-BGEp9m2k.js} +1 -1
  31. package/dist/web/assets/index-DuWTO5cE.js +45 -0
  32. package/dist/web/assets/index-X6LBvWis.css +2 -0
  33. package/dist/web/assets/{logos-UHk_LNd_.js → logos-C0_O1u21.js} +1 -1
  34. package/dist/web/assets/{parts-6yv4V1GV.js → parts-ByBgA7Hv.js} +1 -1
  35. package/dist/web/assets/{productParts-DlC0tpuk.js → productParts-BFrJx-M5.js} +1 -1
  36. package/dist/web/assets/{qualityParts-BSTx-oHr.js → qualityParts-BNNpjvm6.js} +1 -1
  37. package/dist/web/assets/{segmented-7nur8ck_.js → segmented-CD8WWurO.js} +1 -1
  38. package/dist/web/assets/{thread-RtF8vcSJ.js → thread-Dy_QsQDd.js} +1 -1
  39. package/dist/web/assets/{usePageChat-Btkpy-DG.js → usePageChat-DhO0cBVa.js} +1 -1
  40. package/dist/web/index.html +3 -3
  41. package/docs/user-guide.html +17 -0
  42. package/package.json +1 -1
  43. package/py/forgeqe_engine/cli.py +3 -0
  44. package/py/forgeqe_engine/logins.py +74 -0
  45. package/py/forgeqe_engine/neutral_log.py +61 -0
  46. package/py/forgeqe_engine/service.py +3 -1
  47. package/py/forgeqe_mobile/appium_driver.py +5 -0
  48. package/py/forgeqe_mobile/explore.py +23 -2
  49. package/dist/web/assets/Agent-DX2q9LmG.js +0 -4
  50. package/dist/web/assets/ApiTests-Cup02reL.js +0 -10
  51. package/dist/web/assets/Evidence-B6VB0N8L.js +0 -1
  52. package/dist/web/assets/Features-jvyThbaa.js +0 -1
  53. package/dist/web/assets/Impact-BWERCZIN.js +0 -1
  54. package/dist/web/assets/Jobs-bbs9Yh-0.js +0 -5
  55. package/dist/web/assets/KindPage-E4XiuZKL.js +0 -6
  56. package/dist/web/assets/Migration-CQmzKn1a.js +0 -2
  57. package/dist/web/assets/Record-Ch5qKyuS.js +0 -2
  58. package/dist/web/assets/Runs-Bq23Zfkc.js +0 -2
  59. package/dist/web/assets/Shell-2xDxqPtD.js +0 -4
  60. package/dist/web/assets/TestCases-DvusfxET.js +0 -1
  61. package/dist/web/assets/TestData-Y9MWzPfm.js +0 -2
  62. package/dist/web/assets/Tosca-DPI6ewM-.js +0 -2
  63. package/dist/web/assets/index-CAbuIKyt.js +0 -45
  64. package/dist/web/assets/index-Dj77NVTf.css +0 -2
package/HOW_TO_USE.md CHANGED
@@ -2551,6 +2551,29 @@ What each agent gets from the active environment:
2551
2551
  | Scribe, the healer, the reviewer | Write tests that read `FORGEQE_APP_<APP>_URL` (or the repository's own settings), never a fixed environment URL; the reviewer flags one |
2552
2552
  | Tests ForgeQE runs, pack pipelines | `FORGEQE_ACTIVE_ENV`, `FORGEQE_APP_<APP>_URL` / `_PATH` / `_ID`, `FORGEQE_VAR_<NAME>`, `FORGEQE_DATA_<NAME>` (pipelines written by `forgeqe pack pipeline init` take them as the `env_vars` input) |
2553
2553
  | Reports | Every run's report names the test environment |
2554
+ | Test cases (`run_test_cases`, `forgeqe suite`) | `{{var.NAME}}` and `{{app.NAME}}` in a case's title, steps and expected results become the environment's variable and the app's URL (below); a case with no address of its own starts at the web app its first step, preconditions or title names first, else at `start_app`; `run_test_cases` takes `app` to start every case at one |
2555
+
2556
+ A test case can name the active environment's values, so one case runs in every environment:
2557
+
2558
+ ```yaml
2559
+ - title: Book an appointment for {{var.employer_name}}
2560
+ steps:
2561
+ - action: Open {{app.CorporatePortal}} and sign in
2562
+ expected: The dashboard shows {{var.employer_name}}
2563
+ ```
2564
+
2565
+ `{{var.NAME}}` takes a value of `variables:` and `{{app.NAME}}` (or `{{app.NAME.url}}`) a web or API app's URL, the name
2566
+ written any way ("Corporate Portal" for `CorporatePortal`). A name the environment does not have, a desktop app, or a
2567
+ secret's name is left as written and listed in the run's log: secrets are never put into a case.
2568
+
2569
+ Before a browser run or a suite starts, ForgeQE checks what the request and its test cases name against env.yaml and
2570
+ forgeqe.yaml: `{{var.…}}` and `{{app.…}}`, test users named like `withdocs_user`, saved logins (their variables set, and
2571
+ their `domains` covering where the run opens) and `<secret>…</secret>` placeholders. Anything missing is listed, with its
2572
+ fix, before the browser opens: stop and give the values (credentials become a login for the session, never part of a
2573
+ goal), or run anyway. With nobody to ask, nothing runs until the agent has asked you.
2574
+
2575
+ Edit env.yaml or forgeqe.yaml during a chat (the web app's or the terminal's) and the next message reads them again, with
2576
+ the conversation kept; a file that no longer loads keeps the chat on what it read before, and says why.
2554
2577
 
2555
2578
  There is no scenario file to write: ask in plain language ("place an order in the shop, then check its invoice in
2556
2579
  Billing, in UAT") and ForgeQE's agent picks the apps from their descriptions, shows the plan, runs each step with the
@@ -1544,8 +1544,25 @@ environment (&quot;run the checkout tests in UAT&quot;): each test tool takes an
1544
1544
  <tr><td>Scribe, the healer, the reviewer</td><td>Write tests that read <code>FORGEQE_APP_&lt;APP&gt;_URL</code> (or the repository's own settings), never a fixed environment URL; the reviewer flags one</td></tr>
1545
1545
  <tr><td>Tests ForgeQE runs, pack pipelines</td><td><code>FORGEQE_ACTIVE_ENV</code>, <code>FORGEQE_APP_&lt;APP&gt;_URL</code> / <code>_PATH</code> / <code>_ID</code>, <code>FORGEQE_VAR_&lt;NAME&gt;</code>, <code>FORGEQE_DATA_&lt;NAME&gt;</code> (pipelines written by <code>forgeqe pack pipeline init</code> take them as the <code>env_vars</code> input)</td></tr>
1546
1546
  <tr><td>Reports</td><td>Every run's report names the test environment</td></tr>
1547
+ <tr><td>Test cases (<code>run_test_cases</code>, <code>forgeqe suite</code>)</td><td><code>{{var.NAME}}</code> and <code>{{app.NAME}}</code> in a case's title, steps and expected results become the environment's variable and the app's URL (below); a case with no address of its own starts at the web app its first step, preconditions or title names first, else at <code>start_app</code>; <code>run_test_cases</code> takes <code>app</code> to start every case at one</td></tr>
1547
1548
  </tbody>
1548
1549
  </table></div>
1550
+ <p>A test case can name the active environment's values, so one case runs in every environment:</p>
1551
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>- title: Book an appointment for {{var.employer_name}}
1552
+ steps:
1553
+ - action: Open {{app.CorporatePortal}} and sign in
1554
+ expected: The dashboard shows {{var.employer_name}}
1555
+ </code></pre></div>
1556
+ <p><code>{{var.NAME}}</code> takes a value of <code>variables:</code> and <code>{{app.NAME}}</code> (or <code>{{app.NAME.url}}</code>) a web or API app's URL, the name
1557
+ written any way (&quot;Corporate Portal&quot; for <code>CorporatePortal</code>). A name the environment does not have, a desktop app, or a
1558
+ secret's name is left as written and listed in the run's log: secrets are never put into a case.</p>
1559
+ <p>Before a browser run or a suite starts, ForgeQE checks what the request and its test cases name against env.yaml and
1560
+ forgeqe.yaml: <code>{{var.…}}</code> and <code>{{app.…}}</code>, test users named like <code>withdocs_user</code>, saved logins (their variables set, and
1561
+ their <code>domains</code> covering where the run opens) and <code>&lt;secret&gt;…&lt;/secret&gt;</code> placeholders. Anything missing is listed, with its
1562
+ fix, before the browser opens: stop and give the values (credentials become a login for the session, never part of a
1563
+ goal), or run anyway. With nobody to ask, nothing runs until the agent has asked you.</p>
1564
+ <p>Edit env.yaml or forgeqe.yaml during a chat (the web app's or the terminal's) and the next message reads them again, with
1565
+ the conversation kept; a file that no longer loads keeps the chat on what it read before, and says why.</p>
1549
1566
  <p>There is no scenario file to write: ask in plain language (&quot;place an order in the shop, then check its invoice in
1550
1567
  Billing, in UAT&quot;) and ForgeQE's agent picks the apps from their descriptions, shows the plan, runs each step with the
1551
1568
  right engine, and carries values from one app to the next.</p>