@capagents/forgeqe 3.1.2 → 3.1.3

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 (170) hide show
  1. package/HOW_TO_USE.md +5003 -2077
  2. package/README.md +155 -449
  3. package/dist/docs-site/docs/app-theme.css +30 -9
  4. package/dist/docs-site/docs/architecture/index.html +45 -515
  5. package/dist/docs-site/docs/architecture-reference/index.html +1781 -0
  6. package/dist/docs-site/docs/area-api/index.html +257 -116
  7. package/dist/docs-site/docs/area-automated-tests/index.html +1229 -419
  8. package/dist/docs-site/docs/area-browser/index.html +167 -125
  9. package/dist/docs-site/docs/area-data/index.html +178 -188
  10. package/dist/docs-site/docs/area-desktop/index.html +329 -282
  11. package/dist/docs-site/docs/area-mobile/index.html +138 -86
  12. package/dist/docs-site/docs/area-operations/index.html +567 -393
  13. package/dist/docs-site/docs/area-pull-requests/index.html +114 -32
  14. package/dist/docs-site/docs/area-quality/index.html +111 -49
  15. package/dist/docs-site/docs/area-release/index.html +180 -65
  16. package/dist/docs-site/docs/area-setup/index.html +742 -339
  17. package/dist/docs-site/docs/area-systems/index.html +32 -48
  18. package/dist/docs-site/docs/area-test-cases/index.html +387 -154
  19. package/dist/docs-site/docs/containers/index.html +87 -101
  20. package/dist/docs-site/docs/cost-architecture/index.html +4 -3
  21. package/dist/docs-site/docs/custom-agents-first-run/index.html +108 -50
  22. package/dist/docs-site/docs/desktop/index.html +277 -297
  23. package/dist/docs-site/docs/desktop-ci/index.html +15 -5
  24. package/dist/docs-site/docs/docs-tabs.js +56 -0
  25. package/dist/docs-site/docs/evidence/index.html +50 -49
  26. package/dist/docs-site/docs/feature-test-prompts/index.html +34 -24
  27. package/dist/docs-site/docs/get-started/index.html +464 -168
  28. package/dist/docs-site/docs/graphify/index.html +8 -7
  29. package/dist/docs-site/docs/guardrails/index.html +20 -4
  30. package/dist/docs-site/docs/index.html +4 -3
  31. package/dist/docs-site/docs/mobile/index.html +96 -76
  32. package/dist/docs-site/docs/model-routing/index.html +44 -18
  33. package/dist/docs-site/docs/overview/index.html +23 -7
  34. package/dist/docs-site/docs/product-graph/index.html +13 -12
  35. package/dist/docs-site/docs/product-knowledge/index.html +16 -5
  36. package/dist/docs-site/docs/product-views/index.html +7 -6
  37. package/dist/docs-site/docs/reference/index.html +95 -65
  38. package/dist/docs-site/docs/search.js +1 -1
  39. package/dist/docs-site/docs/using/index.html +444 -126
  40. package/dist/docs-site/docs/web-app/index.html +54 -51
  41. package/dist/forgeqe.js +1822 -1822
  42. package/dist/web/assets/Agent-3pV8Rwap.js +8 -0
  43. package/dist/web/assets/AgentWork-DAnmH0My.js +2 -0
  44. package/dist/web/assets/ApiTests-DW4MRFzG.js +10 -0
  45. package/dist/web/assets/Browse-Bd0ZZfc2.js +1 -0
  46. package/dist/web/assets/Chat-DnBUm_97.js +3 -0
  47. package/dist/web/assets/CommandPalette-B1O9aDTk.js +1 -0
  48. package/dist/web/assets/Compare-1v7_ca7z.js +1 -0
  49. package/dist/web/assets/Cost-CWrc4McH.js +1 -0
  50. package/dist/web/assets/Data-rWSiG4Cq.js +6 -0
  51. package/dist/web/assets/Desktop-3x6EQqos.js +1 -0
  52. package/dist/web/assets/DesktopReview-cSA10Rm3.js +1 -0
  53. package/dist/web/assets/Evidence-CKy3o7cw.js +1 -0
  54. package/dist/web/assets/{Explore-ObkEpUyS.js → Explore-CMAxWE_8.js} +2 -2
  55. package/dist/web/assets/Features-haQchkhA.js +1 -0
  56. package/dist/web/assets/{Flags-0-RniPJm.js → Flags-BaQjYi_t.js} +2 -2
  57. package/dist/web/assets/Flaky-DUuC0qTn.js +1 -0
  58. package/dist/web/assets/Impact-CP0H8ygo.js +3 -0
  59. package/dist/web/assets/Jobs-cYxoYd3i.js +5 -0
  60. package/dist/web/assets/KindPage-DWW8gN5_.js +6 -0
  61. package/dist/web/assets/Migration-Bsm7WU1d.js +2 -0
  62. package/dist/web/assets/PageAgent-c95zT2PJ.js +1 -0
  63. package/dist/web/assets/Product-BQSiR28a.js +7 -0
  64. package/dist/web/assets/Production-CAv0Vtoy.js +1 -0
  65. package/dist/web/assets/Quality-aQPaPYQc.js +1 -0
  66. package/dist/web/assets/Readiness-CkknP87n.js +1 -0
  67. package/dist/web/assets/Record-09IsC9U-.js +1 -0
  68. package/dist/web/assets/Regression-BL4MfN47.js +5 -0
  69. package/dist/web/assets/RelationGraph-Dg4fqt7l.js +1 -0
  70. package/dist/web/assets/Reports-CMV1l-iS.js +2 -0
  71. package/dist/web/assets/Response-DTBFBeKB.js +9 -0
  72. package/dist/web/assets/Responsive-DBRQ9FUO.js +3 -0
  73. package/dist/web/assets/RunDiff-CMDrnsA3.js +1 -0
  74. package/dist/web/assets/Runs-Dkeu6_vZ.js +2 -0
  75. package/dist/web/assets/Settings-KjKm8h-_.js +21 -0
  76. package/dist/web/assets/{Steps-D-YG0eJy.js → Steps-HYHK9psI.js} +1 -1
  77. package/dist/web/assets/TestCases-Cv6-OSv0.js +1 -0
  78. package/dist/web/assets/TestData-DbEfNlUE.js +2 -0
  79. package/dist/web/assets/TestDebt-DzHQIU4X.js +1 -0
  80. package/dist/web/assets/TestManagement-BgRTGHMT.js +1 -0
  81. package/dist/web/assets/Tosca-DZpHAtnH.js +3 -0
  82. package/dist/web/assets/WhatsNew-jp0c4WSV.js +1 -0
  83. package/dist/web/assets/coverage-BB9BLjGz.js +5 -0
  84. package/dist/web/assets/{dataParts-DbeCj9ga.js → dataParts-DEPK4eQE.js} +2 -2
  85. package/dist/web/assets/{diff-BStuTmsN.js → diff-CcNwLCX6.js} +1 -1
  86. package/dist/web/assets/{families-BBFFrUlo.js → families-gkpkloLT.js} +1 -1
  87. package/dist/web/assets/filters-C7phIFfd.js +1 -0
  88. package/dist/web/assets/fold-i73P-EDV.js +1 -0
  89. package/dist/web/assets/head-BtTqyLlj.js +1 -0
  90. package/dist/web/assets/{highlight-BcFZIf59.js → highlight-DZI39CzZ.js} +1 -1
  91. package/dist/web/assets/index-ClFOh63x.css +2 -0
  92. package/dist/web/assets/index-YGWJEkAT.js +64 -0
  93. package/dist/web/assets/input-C2vQ9O3a.js +1 -0
  94. package/dist/web/assets/logos-BmbNTDu2.js +1 -0
  95. package/dist/web/assets/palette-XFlqvgZl.js +1 -0
  96. package/dist/web/assets/{paletteCommands-Co-RlQ8q.js → paletteCommands-DsbD2ASU.js} +1 -1
  97. package/dist/web/assets/parts-DEVx2Sea.js +1 -0
  98. package/dist/web/assets/productParts-Bi-XjszL.js +1 -0
  99. package/dist/web/assets/qualityParts-Dbu01g7G.js +1 -0
  100. package/dist/web/assets/{recordTest-Cez2sDJO.js → recordTest--Wr40QdN.js} +1 -1
  101. package/dist/web/assets/route-Dg53WdFu.js +1 -0
  102. package/dist/web/index.html +6 -7
  103. package/docs/ARCHITECTURE.md +50 -563
  104. package/docs/ARCHITECTURE_REFERENCE.md +1484 -0
  105. package/docs/CONTAINERS.md +87 -87
  106. package/docs/CUSTOM_AGENTS_FIRST_RUN.md +125 -43
  107. package/docs/DESKTOP-CI.md +18 -3
  108. package/docs/DESKTOP.md +298 -297
  109. package/docs/MOBILE.md +103 -71
  110. package/docs/MODEL_ROUTING.md +48 -15
  111. package/docs/WEB_APP.md +49 -44
  112. package/docs/feature-test-prompts.md +29 -16
  113. package/docs/user-guide.html +5263 -2453
  114. package/guardrails/README.md +22 -2
  115. package/knowledge/README.md +15 -2
  116. package/package.json +1 -1
  117. package/prompts/brain.md +1 -0
  118. package/py/forgeqe_engine/recordsession.py +100 -24
  119. package/dist/web/assets/Agent-CPhmZdFX.js +0 -8
  120. package/dist/web/assets/AgentWork-BXdN9xgi.js +0 -2
  121. package/dist/web/assets/ApiTests-Do3xLjfB.js +0 -10
  122. package/dist/web/assets/Browse-WVkJT6Bs.js +0 -2
  123. package/dist/web/assets/Chat-CDc9UcQX.js +0 -3
  124. package/dist/web/assets/CommandPalette-BAZm62lV.js +0 -1
  125. package/dist/web/assets/Compare-Br6n9T9L.js +0 -1
  126. package/dist/web/assets/Cost-BBUyBu3Y.js +0 -1
  127. package/dist/web/assets/Data-Ch2DPEWp.js +0 -6
  128. package/dist/web/assets/Desktop-Qzoq-cQv.js +0 -1
  129. package/dist/web/assets/DesktopReview-CF_jQYAM.js +0 -1
  130. package/dist/web/assets/Evidence-C72Lj5_Q.js +0 -1
  131. package/dist/web/assets/Features-CQzNo_WP.js +0 -1
  132. package/dist/web/assets/Flaky-BPJvNLCA.js +0 -1
  133. package/dist/web/assets/Impact-CfccsL_k.js +0 -3
  134. package/dist/web/assets/Jobs-T6m4zhDy.js +0 -5
  135. package/dist/web/assets/KindPage-BDUvWe2p.js +0 -6
  136. package/dist/web/assets/Migration-Dqeh4x5u.js +0 -2
  137. package/dist/web/assets/PageAgent-DNjzIgeY.js +0 -1
  138. package/dist/web/assets/Product-nYV_scOV.js +0 -7
  139. package/dist/web/assets/Production-CGSbEWVa.js +0 -1
  140. package/dist/web/assets/Quality-BIypojZm.js +0 -1
  141. package/dist/web/assets/Readiness-BlRjwJRg.js +0 -1
  142. package/dist/web/assets/Record-v2KLI-_Z.js +0 -1
  143. package/dist/web/assets/Regression-B-jSt4Jz.js +0 -5
  144. package/dist/web/assets/RelationGraph-8J98lOVG.js +0 -1
  145. package/dist/web/assets/Reports-GI4u6SyW.js +0 -2
  146. package/dist/web/assets/Response-mhBThq2b.js +0 -9
  147. package/dist/web/assets/Responsive-DXu7Ra7K.js +0 -3
  148. package/dist/web/assets/RunDiff-D0SHDNp0.js +0 -1
  149. package/dist/web/assets/Runs-C1Gjdi9M.js +0 -2
  150. package/dist/web/assets/Settings-BGGeuvyF.js +0 -21
  151. package/dist/web/assets/TestCases-DC4w77eQ.js +0 -1
  152. package/dist/web/assets/TestData-CvKWRVVV.js +0 -2
  153. package/dist/web/assets/TestDebt-D8YzN29_.js +0 -1
  154. package/dist/web/assets/TestManagement-C5cDCqrD.js +0 -1
  155. package/dist/web/assets/Tosca-BGUv3RiJ.js +0 -3
  156. package/dist/web/assets/WhatsNew-B_Gyuv8O.js +0 -1
  157. package/dist/web/assets/coverage-BMP6ELFJ.js +0 -5
  158. package/dist/web/assets/filters-CnAMr286.js +0 -1
  159. package/dist/web/assets/fold-D_O_VZui.js +0 -1
  160. package/dist/web/assets/head-CRo48rPt.js +0 -1
  161. package/dist/web/assets/index-B3JsM7tv.js +0 -64
  162. package/dist/web/assets/index-CafApcbZ.css +0 -2
  163. package/dist/web/assets/input-CtzK50ZF.js +0 -1
  164. package/dist/web/assets/line-icons-rdF8DYDJ.js +0 -1
  165. package/dist/web/assets/logos-D4oVWzqa.js +0 -1
  166. package/dist/web/assets/palette-DAaGSao7.js +0 -1
  167. package/dist/web/assets/parts-D357Wolo.js +0 -1
  168. package/dist/web/assets/productParts-B8oHRCJF.js +0 -1
  169. package/dist/web/assets/qualityParts-BLkmIfDY.js +0 -1
  170. package/dist/web/assets/route-BloYJWgw.js +0 -1
