@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.
- package/HOW_TO_USE.md +5003 -2077
- package/README.md +155 -449
- package/dist/docs-site/docs/app-theme.css +30 -9
- package/dist/docs-site/docs/architecture/index.html +45 -515
- package/dist/docs-site/docs/architecture-reference/index.html +1781 -0
- package/dist/docs-site/docs/area-api/index.html +257 -116
- package/dist/docs-site/docs/area-automated-tests/index.html +1229 -419
- package/dist/docs-site/docs/area-browser/index.html +167 -125
- package/dist/docs-site/docs/area-data/index.html +178 -188
- package/dist/docs-site/docs/area-desktop/index.html +329 -282
- package/dist/docs-site/docs/area-mobile/index.html +138 -86
- package/dist/docs-site/docs/area-operations/index.html +567 -393
- package/dist/docs-site/docs/area-pull-requests/index.html +114 -32
- package/dist/docs-site/docs/area-quality/index.html +111 -49
- package/dist/docs-site/docs/area-release/index.html +180 -65
- package/dist/docs-site/docs/area-setup/index.html +742 -339
- package/dist/docs-site/docs/area-systems/index.html +32 -48
- package/dist/docs-site/docs/area-test-cases/index.html +387 -154
- package/dist/docs-site/docs/containers/index.html +87 -101
- package/dist/docs-site/docs/cost-architecture/index.html +4 -3
- package/dist/docs-site/docs/custom-agents-first-run/index.html +108 -50
- package/dist/docs-site/docs/desktop/index.html +277 -297
- package/dist/docs-site/docs/desktop-ci/index.html +15 -5
- package/dist/docs-site/docs/docs-tabs.js +56 -0
- package/dist/docs-site/docs/evidence/index.html +50 -49
- package/dist/docs-site/docs/feature-test-prompts/index.html +34 -24
- package/dist/docs-site/docs/get-started/index.html +464 -168
- package/dist/docs-site/docs/graphify/index.html +8 -7
- package/dist/docs-site/docs/guardrails/index.html +20 -4
- package/dist/docs-site/docs/index.html +4 -3
- package/dist/docs-site/docs/mobile/index.html +96 -76
- package/dist/docs-site/docs/model-routing/index.html +44 -18
- package/dist/docs-site/docs/overview/index.html +23 -7
- package/dist/docs-site/docs/product-graph/index.html +13 -12
- package/dist/docs-site/docs/product-knowledge/index.html +16 -5
- package/dist/docs-site/docs/product-views/index.html +7 -6
- package/dist/docs-site/docs/reference/index.html +95 -65
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/using/index.html +444 -126
- package/dist/docs-site/docs/web-app/index.html +54 -51
- package/dist/forgeqe.js +1822 -1822
- package/dist/web/assets/Agent-3pV8Rwap.js +8 -0
- package/dist/web/assets/AgentWork-DAnmH0My.js +2 -0
- package/dist/web/assets/ApiTests-DW4MRFzG.js +10 -0
- package/dist/web/assets/Browse-Bd0ZZfc2.js +1 -0
- package/dist/web/assets/Chat-DnBUm_97.js +3 -0
- package/dist/web/assets/CommandPalette-B1O9aDTk.js +1 -0
- package/dist/web/assets/Compare-1v7_ca7z.js +1 -0
- package/dist/web/assets/Cost-CWrc4McH.js +1 -0
- package/dist/web/assets/Data-rWSiG4Cq.js +6 -0
- package/dist/web/assets/Desktop-3x6EQqos.js +1 -0
- package/dist/web/assets/DesktopReview-cSA10Rm3.js +1 -0
- package/dist/web/assets/Evidence-CKy3o7cw.js +1 -0
- package/dist/web/assets/{Explore-ObkEpUyS.js → Explore-CMAxWE_8.js} +2 -2
- package/dist/web/assets/Features-haQchkhA.js +1 -0
- package/dist/web/assets/{Flags-0-RniPJm.js → Flags-BaQjYi_t.js} +2 -2
- package/dist/web/assets/Flaky-DUuC0qTn.js +1 -0
- package/dist/web/assets/Impact-CP0H8ygo.js +3 -0
- package/dist/web/assets/Jobs-cYxoYd3i.js +5 -0
- package/dist/web/assets/KindPage-DWW8gN5_.js +6 -0
- package/dist/web/assets/Migration-Bsm7WU1d.js +2 -0
- package/dist/web/assets/PageAgent-c95zT2PJ.js +1 -0
- package/dist/web/assets/Product-BQSiR28a.js +7 -0
- package/dist/web/assets/Production-CAv0Vtoy.js +1 -0
- package/dist/web/assets/Quality-aQPaPYQc.js +1 -0
- package/dist/web/assets/Readiness-CkknP87n.js +1 -0
- package/dist/web/assets/Record-09IsC9U-.js +1 -0
- package/dist/web/assets/Regression-BL4MfN47.js +5 -0
- package/dist/web/assets/RelationGraph-Dg4fqt7l.js +1 -0
- package/dist/web/assets/Reports-CMV1l-iS.js +2 -0
- package/dist/web/assets/Response-DTBFBeKB.js +9 -0
- package/dist/web/assets/Responsive-DBRQ9FUO.js +3 -0
- package/dist/web/assets/RunDiff-CMDrnsA3.js +1 -0
- package/dist/web/assets/Runs-Dkeu6_vZ.js +2 -0
- package/dist/web/assets/Settings-KjKm8h-_.js +21 -0
- package/dist/web/assets/{Steps-D-YG0eJy.js → Steps-HYHK9psI.js} +1 -1
- package/dist/web/assets/TestCases-Cv6-OSv0.js +1 -0
- package/dist/web/assets/TestData-DbEfNlUE.js +2 -0
- package/dist/web/assets/TestDebt-DzHQIU4X.js +1 -0
- package/dist/web/assets/TestManagement-BgRTGHMT.js +1 -0
- package/dist/web/assets/Tosca-DZpHAtnH.js +3 -0
- package/dist/web/assets/WhatsNew-jp0c4WSV.js +1 -0
- package/dist/web/assets/coverage-BB9BLjGz.js +5 -0
- package/dist/web/assets/{dataParts-DbeCj9ga.js → dataParts-DEPK4eQE.js} +2 -2
- package/dist/web/assets/{diff-BStuTmsN.js → diff-CcNwLCX6.js} +1 -1
- package/dist/web/assets/{families-BBFFrUlo.js → families-gkpkloLT.js} +1 -1
- package/dist/web/assets/filters-C7phIFfd.js +1 -0
- package/dist/web/assets/fold-i73P-EDV.js +1 -0
- package/dist/web/assets/head-BtTqyLlj.js +1 -0
- package/dist/web/assets/{highlight-BcFZIf59.js → highlight-DZI39CzZ.js} +1 -1
- package/dist/web/assets/index-ClFOh63x.css +2 -0
- package/dist/web/assets/index-YGWJEkAT.js +64 -0
- package/dist/web/assets/input-C2vQ9O3a.js +1 -0
- package/dist/web/assets/logos-BmbNTDu2.js +1 -0
- package/dist/web/assets/palette-XFlqvgZl.js +1 -0
- package/dist/web/assets/{paletteCommands-Co-RlQ8q.js → paletteCommands-DsbD2ASU.js} +1 -1
- package/dist/web/assets/parts-DEVx2Sea.js +1 -0
- package/dist/web/assets/productParts-Bi-XjszL.js +1 -0
- package/dist/web/assets/qualityParts-Dbu01g7G.js +1 -0
- package/dist/web/assets/{recordTest-Cez2sDJO.js → recordTest--Wr40QdN.js} +1 -1
- package/dist/web/assets/route-Dg53WdFu.js +1 -0
- package/dist/web/index.html +6 -7
- package/docs/ARCHITECTURE.md +50 -563
- package/docs/ARCHITECTURE_REFERENCE.md +1484 -0
- package/docs/CONTAINERS.md +87 -87
- package/docs/CUSTOM_AGENTS_FIRST_RUN.md +125 -43
- package/docs/DESKTOP-CI.md +18 -3
- package/docs/DESKTOP.md +298 -297
- package/docs/MOBILE.md +103 -71
- package/docs/MODEL_ROUTING.md +48 -15
- package/docs/WEB_APP.md +49 -44
- package/docs/feature-test-prompts.md +29 -16
- package/docs/user-guide.html +5263 -2453
- package/guardrails/README.md +22 -2
- package/knowledge/README.md +15 -2
- package/package.json +1 -1
- package/prompts/brain.md +1 -0
- package/py/forgeqe_engine/recordsession.py +100 -24
- package/dist/web/assets/Agent-CPhmZdFX.js +0 -8
- package/dist/web/assets/AgentWork-BXdN9xgi.js +0 -2
- package/dist/web/assets/ApiTests-Do3xLjfB.js +0 -10
- package/dist/web/assets/Browse-WVkJT6Bs.js +0 -2
- package/dist/web/assets/Chat-CDc9UcQX.js +0 -3
- package/dist/web/assets/CommandPalette-BAZm62lV.js +0 -1
- package/dist/web/assets/Compare-Br6n9T9L.js +0 -1
- package/dist/web/assets/Cost-BBUyBu3Y.js +0 -1
- package/dist/web/assets/Data-Ch2DPEWp.js +0 -6
- package/dist/web/assets/Desktop-Qzoq-cQv.js +0 -1
- package/dist/web/assets/DesktopReview-CF_jQYAM.js +0 -1
- package/dist/web/assets/Evidence-C72Lj5_Q.js +0 -1
- package/dist/web/assets/Features-CQzNo_WP.js +0 -1
- package/dist/web/assets/Flaky-BPJvNLCA.js +0 -1
- package/dist/web/assets/Impact-CfccsL_k.js +0 -3
- package/dist/web/assets/Jobs-T6m4zhDy.js +0 -5
- package/dist/web/assets/KindPage-BDUvWe2p.js +0 -6
- package/dist/web/assets/Migration-Dqeh4x5u.js +0 -2
- package/dist/web/assets/PageAgent-DNjzIgeY.js +0 -1
- package/dist/web/assets/Product-nYV_scOV.js +0 -7
- package/dist/web/assets/Production-CGSbEWVa.js +0 -1
- package/dist/web/assets/Quality-BIypojZm.js +0 -1
- package/dist/web/assets/Readiness-BlRjwJRg.js +0 -1
- package/dist/web/assets/Record-v2KLI-_Z.js +0 -1
- package/dist/web/assets/Regression-B-jSt4Jz.js +0 -5
- package/dist/web/assets/RelationGraph-8J98lOVG.js +0 -1
- package/dist/web/assets/Reports-GI4u6SyW.js +0 -2
- package/dist/web/assets/Response-mhBThq2b.js +0 -9
- package/dist/web/assets/Responsive-DXu7Ra7K.js +0 -3
- package/dist/web/assets/RunDiff-D0SHDNp0.js +0 -1
- package/dist/web/assets/Runs-C1Gjdi9M.js +0 -2
- package/dist/web/assets/Settings-BGGeuvyF.js +0 -21
- package/dist/web/assets/TestCases-DC4w77eQ.js +0 -1
- package/dist/web/assets/TestData-CvKWRVVV.js +0 -2
- package/dist/web/assets/TestDebt-D8YzN29_.js +0 -1
- package/dist/web/assets/TestManagement-C5cDCqrD.js +0 -1
- package/dist/web/assets/Tosca-BGUv3RiJ.js +0 -3
- package/dist/web/assets/WhatsNew-B_Gyuv8O.js +0 -1
- package/dist/web/assets/coverage-BMP6ELFJ.js +0 -5
- package/dist/web/assets/filters-CnAMr286.js +0 -1
- package/dist/web/assets/fold-D_O_VZui.js +0 -1
- package/dist/web/assets/head-CRo48rPt.js +0 -1
- package/dist/web/assets/index-B3JsM7tv.js +0 -64
- package/dist/web/assets/index-CafApcbZ.css +0 -2
- package/dist/web/assets/input-CtzK50ZF.js +0 -1
- package/dist/web/assets/line-icons-rdF8DYDJ.js +0 -1
- package/dist/web/assets/logos-D4oVWzqa.js +0 -1
- package/dist/web/assets/palette-DAaGSao7.js +0 -1
- package/dist/web/assets/parts-D357Wolo.js +0 -1
- package/dist/web/assets/productParts-B8oHRCJF.js +0 -1
- package/dist/web/assets/qualityParts-BLkmIfDY.js +0 -1
- 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,11 +113,11 @@
|
|
|
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="index.html" aria-current="page"><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="../area-quality/index.html"><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
|
|
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="index.html" aria-current="page"><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="../area-quality/index.html"><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="index.html" aria-current="page"><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="../area-quality/index.html"><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
|
|
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="index.html" aria-current="page"><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="../area-quality/index.html"><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-browser-goals">Run any goal in a real browser</a></li><li><a href="#cap-logins">Saved logins for the application under test</a></li><li><a href="#cap-record-web">Record a web test by hand</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-browser-agent"/></svg>Browser testing</h1>
|
|
121
122
|
<p class="guide-lead">Goals carried out in a real browser, and the logins they use</p>
|
|
122
123
|
<article class="spec feat" id="cap-browser-goals">
|
|
@@ -128,9 +129,10 @@
|
|
|
128
129
|
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Web applications only: local Chrome or Chromium, or configured remote web grids such as BrowserStack and TestMu AI/LambdaTest; not native mobile or desktop applications.</li></ul></div>
|
|
129
130
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>browser_run</code> <code>run_details</code> <code>page_memory</code> <code>browser_devices</code></p></div>
|
|
130
131
|
</div>
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
<
|
|
132
|
+
|
|
133
|
+
</article>
|
|
134
|
+
<div class="feat-detail"><p class="see">See <a href="../using/index.html#doc-how_to_use-4-without-the-shell">4. Without the shell</a>.</p>
|
|
135
|
+
<section class="doc" data-topic id="doc-how_to_use-5-page-memory">
|
|
134
136
|
<h4>Page memory</h4>
|
|
135
137
|
<div class="prose"><p>Live runs build a memory of the pages they visit, next to <code>forgeqe.yaml</code>. With no config file it goes to <code>~/.forgeqe/memory</code> (under <code>FORGEQE_HOME</code> when that is set), so runs from any folder share one memory.</p>
|
|
136
138
|
<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">memory:
|
|
@@ -138,24 +140,54 @@
|
|
|
138
140
|
</span></span><span class="ln"><span class="cmd"> dir: ./.forgeqe/memory
|
|
139
141
|
</span></span><span class="ln ln--pair"><span class="cmd"> replay: verify</span><span class="pad"> </span><span class="cm"><span class="h">#</span> verify | trust | off
|
|
140
142
|
</span></span></code></pre></div>
|
|
143
|
+
<p>In the web app these are <strong>Settings › Reports and memory › Memory and replays</strong>: <strong>Remember pages and flows</strong>,
|
|
144
|
+
<strong>Memory folder</strong> and <strong>Replays</strong> (<strong>Verify</strong>, <strong>Trust</strong>, <strong>Off</strong>).</p>
|
|
141
145
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">.forgeqe/memory/
|
|
142
146
|
</span></span><span class="ln"><span class="cmd"> pages/<host>/<path>.json every interactive element on the page and its locators
|
|
143
147
|
</span></span><span class="ln"><span class="cmd"> flows/<goal>-<hash>.json the steps of a goal that passed, for replay
|
|
144
148
|
</span></span><span class="ln"><span class="cmd"> scribe-notes.json what the coding agent learned about each repo, and the tests it wrote there
|
|
145
149
|
</span></span></code></pre></div>
|
|
146
|
-
<p>Each page file lists its elements with every locator ForgeQE can build for them: test id, id,
|
|
150
|
+
<p><strong>Pages and locators.</strong> Each page file lists its elements with every locator ForgeQE can build for them: test id, id,
|
|
151
|
+
role and name, label, placeholder, alt, title, href, text, CSS, and XPath.</p>
|
|
152
|
+
<ul>
|
|
153
|
+
<li>Each locator has a Playwright string, a confidence %, and its evidence: how many visits it matched on, how often it
|
|
154
|
+
went missing, and how often it worked or failed when used.</li>
|
|
155
|
+
<li>Elements and pages carry <code>first_seen</code>, <code>last_seen</code>, <code>last_used</code>, and <code>last_updated</code>.</li>
|
|
156
|
+
<li>Paths with ids in them share one file (<code>/hotel/*</code>), and query strings are ignored.</li>
|
|
157
|
+
</ul>
|
|
147
158
|
<p>Confidence starts from the locator kind (a test id or role and name ranks above text, CSS, and XPath). It is lower when the locator matches more than one element or looks generated (<code>#ember123</code>, hashed class names). It rises as the locator keeps matching over visits and works when used, and it drops when the locator goes missing or fails.</p>
|
|
148
159
|
<p>How memory saves time and tokens:</p>
|
|
149
160
|
<ul>
|
|
150
161
|
<li><strong>Replay.</strong> Running a goal that passed before replays its recorded steps directly in the browser, with no model calls. A different goal replays nothing: the agent gets the steps of earlier runs on the site, and the controls that worked there, as hints, and decides itself which of them (a banner, a sign-in, a search form) apply to its task, so a new task does not re-explore the setup. Each step finds its element by the highest-confidence locator that still matches exactly one element, then by the element's fingerprint, so a renamed button or a changed id still resolves. The transcript marks these steps <code>↻</code> and shows the locator used (<code>click "Search" [role 88%]</code>).</li>
|
|
151
|
-
<li><strong>The site's rulebook.</strong> Page memory keeps what worked; the rulebook keeps what did not.
|
|
162
|
+
<li><strong>The site's rulebook.</strong> Page memory keeps what worked; the rulebook keeps what did not.
|
|
163
|
+
<ul>
|
|
164
|
+
<li>When an action fails during a run and the agent then finds one that works, it may end its answer with a line or two starting <code>Lesson:</code> ("On the booking page, type the date in the Check-in field; clicking a day in the calendar does nothing").</li>
|
|
165
|
+
<li>ForgeQE keeps a lesson only when that run passed, in <code>rules/<host>.json</code> in page memory. Every later run that starts on that site gets the rules, so it does not spend steps on the same dead end. The lesson lines are taken out of the run's summary.</li>
|
|
166
|
+
<li>The book works like Quill's rulebook (under Keeping Quill's cost down): at most 15 one-line rules, merged when learned again, the least confirmed and oldest dropped first, expired after 180 days unconfirmed. A rule with a link, a token, a destructive command, or wording that drops instructions is refused.</li>
|
|
167
|
+
<li>ForgeQE says each new rule (<code>Learned for this site: …</code>).</li>
|
|
168
|
+
<li><code>browser.rulebook: false</code> (<strong>Settings › Browser › Learn rules per site</strong>) turns it off; with page memory off there is none.</li>
|
|
169
|
+
</ul>
|
|
170
|
+
</li>
|
|
152
171
|
<li><strong>Hand-off.</strong> With <code>replay: verify</code> (the default) the agent then looks at the page once and confirms the result. <code>replay: trust</code> finishes without the model when every step of this same task replayed. When a step cannot be found, the agent continues from that point instead of starting over. <code>replay: off</code> records memory but never replays.</li>
|
|
153
|
-
<li><strong>Failed runs.</strong> A run that fails keeps the steps that worked before it went wrong (<code>resume.json</code> in its run folder, and in the task's flow). Running the same task again replays them and the agent picks up at the point of failure, told what went wrong last time. When ForgeQE's agent retries a failed goal with different wording, it passes the failed run
|
|
154
|
-
<li><strong>Cut-off runs.</strong> After every step, a run saves the steps that worked so far and the page memory it has learned, so nothing is lost if ForgeQE is closed, the machine restarts, or the run is stopped. Running the same task again replays those steps and the agent carries on from there
|
|
172
|
+
<li><strong>Failed runs.</strong> A run that fails keeps the steps that worked before it went wrong (<code>resume.json</code> in its run folder, and in the task's flow). Running the same task again replays them and the agent picks up at the point of failure, told what went wrong last time. When ForgeQE's agent retries a failed goal with different wording, it passes on the failed run, so the retry starts from the same point instead of step 1.</li>
|
|
173
|
+
<li><strong>Cut-off runs.</strong> After every step, a run saves the steps that worked so far and the page memory it has learned, so nothing is lost if ForgeQE is closed, the machine restarts, or the run is stopped. Running the same task again replays those steps and the agent carries on from there. The folder of the cut-off run also has <code>resume.json</code>, so a retry can start from it too. When the model can't be reached (the connection dropped), the run ends as failed and keeps its steps the same way. A run that finishes removes the saved point.</li>
|
|
155
174
|
<li><strong>Hints.</strong> The agent's prompt includes the steps that worked last time on the same site and the controls those runs used, and tells the agent to do them in one turn instead of exploring the page.</li>
|
|
156
175
|
<li><strong>Tests.</strong> The coding agent gets each element's best locator from memory in <code>handoff.md</code>.</li>
|
|
157
176
|
</ul>
|
|
158
177
|
<p>A run that fails keeps the last good flow and counts the failure. A stopped run changes nothing. Password fields are never stored, and a value typed from <code>FORGEQE_ENGINE_DEFAULT_LOGIN_USERNAME</code> or <code>FORGEQE_ENGINE_DEFAULT_LOGIN_PASSWORD</code> is stored as the variable name and read from the environment on replay. Replay also stops before a step whose value cannot be restored, and the agent does it.</p>
|
|
178
|
+
<p><strong>Seeing and clearing memory.</strong> In a chat (web app or shell), ask ("what does page memory know about booking.com?") and
|
|
179
|
+
the agent looks it up.</p>
|
|
180
|
+
<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>
|
|
181
|
+
<ol>
|
|
182
|
+
<li>Open <strong>Memory</strong> (Knowledge › Memory). It shows how many flows, pages and sites memory holds, and how many steps of
|
|
183
|
+
recent runs came from memory.</li>
|
|
184
|
+
<li>Pick <strong>Flows</strong> or <strong>Pages</strong>, a <strong>Site</strong>, or search. Flows filter by <strong>Replaying</strong>, <strong>Failed last time</strong> and <strong>Never
|
|
185
|
+
passed</strong>.</li>
|
|
186
|
+
<li>Open a flow to see its steps and runs.</li>
|
|
187
|
+
<li>To clear, press <strong>Clear</strong> (this site, or everything), or <strong>Forget</strong> on one flow or page. ForgeQE asks first, then
|
|
188
|
+
says what it removed.</li>
|
|
189
|
+
</ol>
|
|
190
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
159
191
|
<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 memory</span><span class="pad"> </span><span class="cm"><span class="h">#</span> hosts with page, element, and flow counts
|
|
160
192
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe memory show booking.com</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the host's pages
|
|
161
193
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe memory show https://app.test/login</span><span class="pad"> </span><span class="cm"><span class="h">#</span> elements, confidence, best locator
|
|
@@ -166,12 +198,11 @@
|
|
|
166
198
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe memory clear courier --yes</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a mobile or desktop app's memory
|
|
167
199
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe memory stats</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how often memory stood in for the model, per area
|
|
168
200
|
</span></span></code></pre></div>
|
|
169
|
-
<p>
|
|
170
|
-
|
|
201
|
+
<p>For one run, <code>--replay verify|trust|off</code> overrides the config and <code>--no-memory</code> turns memory off.</p>
|
|
202
|
+
</div></div><p><strong>Sharing memory.</strong> Commit <code>.forgeqe/memory</code> to share it with a team or CI, or add <code>.forgeqe/</code> to <code>.gitignore</code> to keep it local.</p>
|
|
171
203
|
</div>
|
|
172
204
|
</section>
|
|
173
205
|
</div>
|
|
174
|
-
</article>
|
|
175
206
|
<article class="spec feat" id="cap-logins">
|
|
176
207
|
<div class="hd"><span class="mono">Browser</span><h3>Saved logins for the application under test</h3></div>
|
|
177
208
|
<p class="ds">Signs the browser agent in with saved credentials (including TOTP) and reuses the session; a user can also sign in by hand once in a browser.</p>
|
|
@@ -180,10 +211,12 @@
|
|
|
180
211
|
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
181
212
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>logins</code></p></div>
|
|
182
213
|
</div>
|
|
183
|
-
|
|
184
|
-
|
|
214
|
+
|
|
215
|
+
</article>
|
|
216
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-signing-in">
|
|
185
217
|
<h4>Signing in</h4>
|
|
186
|
-
<div class="prose"><
|
|
218
|
+
<div class="prose"><p>Saved logins are set in <strong>Settings › Sign-ins</strong> (press <strong>Add</strong>), or in <code>logins:</code> in forgeqe.yaml. Passwords go to your credential store; the model sees only a placeholder.</p>
|
|
219
|
+
<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">logins:
|
|
187
220
|
</span></span><span class="ln"><span class="cmd"> shop:
|
|
188
221
|
</span></span><span class="ln ln--pair"><span class="cmd"> url: https://staging.shop.test/login</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or domains: [https://staging.shop.test, https://*.shop.test]
|
|
189
222
|
</span></span><span class="ln"><span class="cmd"> username_env: SHOP_USER
|
|
@@ -191,9 +224,15 @@
|
|
|
191
224
|
</span></span><span class="ln ln--pair"><span class="cmd"> totp_env: SHOP_TOTP_SECRET</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional: the authenticator secret (base32), for 2FA codes
|
|
192
225
|
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> save_session: false # sign in on every run
|
|
193
226
|
</span></span></code></pre></div>
|
|
194
|
-
<p>
|
|
195
|
-
<
|
|
196
|
-
<
|
|
227
|
+
<p><strong>How a login is used.</strong></p>
|
|
228
|
+
<ul>
|
|
229
|
+
<li>The browser agent is told which placeholders exist (<code>shop_username</code>, <code>shop_password</code>, <code>shop_bu_2fa_code</code>) and types them. The real values are swapped in only on the matching domains, and masked in everything the model sees.</li>
|
|
230
|
+
<li>For TOTP, a fresh code is computed at the moment it is typed.</li>
|
|
231
|
+
<li>After each step ForgeQE saves the site's cookies and local storage to <code>.forgeqe/sessions/<name>.json</code> (private to your user, with its own <code>.gitignore</code>), and the next run starts signed in.</li>
|
|
232
|
+
<li>Page memory records the variable names, not the values, so replays type the current values and fresh codes, and tests the coding agent writes read <code>SHOP_PASSWORD</code> from the environment.</li>
|
|
233
|
+
<li>A test written from a run that typed a one-time code makes its own code from <code>SHOP_TOTP_SECRET</code> at the moment it types it (<code>otplib</code>, <code>pyotp</code>, Otp.NET, or the repository's own helper), and never holds a code or the secret.</li>
|
|
234
|
+
</ul>
|
|
235
|
+
<p><strong>Codes sent by email or text message.</strong> Tell ForgeQE where the code arrives, and it reads the code there and types it. In <strong>Settings › Sign-ins</strong>, these are the fields from the login's code choice (<strong>Email (a test mailbox, IMAP)</strong>, <strong>Text message (Twilio)</strong> or <strong>The test environment's address</strong>):</p>
|
|
197
236
|
<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">logins:
|
|
198
237
|
</span></span><span class="ln"><span class="cmd"> shop:
|
|
199
238
|
</span></span><span class="ln"><span class="cmd"> url: https://staging.shop.test/login
|
|
@@ -211,12 +250,12 @@
|
|
|
211
250
|
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> code_wait: 90 # seconds to wait for the message
|
|
212
251
|
</span></span></code></pre></div>
|
|
213
252
|
<ul>
|
|
214
|
-
<li><strong>Email</strong> reads a test mailbox (Gmail or Outlook with an app password, Mailpit, any IMAP server) read-only, and takes the newest message since the code was asked for. <strong>Text message</strong> reads the messages to a Twilio test number. <strong>http</strong> reads a test environment's own endpoint that answers with the latest code (as text or JSON), such as a Mailpit or Mailosaur API or a QA back door.</li>
|
|
215
|
-
<li><strong>The agent never sees the code.</strong> When the page asks for it, the browser agent
|
|
216
|
-
<li><strong>Replays and tests.</strong> The step is recorded as "type the code shop's site sent", never the code. Replays and Re-runs read a fresh one. A test written from the run calls <code>forgeqe login code shop --since <time></code> with an argument list and types what it prints
|
|
217
|
-
<li><strong>The variables</strong> are test credentials, like the login's password: the browser
|
|
253
|
+
<li><strong>Where codes are read.</strong> <strong>Email</strong> reads a test mailbox (Gmail or Outlook with an app password, Mailpit, any IMAP server) read-only, and takes the newest message since the code was asked for. <strong>Text message</strong> reads the messages to a Twilio test number. <strong>http</strong> reads a test environment's own endpoint that answers with the latest code (as text or JSON), such as a Mailpit or Mailosaur API or a QA back door.</li>
|
|
254
|
+
<li><strong>The agent never sees the code.</strong> When the page asks for it, the browser agent names the code field and the login; ForgeQE waits for the message, takes out the code with the pattern, and types it, only on the login's own sites. A code is never typed twice in a run, so a page that asks again gets the new one. Nothing else of the message is read into the run, logged, kept or shown: a message is data, and only something shaped like a code (letters, digits and -, 3 to 12) is taken.</li>
|
|
255
|
+
<li><strong>Replays and tests.</strong> The step is recorded as "type the code shop's site sent", never the code. Replays and Re-runs read a fresh one. A test written from the run calls <code>forgeqe login code shop --since <time></code> with an argument list and types what it prints. ForgeQE sets the mailbox or Twilio variables for the tests it runs; in a pipeline, you set them as secrets.</li>
|
|
256
|
+
<li><strong>The variables</strong> are test credentials, like the login's password: the browser and the tests get them, the model never does.</li>
|
|
218
257
|
</ul>
|
|
219
|
-
<p><strong>Security keys and passkeys.</strong> ForgeQE presents a security key the way WebAuthn's own test tools do: Chromium's virtual authenticator, with no USB key or phone.
|
|
258
|
+
<p><strong>Security keys and passkeys.</strong> ForgeQE presents a security key the way WebAuthn's own test tools do: Chromium's virtual authenticator, with no USB key or phone. Set the login's <strong>Security key variable</strong> (<code>passkey_env</code>), then register a key on the test account once, at a terminal:</p>
|
|
220
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">logins:
|
|
221
260
|
</span></span><span class="ln"><span class="cmd"> shop:
|
|
222
261
|
</span></span><span class="ln"><span class="cmd"> url: https://staging.shop.test/login
|
|
@@ -225,42 +264,73 @@
|
|
|
225
264
|
<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 login shop --passkey</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a browser opens with a virtual security key; sign in, add a security key or passkey
|
|
226
265
|
</span></span><span class="ln ln--more"><span class="pad"> </span><span class="cm"><span class="h">#</span> in the site's account settings (the key touches itself), then press Enter
|
|
227
266
|
</span></span></code></pre></div>
|
|
228
|
-
<
|
|
229
|
-
<
|
|
230
|
-
<
|
|
267
|
+
<ul>
|
|
268
|
+
<li>The key the site registered is saved in ForgeQE's credential store as <code>SHOP_PASSKEY</code>, never in a file of the project. For a pipeline, copy it into a secret of the same name.</li>
|
|
269
|
+
<li>From then on, the browser agent uses the key when the site offers a security key or passkey, and every replay starts with the key on the page, so the sign-in answers by itself.</li>
|
|
270
|
+
<li>The key goes only to the login's own sites, and WebAuthn checks the site's name again.</li>
|
|
271
|
+
<li>A site that checks the key's signature counter strictly may refuse it after a run: register it again then.</li>
|
|
272
|
+
</ul>
|
|
273
|
+
<p><strong>Push approvals and number matching</strong> need a person to tap Approve on a phone, and ForgeQE never pretends they did. Give the login <code>push_wait: 120</code> (<strong>Wait for a push approval (seconds)</strong>). When the site waits for an approval, the run waits that long for the page to move on and says so in the run. It also tells the notify channels that list <code>sign_in_waiting</code> (Teams or email: "Approve the sign-in for shop"), so whoever holds the test phone can approve it. With nobody approving in time, the run stops and says why.</p>
|
|
274
|
+
<p><strong>For runs nobody watches,</strong> the dependable ways are still:</p>
|
|
275
|
+
<ul>
|
|
276
|
+
<li>a saved session (<code>forgeqe login shop</code>, reused until it expires; <code>suite.restore_sessions: true</code> starts every case of a suite from it);</li>
|
|
277
|
+
<li>a test account with an authenticator app, a code ForgeQE can read, or a security key;</li>
|
|
278
|
+
<li>an MFA exemption for test accounts on the test environment;</li>
|
|
279
|
+
<li>a fixed code the test environment accepts, kept in an environment variable.</li>
|
|
280
|
+
</ul>
|
|
231
281
|
<p><strong>Credentials in a message or test case.</strong> Paste a test case that says "log in as svc@corp.test with password …" and you do not need <code>logins:</code> at all. Before the first browser run, ForgeQE's agent remembers the credentials as a login for that site and its sign-in hosts (for Dynamics, the CRM host and <code>login.microsoftonline.com</code>). From then on:</p>
|
|
232
282
|
<ul>
|
|
233
|
-
<li>goals say "sign in with the saved login dynamics" and never contain the password, so it is not in <code>run.json</code>, <code>trace.md</code>, <code>report.html</code
|
|
283
|
+
<li>goals say "sign in with the saved login dynamics" and never contain the password, so it is not in <code>run.json</code>, <code>trace.md</code>, <code>report.html</code> or <code>workflow.yaml</code>;</li>
|
|
234
284
|
<li>the browser agent types the exact value from a placeholder, so quotes or a full stop around the password in the test case cannot end up in the password field;</li>
|
|
235
285
|
<li>the signed-in session is saved in <code>.forgeqe/sessions/</code>, so follow-up runs ("now open the latest case") start signed in;</li>
|
|
236
286
|
<li>tests Quill writes read <code>FORGEQE_<NAME>_USERNAME</code> and <code>FORGEQE_<NAME>_PASSWORD</code>, and ForgeQE sets them when it runs those tests in this session.</li>
|
|
237
287
|
</ul>
|
|
238
|
-
<p>ForgeQE keeps the values in memory for the session only: it does not write them to disk or put them in the agent
|
|
239
|
-
<p>Single sign-on, captchas
|
|
288
|
+
<p>ForgeQE keeps the values in memory for the session only: it does not write them to disk or put them in the environment of the programs the agent runs. Your message itself is still part of the conversation, which ForgeQE keeps locally like any chat, and which the model provider receives. Close ForgeQE and the remembered values are gone (the saved session stays until it expires or you clear it). Ask "which logins do I have?" to see them, or "forget the dynamics login" to drop them. For pipelines and later sessions, use <code>logins:</code> with environment variables.</p>
|
|
289
|
+
<p><strong>Signing in by hand.</strong> Single sign-on, captchas and security keys need a person: a browser opens on the login page, you sign in, and the session is saved. This is done at a terminal (or in the shell):</p>
|
|
290
|
+
<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 login shop</span><span class="pad"> </span><span class="cm"><span class="h">#</span> sign in in the browser, then press Enter here; the session is saved
|
|
291
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe logins</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the logins, which variables are missing, when each session was saved
|
|
292
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe logins clear shop</span><span class="pad"> </span><span class="cm"><span class="h">#</span> forget a session (or --all)
|
|
293
|
+
</span></span></code></pre></div>
|
|
294
|
+
<ul>
|
|
295
|
+
<li>In the shell, "sign in to shop" does the same: the browser opens, a <strong>Your turn</strong> prompt waits while you sign in, and <strong>Done, continue</strong> saves the session.</li>
|
|
296
|
+
<li><code>forgeqe run</code> asks you to press Enter instead.</li>
|
|
297
|
+
<li><code>forgeqe mcp</code> cannot wait for a person, so it tells the calling agent to have you run <code>forgeqe login shop</code>.</li>
|
|
298
|
+
<li>In a pipeline, set the login variables as secrets.</li>
|
|
299
|
+
</ul>
|
|
240
300
|
</div>
|
|
241
301
|
</section>
|
|
242
302
|
</div>
|
|
243
|
-
</article>
|
|
244
303
|
<article class="spec feat" id="cap-record-web">
|
|
245
304
|
<div class="hd"><span class="mono">Browser</span><h3>Record a web test by hand</h3></div>
|
|
246
305
|
<p class="ds">Opens a browser with the Recorder panel docked in the page while the user does the steps of a web test themself, and saves their clicks, typing, choices and keys in order as a run, with the checks, kept values, test data and notes they add; the coding agent then turns it into a test in the repository's framework.</p>
|
|
247
306
|
<div class="facts">
|
|
248
307
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>I'll show you the checkout steps in the shop: record them</li><li>Record my steps on the cart page and make a test of it</li></ul></div>
|
|
249
|
-
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The coding agent, Quill: a live model profile (or code.model) and
|
|
308
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The coding agent, Quill: a live model profile (or code.model), and what forgeqe setup installs for it</span></li></ul></div>
|
|
250
309
|
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Local Chrome or Chromium only, one recording at a time; drag and drop and steps inside iframes are not recorded yet</li></ul></div>
|
|
251
310
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>web_record</code></p></div>
|
|
252
311
|
</div>
|
|
253
|
-
|
|
254
|
-
|
|
312
|
+
|
|
313
|
+
</article>
|
|
314
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-recording-a-web-test-by-hand">
|
|
255
315
|
<h4>Recording a web test by hand</h4>
|
|
256
|
-
<div class="prose"><p>When you would rather show the steps than describe them, record them. ForgeQE opens Chrome on the app's page
|
|
257
|
-
<strong>
|
|
258
|
-
|
|
259
|
-
|
|
316
|
+
<div class="prose"><p>When you would rather show the steps than describe them, record them. ForgeQE opens Chrome on the app's page, and you click, type and choose as usual. Recording uses local Chrome or Chromium.</p>
|
|
317
|
+
<p><strong>Starting a recording.</strong></p>
|
|
318
|
+
<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>
|
|
319
|
+
<ol>
|
|
320
|
+
<li>Open <strong>Record</strong> (Quality Engineering › Automation) and pick <strong>Web page</strong>.</li>
|
|
321
|
+
<li>Pick where to <strong>Start on</strong>: a web app of the environment, or <strong>Another page…</strong> and its address.</li>
|
|
322
|
+
<li>Optionally, under <strong>Options</strong>: <strong>Start from a block</strong>, a <strong>Test case</strong> to record (<code>SHOP-12</code>, <code>ado:1234</code> or a file), the <strong>Environment</strong>, and <strong>Start signed in</strong> (with the saved sign-ins; off, the sign-in is recorded too).</li>
|
|
323
|
+
<li>Press <strong>Record</strong>, and do the steps in the browser.</li>
|
|
324
|
+
<li>Use <strong>Pause</strong> (<strong>Resume</strong>), <strong>Undo</strong> and <strong>Stop</strong> on the Record page.</li>
|
|
325
|
+
</ol>
|
|
326
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
260
327
|
<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 record shop --name "Apply a coupon at checkout"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a web app from env.yaml
|
|
261
328
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe record --url https://staging.shop.test/cart</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or any page
|
|
329
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe record shop --signed-in</span><span class="pad"> </span><span class="cm"><span class="h">#</span> start with the saved sessions of logins:
|
|
330
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe record --case SHOP-12</span><span class="pad"> </span><span class="cm"><span class="h">#</span> record a test case's steps
|
|
262
331
|
</span></span></code></pre></div>
|
|
263
|
-
<p>In the shell, say "I'll show you the checkout, record it" (or <code>/record shop</code>)
|
|
332
|
+
<p>In the shell, say "I'll show you the checkout, record it" (or <code>/record shop</code>).</p>
|
|
333
|
+
</div></div><p><strong>Recording from the terminal: the Recorder panel.</strong> A recording started from the terminal docks the <strong>Recorder</strong> panel in a corner of the page, in the same window. Each action is listed in the panel as a numbered step, in order. Drag the panel by its title to another corner, or make it small (a pill that shows the step count); it comes back where you left it on every page. What you can add while recording:</p>
|
|
264
334
|
<div class="tbl tbl--cols-3"><table>
|
|
265
335
|
<thead>
|
|
266
336
|
<tr><th>In the panel</th><th>In the page: Ctrl+Shift+Space, then</th><th>What it adds</th></tr>
|
|
@@ -274,41 +344,36 @@ small (a pill that shows the step count); it comes back where you left it on eve
|
|
|
274
344
|
<tr><td data-label="In the panel">Pause / Undo / Stop, ✕ on a step</td><td data-label="In the page: Ctrl+Shift+Space, then"><strong>P</strong> / <strong>Z</strong> / <strong>S</strong></td><td data-label="What it adds">Pause records nothing until you resume; ✕ removes that step</td></tr>
|
|
275
345
|
</tbody>
|
|
276
346
|
</table></div>
|
|
277
|
-
<p>Type a check in words in the panel's box, or in the terminal: <code>the total shows "$40.00"</code>. Quoted text the page shows
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
<
|
|
281
|
-
<
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
347
|
+
<p>Type a check in words in the panel's box, or in the terminal: <code>the total shows "$40.00"</code>. Quoted text the page shows becomes a check on the element showing it; without quotes, one model call finds the text that shows it on the page. A check the page cannot show yet is kept in your words, and the coding agent writes it. In the terminal, <code>undo</code>, <code>pause</code>, <code>delete 4</code> and <code>stop</code> work too.</p>
|
|
348
|
+
<p><strong>Recording from the web app: the badge.</strong> A recording started from the Record page shows the site with no panel in it, only a small badge that says it is recording and how many steps, with a <strong>Stop</strong> button (only the button takes a click). The keys work as above: Ctrl+Shift+Space, then P, Z or S. You do the steps, with nothing to describe first, and add checks in the review afterwards.</p>
|
|
349
|
+
<ul>
|
|
350
|
+
<li><strong>After each step</strong> the recorder keeps a picture of the page and what it showed (<code>steps/NNN.jpg</code> and <code>.json</code> in the run folder). The badge is left out of the picture, and an address keeps no query (where a form sent by GET puts what was typed).</li>
|
|
351
|
+
<li><strong>Calls to its own site:</strong> the calls the page made to its own site that change data or fail are kept (method, path and status only), for checks in the review.</li>
|
|
352
|
+
<li><strong>API calls in full:</strong> with <code>api.capture</code> on (the default), the application's API calls are also kept in full in <code>network.json</code>, as a browser run does, each with the step it came after. The request and response bodies are kept for API tests, with credentials in headers dropped, fields named like a password, token, key or session redacted, and every saved login's username and password replaced wherever they appear.</li>
|
|
353
|
+
<li><strong>Nothing is kept while the recording is paused.</strong> A value you make a secret in the review is taken out of <code>network.json</code> too (a contract set made from it before keeps its copy: make the set again).</li>
|
|
354
|
+
</ul>
|
|
355
|
+
<p><strong>What is recorded.</strong></p>
|
|
286
356
|
<ul>
|
|
287
|
-
<li
|
|
288
|
-
A
|
|
289
|
-
<li
|
|
290
|
-
|
|
291
|
-
<li><strong>
|
|
292
|
-
and a replay answers the same way and dismisses any dialog the recording did not have.</li>
|
|
293
|
-
<li><strong>Downloads</strong> are saved in the recording's <code>downloads/</code>. The file is a step: a replay checks that a file of that
|
|
294
|
-
|
|
295
|
-
<li><strong>
|
|
296
|
-
|
|
297
|
-
off in the test environment (the provider's test keys, or a bypass).</li>
|
|
298
|
-
<li><strong>The browser's own sign-in box</strong> (basic auth): only the site is kept, with the saved login whose <code>domains</code> cover
|
|
299
|
-
it. A replay signs in there with that login's variables. With no such login, the recording says to save one.</li>
|
|
300
|
-
<li><strong>Browser permissions</strong> you allowed (location, notifications, clipboard, camera, microphone) are granted to that
|
|
301
|
-
site in a replay.</li>
|
|
357
|
+
<li>Clicks (a double click as one step, a right-click as a click with the right button), the final text of each field you typed in (not each key), choices in drop-downs, Enter and Escape, key chords, pages you open from the address bar, and Back.</li>
|
|
358
|
+
<li>A click on a menu item that opened when the pointer went over its trigger gets a hover on the trigger first.</li>
|
|
359
|
+
<li>Steps inside frames (another site's too) and inside closed shadow roots, and in a window or tab the page opens. A click on a canvas keeps where in it you clicked.</li>
|
|
360
|
+
<li><strong>Drags:</strong> an element dragged onto another, or moved by the mouse (a list item, a map pin, a slider), is one step. A replay drags with the mouse. Selecting text is not a drag.</li>
|
|
361
|
+
<li><strong>Scrolls</strong> you make with the wheel or the keys, of half a screen or more, as one step. Scrolls the page makes by itself are not recorded.</li>
|
|
362
|
+
<li><strong>Browser dialogs</strong> (alert, confirm, prompt, "leave this page?") are left for you to answer. Your answer is a step, and a replay answers the same way and dismisses any dialog the recording did not have.</li>
|
|
363
|
+
<li><strong>Downloads</strong> are saved in the recording's <code>downloads/</code>. The file is a step: a replay checks that a file of that name (or of its pattern, when part of the name changes) arrives and is not empty.</li>
|
|
364
|
+
<li><strong>A CAPTCHA</strong> (reCAPTCHA, hCaptcha, Turnstile, Arkose, GeeTest) is one step for a person, never its clicks. A replay in a visible browser waits up to 3 minutes for you to solve it; a headless one fails and says to turn it off in the test environment (the provider's test keys, or a bypass).</li>
|
|
365
|
+
<li><strong>The browser's own sign-in box</strong> (basic auth): only the site is kept, with the saved login whose <code>domains</code> cover it. A replay signs in there with that login's variables. With no such login, the recording says to save one.</li>
|
|
366
|
+
<li><strong>Browser permissions</strong> you allowed (location, notifications, clipboard, camera, microphone) are granted to that site in a replay.</li>
|
|
302
367
|
</ul>
|
|
303
|
-
<p>
|
|
304
|
-
|
|
305
|
-
what you
|
|
306
|
-
working folder
|
|
307
|
-
hidden file (<code>.env</code>, anything under <code>.git</code>) or one named like credentials or keys is listed as not recorded
|
|
308
|
-
Browse button that opens the file chooser, and files dropped on a drop zone, are recorded too
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
the next run
|
|
368
|
+
<p><strong>Passwords and files.</strong></p>
|
|
369
|
+
<ul>
|
|
370
|
+
<li>A password field is written as an environment variable: the saved login's <code>password_env</code> when what you typed is that login's password, else <code><HOST>_PASSWORD</code>. Text equal to a saved login's value is written as its variable, and what you type in a password field is never stored.</li>
|
|
371
|
+
<li>A file you choose for an upload is recorded by its path in the working folder. One from elsewhere (Downloads, the desktop) is copied into the recording's <code>files/</code>, up to 25 MB.</li>
|
|
372
|
+
<li>A hidden file (<code>.env</code>, anything under <code>.git</code>) or one named like credentials or keys is listed as not recorded.</li>
|
|
373
|
+
<li>A Browse button that opens the file chooser, and files dropped on a drop zone, are recorded too.</li>
|
|
374
|
+
<li>Without <strong>Start signed in</strong> (<code>--signed-in</code>), record the sign-in too.</li>
|
|
375
|
+
</ul>
|
|
376
|
+
<p><strong>Data that changes from run to run.</strong> A test that spells out this recording's price, date or order number fails on the next run. So ForgeQE keeps what holds, and makes the rest a pattern, a variable, or a value made fresh:</p>
|
|
312
377
|
<div class="tbl tbl--cols-2"><table>
|
|
313
378
|
<thead>
|
|
314
379
|
<tr><th>In the recording</th><th>In the test</th></tr>
|
|
@@ -321,17 +386,14 @@ the next run, so ForgeQE keeps what holds and makes the rest a pattern, a variab
|
|
|
321
386
|
<tr><td data-label="In the recording">A value the app refuses twice (a new account's email)</td><td data-label="In the test">A part new on each run: <code>alice+{{$unique}}@example.com</code></td></tr>
|
|
322
387
|
</tbody>
|
|
323
388
|
</table></div>
|
|
324
|
-
<p>Prices, dates, times, ids
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
<
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
Stop stops. The test is named and tagged for the case, and mapped to it once it passes.</p>
|
|
333
|
-
<p>When you stop, the run folder holds <code>workflow.yaml</code> and <code>trace.md</code> as for any run. With a repository (<code>--repo</code>, or
|
|
334
|
-
<code>code.repo</code>), ForgeQE asks whether to turn it into a test. First a planner reads the repository and shows the plan:</p>
|
|
389
|
+
<p>Prices, dates, times, ids and long numbers are found by their form. A small number on its own ("1" in the cart) stays exact, as it is usually what the check is about. When you stop, one model call sorts the values the forms cannot tell (a new account's email, "today's deal"); without a model, those stay as recorded. Each change shows with a tick box: untick it to keep the value as recorded.</p>
|
|
390
|
+
<p><strong>Recording a test case.</strong> Give a test case (<strong>Test case</strong> under <strong>Options</strong> on the Record page, or <code>forgeqe record --case SHOP-12</code>) from any source ForgeQE reads cases from: Jira, Azure DevOps, Xray, TestRail, a file. The recording starts on the case's page and shows its steps as a checklist.</p>
|
|
391
|
+
<ul>
|
|
392
|
+
<li>Click the step you are on (or <strong>Next case step</strong>): what you record belongs to it, and a check you add there takes its expected result.</li>
|
|
393
|
+
<li>Each expected result shows <strong>✓ checked</strong> or <strong>no check yet</strong>. Stop warns once about the ones with no check, and a second Stop stops.</li>
|
|
394
|
+
<li>The test is named and tagged for the case, and mapped to it once it passes.</li>
|
|
395
|
+
</ul>
|
|
396
|
+
<p><strong>Writing the test from the terminal.</strong> When you stop, the run folder holds <code>workflow.yaml</code> and <code>trace.md</code> as for any run. With a repository (<code>--repo</code>, or <code>code.repo</code>), ForgeQE asks whether to turn it into a test. First a planner reads the repository and shows the plan:</p>
|
|
335
397
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">Test tests/add-to-cart.spec.ts › adds pliers to the cart
|
|
336
398
|
</span></span><span class="ln"><span class="cmd">Steps
|
|
337
399
|
</span></span><span class="ln"><span class="cmd"> 2. search: HomePage.searchFor()
|
|
@@ -343,30 +405,11 @@ Stop stops. The test is named and tagged for the case, and mapped to it once it
|
|
|
343
405
|
</span></span><span class="ln"><span class="cmd"> after step 5: expect(product.price).toHaveText(/^\$\d+\.\d{2}$/)
|
|
344
406
|
</span></span><span class="ln"><span class="cmd"> after step 6: expect(product.cartQuantity).toHaveText("1")
|
|
345
407
|
</span></span></code></pre></div>
|
|
346
|
-
<p>It asks at most three questions where the repository allows two good answers (a new file, or the existing spec?),
|
|
347
|
-
<
|
|
348
|
-
|
|
349
|
-
the
|
|
350
|
-
|
|
351
|
-
<p>The recorder runs in an isolated world in each page, so the page's own scripts can neither see it nor add steps, and it
|
|
352
|
-
records only real input: clicks and keys a script fakes are ignored. The panel's own clicks and keys never reach the page
|
|
353
|
-
and are never recorded, and it stays above the page's dialogs. Recording uses local Chrome or Chromium.</p>
|
|
354
|
-
<p><strong>From the web app (Record page).</strong> You only do the steps, with nothing to describe first: the browser shows the site
|
|
355
|
-
with no panel in it, only a small badge that says it is recording and how many steps, with a <strong>Stop</strong> button (only the button takes a click). <strong>Pause</strong>, <strong>Undo</strong> and <strong>Stop</strong> are on the
|
|
356
|
-
Record page (and on the keys: Ctrl+Shift+Space, then P, Z or S). After each step the recorder keeps a picture of the
|
|
357
|
-
page and what it showed (<code>steps/NNN.jpg</code> and <code>.json</code> in the run folder; the badge is left out of the picture, and an
|
|
358
|
-
address keeps no query, where a form sent by GET puts what was typed), and the calls the page made to its own site
|
|
359
|
-
that change data or fail (method, path and status only), for checks in the review. With <code>api.capture</code> on (the
|
|
360
|
-
default), it also keeps the application's API calls in full in <code>network.json</code>, as a browser run does, each with the
|
|
361
|
-
step it came after: the request and response bodies for API tests, with credentials in headers dropped, fields named
|
|
362
|
-
like a password, token, key or session redacted, and every saved login's username and password replaced wherever they
|
|
363
|
-
appear. Nothing is kept while the recording is paused. A value you make a secret in the review is taken out of
|
|
364
|
-
<code>network.json</code> too (a contract set made from it before keeps its copy: make the set again). When you stop, you review
|
|
365
|
-
the recording with clicks.</p>
|
|
366
|
-
<p>The review shows the recording's name, <strong>Re-run</strong> and <strong>Write the test</strong> at the top, and the tabs <strong>Steps</strong>, <strong>Test data</strong>, <strong>Runs</strong>, <strong>Instructions</strong>, <strong>Blocks</strong> and <strong>Versions</strong>. ForgeQE has already made
|
|
367
|
-
the choices most recordings need, as one version you can undo: an email typed where an account is made is new on each
|
|
368
|
-
run, and the last step has the check its page suggests first. When steps of the recording are a saved block, it says
|
|
369
|
-
so: <strong>Use the block</strong> marks them as the block.</p>
|
|
408
|
+
<p>It asks at most three questions where the repository allows two good answers (a new file, or the existing spec?). Then you pick <strong>Write it</strong>, <strong>Change the plan</strong> (say what to change, in your words), or <strong>Cancel</strong>. The coding agent replays the recording in Playwright, writes the test to the plan you agreed in the repository's framework, and asserts each check at the step where you added it.</p>
|
|
409
|
+
<p>In the shell, "change the plan" comes back to ForgeQE's agent, which asks you what to change. <code>--no-plan</code> (or <code>--yes</code>) skips the plan. To write the test later: <code>forgeqe code <run folder></code>.</p>
|
|
410
|
+
<p><strong>The page cannot touch the recorder.</strong> The recorder runs apart from the page's own scripts, so they can neither see it nor add steps. It records only real input: clicks and keys a script fakes are ignored. The panel's own clicks and keys never reach the page and are never recorded, and it stays above the page's dialogs.</p>
|
|
411
|
+
<p><strong>Reviewing a recording in the web app.</strong> When you stop, you review the recording with clicks. The review shows the recording's name, <strong>Re-run</strong> and <strong>Write the test</strong> at the top, and the tabs <strong>Steps</strong>, <strong>Test data</strong>, <strong>Runs</strong>, <strong>Instructions</strong>, <strong>Blocks</strong> and <strong>Versions</strong>.</p>
|
|
412
|
+
<p>ForgeQE has already made the choices most recordings need, as one version you can undo: an email typed where an account is made is new on each run, and the last step has the check its page suggests first. When steps of the recording are a saved block, it says so: <strong>Use the block</strong> marks them as the block.</p>
|
|
370
413
|
<div class="tbl tbl--cols-2"><table>
|
|
371
414
|
<thead>
|
|
372
415
|
<tr><th>In the review</th><th>What it does</th></tr>
|
|
@@ -388,36 +431,35 @@ so: <strong>Use the block</strong> marks them as the block.</p>
|
|
|
388
431
|
<tr><td data-label="In the review">Test data</td><td data-label="What it does">Each typed value: as typed, test data, new on each run (<code>ann+{{$unique}}@shop.test</code>), or a secret read from the environment, its typed text removed from the recording, its pictures and every kept version</td></tr>
|
|
389
432
|
<tr><td data-label="In the review">Blocks</td><td data-label="What it does">Keep steps you do in many tests (Sign in) as a block, <code>.forgeqe/blocks/<name>.yaml</code>; put a block in after a step. Blocks go into the repository, so the team shares them (the review says when <code>.gitignore</code> leaves them out). A block holds only steps done by hand: a block file with a step that runs JavaScript, calls an API or uploads a file is ignored</td></tr>
|
|
390
433
|
<tr><td data-label="In the review">Versions</td><td data-label="What it does">Every change is a version: go back to any of them, or to the recording as recorded</td></tr>
|
|
391
|
-
<tr><td data-label="In the review">Re-record</td><td data-label="What it does">Plays the same steps against the application as it is now
|
|
392
|
-
<tr><td data-label="In the review">Re-run</td><td data-label="What it does">On the <strong>Runs</strong> tab, or at the top: plays the steps with Playwright in a new browser, as the test will
|
|
434
|
+
<tr><td data-label="In the review">Re-record</td><td data-label="What it does">Plays the same steps against the application as it is now. Where a step's control has moved, it reaches it through another locator the recorder kept for that step and carries on. Each swap is shown (the step, what it does, the locator that replaced which, and what the recorded one said) and kept in <code>reheal.json</code> beside the run. It is written into the recording only when you accept it; then that locator is the one the step uses, as a version of the review like any other. A control that no locator finds is a failed step as usual: record that stretch again. <strong>Write the test</strong> after a re-record heals the test the recording already has, changing what those steps need and leaving the rest of it alone</td></tr>
|
|
435
|
+
<tr><td data-label="In the review">Re-run</td><td data-label="What it does">On the <strong>Runs</strong> tab, or at the top: plays the steps with Playwright in a new browser, as the test will (see <strong>Runs</strong> below). With <code>api.capture</code> on (the default) it keeps the application's API calls of the latest try in <code>tries/network.json</code>, cleaned as a recording's are. <strong>API tests from its calls</strong> opens the API page with that try picked and the recording to compare with, so values that differ between them become the calls' inputs</td></tr>
|
|
393
436
|
</tbody>
|
|
394
437
|
</table></div>
|
|
395
|
-
<p><strong>Runs.</strong> Re-run plays the steps where they were recorded or on another environment of env.yaml
|
|
396
|
-
|
|
397
|
-
rows, one after another; for an Excel file, a <strong>Sheet</strong>). A column named like a test data value gives its value
|
|
398
|
-
<strong>Stop</strong> ends a run and closes its browser
|
|
399
|
-
ended, where, and its steps and log
|
|
400
|
-
<strong>Recording log</strong> (Steps tab) and <strong>Re-run video</strong> and <strong>Re-run log</strong> (Runs tab) open in a new tab.</
|
|
401
|
-
<
|
|
402
|
-
|
|
403
|
-
secret not set) ends the block there, and you do the rest by hand
|
|
404
|
-
agent, which asks nothing: the plan and where the test goes follow the repository, and each block becomes one helper
|
|
405
|
-
|
|
406
|
-
<
|
|
407
|
-
before any code is written: <strong>Show</strong> opens the step, <strong>Record</strong> does it again (the browser does the steps before it,
|
|
408
|
-
|
|
409
|
-
|
|
438
|
+
<p><strong>Runs.</strong> <strong>Re-run</strong> plays the steps where they were recorded, or on another environment of env.yaml (the same web app's address there).</p>
|
|
439
|
+
<ul>
|
|
440
|
+
<li><strong>Values:</strong> as typed, values you give, or once for each row of a data file or kept request of the project (<strong>Test data</strong>: up to 20 rows, one after another; for an Excel file, a <strong>Sheet</strong>). A column named like a test data value gives its value.</li>
|
|
441
|
+
<li><strong>Stop</strong> ends a run and closes its browser.</li>
|
|
442
|
+
<li><strong>Earlier runs</strong> lists the runs before, newest first, each with how it ended, where, and its steps and log. Only the latest keeps its pictures, video and trace.</li>
|
|
443
|
+
<li><strong>Recording video</strong> and <strong>Recording log</strong> (Steps tab) and <strong>Re-run video</strong> and <strong>Re-run log</strong> (Runs tab) open in a new tab.</li>
|
|
444
|
+
<li>A past recording is run again the same way: <strong>Open the recording</strong> in the list (the row's menu), then <strong>Re-run</strong>.</li>
|
|
445
|
+
</ul>
|
|
446
|
+
<p><strong>Start from a block.</strong> Pick it under <strong>Options</strong> on the Record page. The recording opens the block's first page and does its steps for you in the same tab, with the recorder paused meanwhile; then you record the rest. A step that cannot be done (a secret not set) ends the block there, and you do the rest by hand.</p>
|
|
447
|
+
<p><strong>Writing the test from the web app.</strong> <strong>Write the test</strong> hands the recording to the coding agent, which asks nothing: the plan and where the test goes follow the repository, and each block becomes one helper that every test using it calls.</p>
|
|
448
|
+
<ol>
|
|
449
|
+
<li>It first plays the steps with Playwright, as the test will.</li>
|
|
450
|
+
<li>When a step does not work, it says so before any code is written: <strong>Show</strong> opens the step, <strong>Record</strong> does it again (the browser does the steps before it, and what you record takes its place), <strong>Remove</strong> drops it, and <strong>Write</strong> writes the test anyway.</li>
|
|
451
|
+
<li>Then Quill writes the test, and its work shows in the review: what it is doing, the files it changed, and its answer (or why it stopped).</li>
|
|
452
|
+
</ol>
|
|
410
453
|
</div>
|
|
411
454
|
</section>
|
|
412
455
|
</div>
|
|
413
|
-
</article>
|
|
414
456
|
|
|
415
457
|
<nav class="pager" aria-label="Previous and next">
|
|
416
458
|
<a class="prev" href="../web-app/index.html"><small>Previous</small><span>The web app</span></a>
|
|
417
459
|
<a class="next" href="../area-test-cases/index.html"><small>Next</small><span>Test cases</span></a>
|
|
418
460
|
</nav>
|
|
419
461
|
</main>
|
|
420
|
-
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-browser-goals">Run any goal in a real browser</a></li><li><a href="#
|
|
462
|
+
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-browser-goals">Run any goal in a real browser</a></li><li><a href="#cap-logins">Saved logins for the application under test</a></li><li><a href="#cap-record-web">Record a web test by hand</a></li></ul></aside>
|
|
421
463
|
</div>
|
|
422
464
|
<footer class="foot">
|
|
423
465
|
<div class="container foot__row">
|