@@ -11,6 +11,7 @@
11
11
  <link rel="stylesheet" href="../docs.css">
12
12
  <script src="../search.js" defer></script>
13
13
  <script src="../docs.js" defer></script>
14
+ <script src="../docs-tabs.js" defer></script>
14
15
  <link rel="stylesheet" href="../../app-look.css">
15
16
  <link rel="stylesheet" href="../app-theme.css">
16
17
  </head>
@@ -112,35 +113,42 @@
112
113
  <div class="container docs-layout">
113
114
  <nav class="docs-side" aria-label="Docs">
114
115
  <a class="side-home" href="../index.html" aria-current="page"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
115
- <div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="index.html" aria-current="page"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
116
+ <div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="index.html" aria-current="page"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
116
117
  </nav>
117
118
  <main id="main" class="docs-main guide chapter-page">
118
119
  <p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Browser and tests</p>
119
- <div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="index.html" aria-current="page"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#doc-how_to_use-accessibility-and-performance-budgets">Accessibility and performance budgets</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#doc-how_to_use-visual-comparison">Visual comparison</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#doc-how_to_use-defect-trends-and-prediction">Defect trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#doc-how_to_use-security-smoke-checks">Security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#doc-how_to_use-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li><li><a href="#doc-how_to_use-responsive-preview">Responsive preview</a></li></ul></nav></details></div>
120
+ <div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="index.html" aria-current="page"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li></ul></nav></details></div>
120
121
  <h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-result"/></svg>Quality checks</h1>
121
122
  <p class="guide-lead">Accessibility, page performance, and visual changes</p>
122
123
  <article class="spec feat" id="cap-accessibility-performance">
123
124
  <div class="hd"><span class="mono">Quality</span><h3>Accessibility and page performance</h3></div>
124
- <p class="ds">Checks every page a run visits against WCAG rules (axe-core) and measures its Core Web Vitals, against budgets, with trends over time per page.</p>
125
+ <p class="ds">Checks every page a run visits against WCAG rules and measures its Core Web Vitals, against budgets, with trends over time per page.</p>
125
126
  <div class="facts">
126
127
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Is the checkout page accessible?</li><li>Did page performance get worse this week?</li></ul></div>
127
128
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a browser run (from browser_run or run_test_cases); new runs need a live model</span></li></ul></div>
128
129
  <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Per-page Core Web Vitals, not load testing under many users.</li></ul></div>
129
130
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>quality_report</code> <code>quality_trends</code></p></div>
130
131
  </div>
131
- <div class="detail"><span class="mono">In detail</span>
132
- <section class="doc" id="doc-how_to_use-accessibility-and-performance-budgets">
132
+
133
+ </article>
134
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-accessibility-and-performance-budgets">
133
135
  <h4>Accessibility and performance budgets</h4>
134
136
  <div class="prose"><p>Every browser run checks each page it visits and times it, with no extra step:</p>
135
137
  <ul>
136
- <li><strong>Accessibility:</strong> <a href="https://github.com/dequelabs/axe-core" class="ext" rel="noopener">axe-core</a> (installed with ForgeQE) runs the rules of the standard you choose on each page as the agent finds it. The report lists the rules that <strong>passed</strong> and each rule that <strong>failed</strong>, with its WCAG success criterion and level, its impact (critical, serious, moderate, minor), the elements, and how to fix it. Automated checks find a part of the WCAG problems (often 30–50%): they are a pre-check, not conformance, and a manual review still matters. <code>quality.accessibility.engine: basic</code> uses ForgeQE's own smaller set of checks instead.</li>
138
+ <li><strong>Accessibility:</strong> the WCAG rules of the standard you choose run on each page as the agent finds it. The report lists the rules that <strong>passed</strong>, and each rule that <strong>failed</strong> with its WCAG success criterion and level, its impact (critical, serious, moderate, minor), the elements, and how to fix it. Automated checks find a part of the WCAG problems (often 30–50%): they are a pre-check, not conformance, and a manual review still matters. <code>quality.accessibility.engine: basic</code> uses ForgeQE's own smaller set of checks instead.</li>
137
139
  <li><strong>Performance:</strong> each page's Core Web Vitals, measured in the browser the agent drives: <strong>LCP</strong> (largest contentful paint), <strong>CLS</strong> (layout shift), <strong>INP</strong> (the slowest interaction the agent made), <strong>FCP</strong>, <strong>TTFB</strong>, load time, requests and transfer size. These are lab values from one visit, not field data from real users.</li>
138
140
  </ul>
139
- <p>A run <strong>fails on them only when a budget is exceeded</strong>. Without budgets they are reported and tracked, never failed. When a budget is exceeded, the run's steps still passed: <code>forgeqe run</code> exits 1, the browser run says <code>budget_exceeded</code>, a suite case counts as failed (a bug is filed when bugs are set up), and a test is still written for the flow.</p>
141
+ <p><strong>Budgets.</strong> A run <strong>fails on them only when a budget is exceeded</strong>. Without budgets they are reported and tracked, never failed. When a budget is exceeded, the run's steps still passed:</p>
142
+ <ul>
143
+ <li><code>forgeqe run</code> exits 1, and the browser run says <code>budget_exceeded</code>;</li>
144
+ <li>a suite case counts as failed (a bug is filed when bugs are set up);</li>
145
+ <li>a test is still written for the flow.</li>
146
+ </ul>
147
+ <p>Set the standard and the budgets in <strong>Settings › Quality checks</strong>, or in forgeqe.yaml:</p>
140
148
  <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 class="lines"><code><span class="ln"><span class="cmd">quality:
141
149
  </span></span><span class="ln"><span class="cmd"> accessibility:
142
150
  </span></span><span class="ln ln--pair"><span class="cmd"> standard: wcag21aa</span><span class="pad"> </span><span class="cm"><span class="h">#</span> wcag2a, wcag21aa (default), wcag22aa, wcag21aaa, section508, en301549, best-practice
143
- </span></span><span class="ln ln--pair"><span class="cmd"> best_practice: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> also axe-core's best-practice rules
151
+ </span></span><span class="ln ln--pair"><span class="cmd"> best_practice: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> also the best-practice rules
144
152
  </span></span><span class="ln"><span class="cmd"> budgets:
145
153
  </span></span><span class="ln ln--pair"><span class="cmd"> accessibility:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> most violations per page by impact; unset impacts have no limit (or: accessibility: true for 0 critical, 0 serious)
146
154
  </span></span><span class="ln"><span class="cmd"> critical: 0
@@ -154,14 +162,21 @@
154
162
  </span></span><span class="ln ln--pair"><span class="cmd"> pages:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> by path prefix; the longest match wins
155
163
  </span></span><span class="ln"><span class="cmd"> /search: { lcp_ms: 4000 }
156
164
  </span></span></code></pre></div>
157
- <p><strong>Over time:</strong> every run adds each page's violations and timings to <code>.forgeqe/reports/quality-history.json</code> (keep it between CI runs as a cache). &quot;Did accessibility regress?&quot; or &quot;is checkout getting slower?&quot; (<code>quality_trends</code>, or <code>forgeqe quality trends [page]</code>) shows each page's violations over the last runs, the rules that newly fail or were fixed since the previous run, and each timing against its usual value (the median of the last 10 runs; slower or faster only beyond noise). <code>forgeqe quality [run]</code> (<code>quality_report</code>) shows one run's WCAG results, timings and budgets.</p>
165
+ <p><strong>Over time.</strong> Every run adds each page's violations and timings to <code>.forgeqe/reports/quality-history.json</code> (keep it between CI runs as a cache). Ask &quot;did accessibility regress?&quot; or &quot;is checkout getting slower?&quot;. The trends show each page's violations over the last runs, the rules that newly fail or were fixed since the previous run, and each timing against its usual value (the median of the last 10 runs; slower or faster only beyond noise).</p>
166
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
167
+ <ol>
168
+ <li>Open <strong>Quality</strong> (Quality Engineering › Specialised testing).</li>
169
+ <li>Open a run for its <strong>Accessibility</strong>, <strong>Performance</strong> and <strong>Visual</strong> tabs, or press <strong>Trends</strong> for each page over the runs.</li>
170
+ </ol>
171
+ <p>The <strong>Accessibility</strong> and <strong>Performance</strong> pages show the same per kind, each with an <strong>Agent</strong> tab and its <strong>Runs</strong>.</p>
172
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
158
173
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe quality</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the latest run: WCAG rules passed and failed, Core Web Vitals, budgets
174
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe quality &lt;run folder&gt;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one run
159
175
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe quality trends shop.test</span><span class="pad"> </span><span class="cm"><span class="h">#</span> per page over time; exits 1 when a page got worse
160
176
  </span></span></code></pre></div>
161
- </div>
177
+ </div></div></div>
162
178
  </section>
163
179
  </div>
164
- </article>
165
180
  <article class="spec feat" id="cap-accessibility-personas">
166
181
  <div class="hd"><span class="mono">Quality</span><h3>Accessibility testing with personas</h3></div>
167
182
  <p class="ds">A browser agent does a goal as a person with a disability would (a blind screen reader user, keyboard only, low vision, colour blind, cognitive, or the project's own personas) and records each barrier with its WCAG criterion and severity. Not functional testing.</p>
@@ -171,16 +186,22 @@
171
186
  <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>A simulated persona and automated checks are a first pass, not a conformance claim or a test with real users.</li></ul></div>
172
187
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>accessibility_test</code> <code>accessibility_personas</code></p></div>
173
188
  </div>
174
- <div class="detail"><span class="mono">In detail</span>
175
- <section class="doc" id="doc-how_to_use-accessibility-testing-with-personas">
189
+
190
+ </article>
191
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-accessibility-testing-with-personas">
176
192
  <h4>Accessibility testing with personas</h4>
177
193
  <div class="prose"><p>The accessibility agent does a goal on your site <strong>as a person with a disability would</strong>, and records each barrier that person meets. It is not functional testing: whether the feature works is not judged, only whether this person can perceive, operate and understand it.</p>
178
- <p>Ask the agent (&quot;act as a blind person and use the website to find accessibility issues&quot;, &quot;can a keyboard-only user check out?&quot;), or from a terminal:</p>
194
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
195
+ <ol>
196
+ <li>Open <strong>Accessibility</strong> (Quality Engineering › Specialised testing), on its <strong>Agent</strong> tab.</li>
197
+ <li>Say what the person should try to do, and who tries it (&quot;act as a blind person and use the website to find accessibility issues&quot;, &quot;can a keyboard-only user check out?&quot;).</li>
198
+ <li>Agree to the plan the agent shows. Each session's result is on the <strong>Results</strong> tab, and the personas on the <strong>Personas</strong> tab.</li>
199
+ </ol>
200
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
179
201
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe a11y &quot;find running shoes and add a pair to the basket&quot; --persona blind,keyboard-only --url https://shop.test
202
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe a11y personas</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the personas: built in, and the project's own
180
203
  </span></span></code></pre></div>
181
- <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe a11y personas
182
- </span></span></code></pre></div>
183
- <p>Each persona is one browser run. The agent works the way the person does:</p>
204
+ </div></div><p><strong>How each persona uses the page.</strong> Each persona is one browser run. The agent works the way the person does:</p>
184
205
  <div class="tbl tbl--cols-2"><table>
185
206
  <thead>
186
207
  <tr><th>Persona</th><th>How the agent uses the page</th></tr>
@@ -196,8 +217,8 @@
196
217
  <tr><td data-label="Persona"><code>high-contrast</code></td><td data-label="How the agent uses the page">Forced colours (a high contrast theme).</td></tr>
197
218
  </tbody>
198
219
  </table></div>
199
- <p>For each persona the report (<code>.forgeqe/reports/accessibility/&lt;time&gt;-&lt;goal&gt;/accessibility.md</code>) says whether they reached the goal, each barrier with its severity (critical: stops them; serious; moderate; minor) and WCAG success criterion, and the automated rule checks (axe-core) of the pages they visited. The run folders keep the evidence: steps, screenshots, video when on. A run as a persona uses no page memory, site rulebook or skills, since those hold how to click through the site.</p>
200
- <p><strong>Your own personas</strong> are <code>.forgeqe/personas/&lt;id&gt;.yaml</code>. Ask the agent to save one (&quot;add a persona: an older user with a hand tremor who zooms to 150%&quot;: it shows the persona and asks first), or write the file:</p>
220
+ <p><strong>The report.</strong> For each persona, <code>.forgeqe/reports/accessibility/&lt;time&gt;-&lt;goal&gt;/accessibility.md</code> says whether they reached the goal, each barrier with its severity (critical: stops them; serious; moderate; minor) and WCAG success criterion, and the automated WCAG rule checks of the pages they visited. The run folders keep the evidence: steps, screenshots, video when on. A run as a persona uses no page memory, site rulebook or skills, since those hold how to click through the site.</p>
221
+ <p><strong>Your own personas</strong> are <code>.forgeqe/personas/&lt;id&gt;.yaml</code>. Ask the agent to save one (&quot;add a persona: an older user with a hand tremor who zooms to 150%&quot;): it shows the persona and asks first. Or write the file:</p>
201
222
  <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 class="lines"><code><span class="ln"><span class="cmd">id: older-tremor
202
223
  </span></span><span class="ln"><span class="cmd">name: Older user with a hand tremor
203
224
  </span></span><span class="ln"><span class="cmd">description: 78, uses a laptop with a large font, finds small targets hard to hit and gives up on long forms.
@@ -211,11 +232,10 @@
211
232
  </span></span><span class="ln"><span class="cmd"> - forms that time out
212
233
  </span></span></code></pre></div>
213
234
  <p>A persona file can come from the repository, so ForgeQE reads it strictly: only these keys, each setting from its list, no YAML aliases. Its text describes the person to the browser model; what the browser does comes only from the settings.</p>
214
- <p>A simulated persona is not a real user, and automated checks find only part of the problems: treat the result as a first pass, and confirm important barriers with people who use assistive technology.</p>
235
+ <p>A simulated persona is not a real user, and automated checks find only part of the problems. Treat the result as a first pass, and confirm important barriers with people who use assistive technology.</p>
215
236
  </div>
216
237
  </section>
217
238
  </div>
218
- </article>
219
239
  <article class="spec feat" id="cap-visual-comparison">
220
240
  <div class="hd"><span class="mono">Quality</span><h3>Visual comparison with baselines</h3></div>
221
241
  <p class="ds">Compares each page a run captures with its approved baseline and shows what changed; intended changes become the new baseline once the user agrees.</p>
@@ -224,8 +244,9 @@
224
244
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a browser run (from browser_run or run_test_cases); new runs need a live model</span></li></ul></div>
225
245
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>visual_compare</code> <code>visual_approve</code></p></div>
226
246
  </div>
227
- <div class="detail"><span class="mono">In detail</span>
228
- <section class="doc" id="doc-how_to_use-visual-comparison">
247
+
248
+ </article>
249
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-visual-comparison">
229
250
  <h4>Visual comparison</h4>
230
251
  <div class="prose"><p>Every browser run also captures each page it visits and compares it, pixel by pixel, with that page's <strong>approved baseline</strong>:</p>
231
252
  <ul>
@@ -233,9 +254,8 @@
233
254
  <li><strong>Baselines:</strong> in <code>.forgeqe/visual-baselines/</code> next to <code>forgeqe.yaml</code> (commit them to share), one per page, screen size and operating system, since fonts render differently. A page's <strong>first capture becomes its baseline</strong> (<code>auto_baseline: false</code> turns that off), and <code>baselines.json</code> records which run each baseline came from and why.</li>
234
255
  <li><strong>Compare:</strong> each page is <strong>same</strong>, <strong>changed</strong> (the share of pixels that differ, and a diff image with the changed pixels in red), or <strong>new</strong>. Anti-aliasing is ignored; <code>threshold</code> sets how different two colours must be to count. A taller or wider page counts its new area as changed.</li>
235
256
  <li><strong>Budget:</strong> a run <strong>fails only when <code>quality.budgets.visual</code> is set</strong> and a page changes by more than that share of its pixels (a page can have its own limit). Without it, changes are reported, never failed.</li>
236
- <li><strong>Approve:</strong> when a change is intended, &quot;approve the new home page&quot; (<code>visual_approve</code>, or <code>forgeqe visual approve [run] --page /home</code>) makes the run's capture the new baseline, after you agree. An unintended change is a visual defect.</li>
237
257
  </ul>
238
- <p>The report's <strong>Visual</strong> page shows the baseline, this run, and the difference side by side for every page, changed pages first; click any image to see it full size.</p>
258
+ <p>The report's <strong>Visual</strong> page shows the baseline, this run, and the difference side by side for every page, changed pages first; click any image to see it full size. The settings are in <strong>Settings › Quality checks</strong>:</p>
239
259
  <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 class="lines"><code><span class="ln"><span class="cmd">quality:
240
260
  </span></span><span class="ln"><span class="cmd"> visual:
241
261
  </span></span><span class="ln ln--pair"><span class="cmd"> mask: [&quot;.clock&quot;, &quot;#ad-slot&quot;, &quot;[data-testid=carousel]&quot;]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> hidden on every page
@@ -247,13 +267,21 @@
247
267
  </span></span><span class="ln"><span class="cmd"> budgets:
248
268
  </span></span><span class="ln ln--pair"><span class="cmd"> visual: 0.5</span><span class="pad"> </span><span class="cm"><span class="h">#</span> most a page may change, in percent of its pixels (or: visual: true for 0.1%)
249
269
  </span></span></code></pre></div>
270
+ <p><strong>Approving a change.</strong> When a change is intended, make the run's capture the new baseline, after you agree. An unintended change is a visual defect.</p>
271
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
272
+ <ol>
273
+ <li>Open <strong>Quality</strong> and open the run, or open <strong>Visual</strong> (Quality Engineering › Specialised testing).</li>
274
+ <li>On the run's <strong>Visual</strong> tab, press <strong>Approve</strong> beside a page, or <strong>Approve</strong> with the number of changes for all of them.</li>
275
+ <li>Confirm with <strong>Approve</strong>. Later runs are compared with it.</li>
276
+ </ol>
277
+ <p>On <strong>Visual</strong>'s <strong>Agent</strong> tab, you can also say &quot;approve the new home page&quot;.</p>
278
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
250
279
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe visual</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the latest run's pages against their baselines
251
280
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe visual approve --page /home</span><span class="pad"> </span><span class="cm"><span class="h">#</span> make this run's /home the baseline (asks first; --yes to skip)
252
281
  </span></span></code></pre></div>
253
- </div>
282
+ </div></div></div>
254
283
  </section>
255
284
  </div>
256
- </article>
257
285
  <article class="spec feat" id="cap-defect-intelligence">
258
286
  <div class="hd"><span class="mono">Quality</span><h3>Defect intelligence: trends and prediction</h3></div>
259
287
  <p class="ds">Groups failures into defects, keeps their history across suites (new, known, gone, back again), and gives defect trends and where a change is likely to cause defects, with the cases to run first.</p>
@@ -263,12 +291,22 @@
263
291
  <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Prediction is a heuristic from the saved suites and the change, not a trained model; its accuracy shows once suites have scored it.</li></ul></div>
264
292
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>defect_trends</code> <code>predict_defects</code></p></div>
265
293
  </div>
266
- <div class="detail"><span class="mono">In detail</span>
267
- <p class="see">See <a href="../area-test-cases/index.html#doc-how_to_use-bugs-for-failures">Bugs for failures</a>.</p>
268
- <section class="doc" id="doc-how_to_use-defect-trends-and-prediction">
294
+
295
+ </article>
296
+ <div class="feat-detail"><p class="see">See <a href="../area-test-cases/index.html#doc-how_to_use-bugs-for-failures">Bugs for failures</a>.</p>
297
+ <section class="doc" data-topic id="doc-how_to_use-defect-trends-and-prediction">
269
298
  <h4>Defect trends and prediction</h4>
270
- <div class="prose"><p><code>forgeqe defects</code> (or &quot;which defects keep coming back?&quot;) reads the suites saved in <code>suite.out_dir</code> and their <code>defect-history.json</code>, and writes <code>defect-trends.md</code> next to them: how many defects are still there, gone, or came back after a fix; the time they took to go away; the most seen ones with their bugs; defects by area (a page or an API route, by its path without ids); defects per suite; and how often predictions were right. The report's Defects page shows the same under <strong>Across runs</strong>.</p>
271
- <p><code>forgeqe defects predict [--repo DIR] [--base REF] [--head REF]</code> (or &quot;what can the changes since main break?&quot;) says where a change is likely to cause defects. It reads the change between the merge base of <code>base</code> (default: the remote's default branch, else <code>main</code> or <code>master</code>) and <code>head</code> in <code>defects.product_repo</code> (else the working directory). A change touches an area when it changes a file named after it (<code>server/cart.ts</code> for <code>/api/cart/:id</code>) or its diff mentions the route. Each touched area gets a score from what the saved suites know:</p>
299
+ <div class="prose"><p><strong>Defect trends.</strong> ForgeQE reads the suites saved in <code>suite.out_dir</code> and their <code>defect-history.json</code>, and writes <code>defect-trends.md</code> next to them:</p>
300
+ <ul>
301
+ <li>how many defects are still there, gone, or came back after a fix;</li>
302
+ <li>the time they took to go away;</li>
303
+ <li>the most seen ones, with their bugs;</li>
304
+ <li>defects by area (a page or an API route, by its path without ids), and defects per suite;</li>
305
+ <li>how often predictions were right.</li>
306
+ </ul>
307
+ <p>The report's Defects page shows the same under <strong>Across runs</strong>. At a terminal, run <code>forgeqe defects [--folder DIR]</code>; in a chat, ask &quot;which defects keep coming back?&quot;.</p>
308
+ <p><strong>Defect prediction.</strong> ForgeQE says where a change is likely to cause defects. At a terminal, run <code>forgeqe defects predict [--repo DIR] [--base REF] [--head REF]</code>; in a chat, ask &quot;what can the changes since main break?&quot;.</p>
309
+ <p>It reads the change between the merge base of <code>base</code> (default: the remote's default branch, else <code>main</code> or <code>master</code>) and <code>head</code>, in <code>defects.product_repo</code> (else the working directory). A change touches an area when it changes a file named after it (<code>server/cart.ts</code> for <code>/api/cart/:id</code>) or its diff mentions the route. Each touched area gets a score from what the saved suites know:</p>
272
310
  <div class="tbl tbl--cols-2"><table>
273
311
  <thead>
274
312
  <tr><th>Signal</th><th>Score</th></tr>
@@ -282,12 +320,12 @@
282
320
  <tr><td data-label="Signal">Its cases failed in 20% (50%) of recent runs</td><td data-label="Score">+1 (+2)</td></tr>
283
321
  </tbody>
284
322
  </table></div>
285
- <p>6 or more is high, 3 or more medium. It lists the cases that ended on the high and medium areas as the ones to run first, and the changed product code that no case reaches. It is a heuristic, not a trained model: each prediction is saved in <code>defect-predictions.json</code>, and the first suite after it scores it (did its defects fall in the areas rated medium or high; did the high areas get one), so <code>forgeqe defects</code> gives its accuracy.</p>
323
+ <p>6 or more is high, 3 or more medium. It lists the cases that ended on the high and medium areas as the ones to run first, and the changed product code that no case reaches.</p>
324
+ <p>It is a heuristic, not a trained model. Each prediction is saved in <code>defect-predictions.json</code>, and the first suite after it scores it (did its defects fall in the areas rated medium or high; did the high areas get one), so <code>forgeqe defects</code> gives its accuracy.</p>
286
325
  <p>Release readiness uses the defects too: a regression on a case in scope blocks the release (NO-GO), and a new defect with no bug is a risk.</p>
287
326
  </div>
288
327
  </section>
289
328
  </div>
290
- </article>
291
329
  <article class="spec feat" id="cap-security-smoke">
292
330
  <div class="hd"><span class="mono">Quality</span><h3>Passive security smoke checks</h3></div>
293
331
  <p class="ds">Reads what each browser run recorded for missing security headers, weak CSP, unsafe cookie flags, mixed content, open redirects, CORS with credentials, and keys in API answers; nothing is sent to the site.</p>
@@ -296,14 +334,22 @@
296
334
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a browser run on a test environment</span></li></ul></div>
297
335
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>security_findings</code></p></div>
298
336
  </div>
299
- <div class="detail"><span class="mono">In detail</span>
300
- <section class="doc" id="doc-how_to_use-security-smoke-checks">
337
+
338
+ </article>
339
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-security-smoke-checks">
301
340
  <h4>Security smoke checks</h4>
302
- <div class="prose"><p>Every browser run keeps, besides its API calls, each page it loaded with that page's own security headers, the cookies responses set (by name and flags, never a value), the redirects it followed and the http requests an https page made. <code>security_findings</code> (and Quality › Security in <code>forgeqe web</code>) reads that after the run: no CSP, weak CSP (<code>unsafe-inline</code>, <code>unsafe-eval</code>, <code>*</code>), no HSTS, no <code>nosniff</code>, a page any site can frame, no Referrer-Policy, session cookies without HttpOnly, cookies without Secure, <code>SameSite=None</code> without Secure, http requests from https pages, redirects to an address taken from the URL, CORS that lets any site read answers with credentials, and keys or tokens in API answers (named by kind, never repeated). Nothing is sent to the site, and runs on an environment named like production are not checked. These are smoke checks for test environments, not a security test.</p>
341
+ <div class="prose"><p>Every browser run keeps, besides its API calls:</p>
342
+ <ul>
343
+ <li>each page it loaded, with that page's own security headers;</li>
344
+ <li>the cookies responses set (by name and flags, never a value);</li>
345
+ <li>the redirects it followed, and the http requests an https page made.</li>
346
+ </ul>
347
+ <p>After the run, ForgeQE reads that for: no CSP, weak CSP (<code>unsafe-inline</code>, <code>unsafe-eval</code>, <code>*</code>), no HSTS, no <code>nosniff</code>, a page any site can frame, no Referrer-Policy, session cookies without HttpOnly, cookies without Secure, <code>SameSite=None</code> without Secure, http requests from https pages, redirects to an address taken from the URL, CORS that lets any site read answers with credentials, and keys or tokens in API answers (named by kind, never repeated).</p>
348
+ <p>Nothing is sent to the site, and runs on an environment named like production are not checked. These are smoke checks for test environments, not a security test.</p>
349
+ <p>In the web app, open <strong>Quality</strong> and press <strong>Security</strong>. In a chat or the shell, ask &quot;what security findings did the last run have?&quot;.</p>
303
350
  </div>
304
351
  </section>
305
352
  </div>
306
- </article>
307
353
  <article class="spec feat" id="cap-localization-checks">
308
354
  <div class="hd"><span class="mono">Quality</span><h3>Localization checks</h3></div>
309
355
  <p class="ds">Finds translation keys shown as text, English left on pages in another language, cut-off text, and what breaks with longer pseudo-localized text or right to left, on every page a run visits.</p>
@@ -312,14 +358,21 @@
312
358
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a browser run in each language</span></li></ul></div>
313
359
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>localization_findings</code></p></div>
314
360
  </div>
315
- <div class="detail"><span class="mono">In detail</span>
316
- <section class="doc" id="doc-how_to_use-localization-checks">
361
+
362
+ </article>
363
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-localization-checks">
317
364
  <h4>Localization checks</h4>
318
- <div class="prose"><p>With accessibility checks on (the default), each page a browser run visits is checked for its language: translation keys shown as text (<code>checkout.button.pay</code>, <code>{{name}}</code>, &quot;missing translation&quot;), English left on a page whose <code>lang</code> is another language, and text cut off or running past its box. Then, for a moment the run never sees, the page is shown with pseudo-localized text (accented and a third longer) and right to left, measured and captured, and put back. <code>localization_findings</code> (and Quality › Localization) lists what each page showed and what breaks only once text grows or is mirrored. Run a flow once in each language your site has.</p>
365
+ <div class="prose"><p>With accessibility checks on (the default), each page a browser run visits is checked for its language:</p>
366
+ <ul>
367
+ <li>translation keys shown as text (<code>checkout.button.pay</code>, <code>{{name}}</code>, &quot;missing translation&quot;);</li>
368
+ <li>English left on a page whose <code>lang</code> is another language;</li>
369
+ <li>text cut off or running past its box.</li>
370
+ </ul>
371
+ <p>Then, for a moment the run never sees, the page is shown with pseudo-localized text (accented and a third longer) and right to left, measured and captured, and put back. The findings list what each page showed, and what breaks only once text grows or is mirrored. Run a flow once in each language your site has.</p>
372
+ <p>In the web app, open <strong>Quality</strong> and press <strong>Localization</strong>. In a chat or the shell, ask for the localization findings of a run.</p>
319
373
  </div>
320
374
  </section>
321
375
  </div>
322
- </article>
323
376
  <article class="spec feat" id="cap-responsive-check">
324
377
  <div class="hd"><span class="mono">Quality</span><h3>Responsive check</h3></div>
325
378
  <p class="ds">Opens one page on several phones, tablets and desktops at once and says where it scrolls sideways, what runs past the screen, text that is too small and tap targets that are too small, with a screenshot of each device.</p>
@@ -328,31 +381,40 @@
328
381
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a page's address, or a web app in env.yaml</span></li></ul></div>
329
382
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>responsive_check</code></p></div>
330
383
  </div>
331
- <div class="detail"><span class="mono">In detail</span>
332
- <section class="doc" id="doc-how_to_use-responsive-preview">
384
+
385
+ </article>
386
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-responsive-preview">
333
387
  <h4>Responsive preview</h4>
334
- <div class="prose"><p>The <strong>Responsive</strong> page (Specialised testing) runs one page on up to twelve phones, tablets and desktops at once, in ForgeQE's own headless browser on this computer, with nobody watching. Each device is emulated in full (its CSS size, pixel ratio, touch, mobile viewport and user agent), in a browser context of its own, so a site that reads the user agent or <code>pointer: coarse</code> lays out as it would there; every device is drawn by Chromium, so a Safari-only difference does not show. The page has an <strong>Agent</strong> tab and a <strong>Runs</strong> tab; <strong>New</strong> starts a run in four steps:</p>
388
+ <div class="prose"><p>The <strong>Responsive</strong> page runs one page on up to twelve phones, tablets and desktops at once, in ForgeQE's own headless browser on this computer, with nobody watching.</p>
389
+ <ul>
390
+ <li>Each device is emulated in full (its CSS size, pixel ratio, touch, mobile viewport and user agent), in a browser context of its own, so a site that reads the user agent or <code>pointer: coarse</code> lays out as it would there.</li>
391
+ <li>Every device on this computer is drawn by Chromium, so a Safari-only difference does not show.</li>
392
+ </ul>
393
+ <p><strong>Running a responsive preview.</strong> This is done in the web app only:</p>
335
394
  <ol>
395
+ <li>Open <strong>Responsive</strong> (Quality Engineering › Specialised testing). It has an <strong>Agent</strong> tab and a <strong>Runs</strong> tab. Press <strong>New</strong>.</li>
336
396
  <li><strong>Page and devices.</strong> The address starts as the active environment's web app. Pick the devices, and where they run: <strong>This computer</strong>, or BrowserStack or TestMu AI once their sign-in is set (<code>BROWSERSTACK_USERNAME</code> and <code>BROWSERSTACK_ACCESS_KEY</code>, or <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code>). On a cloud, <strong>Emulated in a browser</strong> shows the devices in one Chrome, Edge, Firefox or WebKit session; <strong>Real devices</strong> lists the cloud's own phones and tablets (Android, and iOS 17 and later), up to six, each its own session. A page on this computer or its network never goes to a cloud.</li>
337
397
  <li><strong>What to do.</strong> One prompt, written as you would tell a tester, with up to three <code>.txt</code>, <code>.md</code>, <code>.csv</code> or <code>.feature</code> files attached. A test case from test management or a saved prompt can fill it; <strong>Save</strong> keeps a prompt in <code>.forgeqe/responsive/flows/</code>. When the run starts, Prism reads the prompt as steps and checks (without a model, each line or sentence is a step) and plans each step for each layout from what its screen shows.</li>
338
398
  <li><strong>What to check.</strong> The built-in checks (<strong>Scrolls sideways</strong>, <strong>Text under 12px</strong>, <strong>Tap targets under 24px</strong>, <strong>Broken images</strong>) and up to eight of your own in words (&quot;The cart total shows without scrolling&quot;). Your own check fails only with a quote found on that screen; without a model it is not judged.</li>
339
399
  <li><strong>Review</strong>, then <strong>Start</strong>.</li>
340
400
  </ol>
341
- <p>Each step is done on every device in turn, and the checks run after every step, with a screenshot of each device. While it runs, the run's page shows <strong>Findings</strong>, <strong>Devices</strong> (each device's last step and screenshot) and <strong>Log and errors</strong>, with <strong>Stop</strong> (what was done is kept). A finished run shows <strong>Steps</strong>, <strong>Findings</strong> (High, Medium or Low; a row opens the finding with its screenshot), <strong>Screenshots</strong> and <strong>Log and errors</strong>. Runs are kept in the reports folder as <code>responsive/&lt;run id&gt;/</code>. One run goes at a time, and a run on a site of an environment named like production is refused.</p>
401
+ <p><strong>While it runs and after.</strong> Each step is done on every device in turn, and the checks run after every step, with a screenshot of each device.</p>
342
402
  <ul>
343
- <li><code>responsive_check</code> (or &quot;does the checkout work on phones?&quot;) opens a page on several devices, says where it scrolls sideways and which elements run past the screen, text under 12px and tap targets under 24px, and saves a screenshot of each device in <code>responsive-&lt;time&gt;/</code> in the reports folder. It clicks and types nothing.</li>
403
+ <li>While it runs, the run's page shows <strong>Findings</strong>, <strong>Devices</strong> (each device's last step and screenshot) and <strong>Log and errors</strong>, with <strong>Stop</strong> (what was done is kept).</li>
404
+ <li>A finished run shows <strong>Steps</strong>, <strong>Findings</strong> (High, Medium or Low; a row opens the finding with its screenshot), <strong>Screenshots</strong> and <strong>Log and errors</strong>.</li>
405
+ <li>Runs are kept in the reports folder as <code>responsive/&lt;run id&gt;/</code>. One run goes at a time, and a run on a site of an environment named like production is refused.</li>
344
406
  </ul>
407
+ <p><strong>A quick check from a chat.</strong> Ask &quot;does the checkout work on phones?&quot; in a chat or the shell. ForgeQE opens a page on several devices, says where it scrolls sideways and which elements run past the screen, text under 12px and tap targets under 24px, and saves a screenshot of each device in <code>responsive-&lt;time&gt;/</code> in the reports folder. It clicks and types nothing.</p>
345
408
  </div>
346
409
  </section>
347
410
  </div>
348
- </article>
349
411
 
350
412
  <nav class="pager" aria-label="Previous and next">
351
413
  <a class="prev" href="../area-api/index.html"><small>Previous</small><span>API testing</span></a>
352
414
  <a class="next" href="../area-desktop/index.html"><small>Next</small><span>Desktop apps</span></a>
353
415
  </nav>
354
416
  </main>
355
- <aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#doc-how_to_use-accessibility-and-performance-budgets">Accessibility and performance budgets</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#doc-how_to_use-visual-comparison">Visual comparison</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#doc-how_to_use-defect-trends-and-prediction">Defect trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#doc-how_to_use-security-smoke-checks">Security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#doc-how_to_use-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li><li><a href="#doc-how_to_use-responsive-preview">Responsive preview</a></li></ul></aside>
417
+ <aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-accessibility-performance">Accessibility and page performance</a></li><li><a href="#cap-accessibility-personas">Accessibility testing with personas</a></li><li><a href="#cap-visual-comparison">Visual comparison with baselines</a></li><li><a href="#cap-defect-intelligence">Defect intelligence: trends and prediction</a></li><li><a href="#cap-security-smoke">Passive security smoke checks</a></li><li><a href="#cap-localization-checks">Localization checks</a></li><li><a href="#cap-responsive-check">Responsive check</a></li></ul></aside>
356
418
  </div>
357
419
  <footer class="foot">
358
420
  <div class="container foot__row">