@capagents/forgeqe 2.10.4 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +119 -16
- package/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +1 -0
- package/dist/docs-site/docs/architecture/index.html +1 -0
- package/dist/docs-site/docs/cost-architecture/index.html +1 -1
- package/dist/docs-site/docs/index.html +158 -19
- package/dist/docs-site/docs/mobile/index.html +38 -2
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/forgeqe.js +2121 -1947
- package/dist/web/assets/Agent-DISh0THc.js +8 -0
- package/dist/web/assets/ApiTests-CK0HqEH4.js +10 -0
- package/dist/web/assets/Browse-WylAQZvD.js +2 -0
- package/dist/web/assets/Chat-B7IOg3I3.js +5 -0
- package/dist/web/assets/CommandPalette-CkreEJ8R.js +1 -0
- package/dist/web/assets/Compare-CgOfZofk.js +1 -0
- package/dist/web/assets/Cost-Dl5-viu4.js +1 -0
- package/dist/web/assets/Data-Bv2S5wkW.js +6 -0
- package/dist/web/assets/Desktop-CifPwy5u.js +1 -0
- package/dist/web/assets/DesktopReview-fpGdtU4r.js +1 -0
- package/dist/web/assets/Evidence-hOZDzfKt.js +1 -0
- package/dist/web/assets/Explore-c85VGE9Q.js +2 -0
- package/dist/web/assets/Features-DXL_vSjn.js +1 -0
- package/dist/web/assets/Flags-B7x2pDud.js +2 -0
- package/dist/web/assets/Flaky-BM3syqCt.js +1 -0
- package/dist/web/assets/Impact-BUCh8OAI.js +3 -0
- package/dist/web/assets/Jobs-B8sBDYRI.js +5 -0
- package/dist/web/assets/KindPage-yVmpQm7L.js +6 -0
- package/dist/web/assets/Migration-BOLN1duU.js +2 -0
- package/dist/web/assets/Product-C0FeEaJg.js +7 -0
- package/dist/web/assets/Production-BSMQyWKd.js +1 -0
- package/dist/web/assets/Quality-DsM9gWZb.js +1 -0
- package/dist/web/assets/Readiness-BhqkAJYN.js +1 -0
- package/dist/web/assets/Record-CPx-lK53.js +2 -0
- package/dist/web/assets/Regression-BXbX46nO.js +5 -0
- package/dist/web/assets/{RelationGraph-D_ZVeOBh.js → RelationGraph-eoGXXz5t.js} +1 -1
- package/dist/web/assets/Reports-36YQzVhA.js +2 -0
- package/dist/web/assets/Response-DplUOsue.js +4 -0
- package/dist/web/assets/RunDiff-D0fDhRmK.js +1 -0
- package/dist/web/assets/Runs-Bv1Ef8zq.js +2 -0
- package/dist/web/assets/Steps-Cm-atRtk.js +2 -0
- package/dist/web/assets/TestCases-B9x9W3zJ.js +1 -0
- package/dist/web/assets/TestData-DsJ6Z2YI.js +2 -0
- package/dist/web/assets/TestDebt-B_FUbMOb.js +1 -0
- package/dist/web/assets/Tosca-nxVCubA5.js +3 -0
- package/dist/web/assets/WhatsNew-CdnbMvrr.js +1 -0
- package/dist/web/assets/agentLink-BGKAF6xd.js +1 -0
- package/dist/web/assets/capture.worklet-C2TjBQ56.js +11 -0
- package/dist/web/assets/capture.worklet-UcNywATd.js +1 -0
- package/dist/web/assets/dataParts-Bn-tzbKg.js +3 -0
- package/dist/web/assets/{families-zlLgApNV.js → families-DPlFfKf2.js} +1 -1
- package/dist/web/assets/filters-Bj5K1WaL.js +1 -0
- package/dist/web/assets/fold-BhRpA0sy.js +1 -0
- package/dist/web/assets/frame-D_TPoUTD.js +16 -0
- package/dist/web/assets/index-BRB-oAMd.js +67 -0
- package/dist/web/assets/index-CIw5WfL8.css +2 -0
- package/dist/web/assets/{line-icons-CQ-3V8ax.js → line-icons-DBwNPSmu.js} +1 -1
- package/dist/web/assets/{logos-DfCytw3-.js → logos-839CfoKx.js} +1 -1
- package/dist/web/assets/{markdown-nTIj9lyp.js → markdown-6z0km3hN.js} +7 -7
- package/dist/web/assets/paletteCommands-CZFdKGhh.js +1 -0
- package/dist/web/assets/parts-VPcxh6Jc.js +1 -0
- package/dist/web/assets/{productParts-DK3ULNpv.js → productParts-BjfWgMtq.js} +1 -1
- package/dist/web/assets/qualityParts-PGN65yfI.js +1 -0
- package/dist/web/assets/{recordTest-CqxnF953.js → recordTest-EkxSMWbe.js} +1 -1
- package/dist/web/assets/rows-uLoguIo5.js +1 -0
- package/dist/web/assets/segmented-DphDskQz.js +1 -0
- package/dist/web/assets/{usePageChat-Dl2aUtHP.js → usePageChat-DqEwGcyO.js} +1 -1
- package/dist/web/index.html +6 -6
- package/docs/ARCHITECTURE.md +1 -0
- package/docs/COST_ARCHITECTURE.md +1 -1
- package/docs/MOBILE.md +40 -0
- package/docs/user-guide.html +158 -19
- package/evals/prompts/brain/browser-narrow-with-filters.yaml +20 -0
- package/forgeqe.example.yaml +11 -1
- package/package.json +4 -1
- package/prompts/brain.md +4 -0
- package/prompts/browser-goal-verification.md +2 -0
- package/prompts/refine.md +2 -0
- package/prompts/requests-rule.md +1 -1
- package/prompts/talk-summary.md +43 -0
- package/prompts/talk.md +49 -0
- package/prompts/test-agent.md +1 -0
- package/prompts/test-reviewer.md +2 -1
- package/prompts/test-rules.md +3 -0
- package/py/forgeqe_data/__init__.py +1 -0
- package/py/forgeqe_data/__main__.py +12 -0
- package/py/forgeqe_data/connect.py +290 -0
- package/py/forgeqe_data/connstr.py +169 -0
- package/py/forgeqe_data/flows.py +603 -0
- package/py/forgeqe_data/guard.py +214 -0
- package/py/forgeqe_data/mongo.py +219 -0
- package/py/forgeqe_data/schema.py +431 -0
- package/py/forgeqe_data/service.py +651 -0
- package/py/forgeqe_data/streams.py +400 -0
- package/py/forgeqe_data/subset.py +299 -0
- package/py/forgeqe_data/testdata.py +861 -0
- package/py/forgeqe_data/vector.py +113 -0
- package/py/forgeqe_desktop/workflow.py +6 -4
- package/py/forgeqe_engine/capture.py +5 -4
- package/py/forgeqe_engine/diagnostics.py +2 -2
- package/py/forgeqe_engine/lenient_json.py +96 -0
- package/py/forgeqe_engine/llm.py +4 -0
- package/py/forgeqe_engine/network.py +93 -15
- package/py/forgeqe_engine/neutral_log.py +16 -1
- package/py/forgeqe_engine/recordsession.py +54 -1
- package/py/forgeqe_engine/service.py +22 -3
- package/py/forgeqe_mobile/appium_driver.py +9 -0
- package/py/forgeqe_mobile/apps.py +4 -0
- package/py/forgeqe_mobile/maestro.py +3 -0
- package/py/forgeqe_mobile/record.py +610 -0
- package/py/forgeqe_mobile/service.py +37 -7
- package/py/forgeqe_talk/__init__.py +1 -0
- package/py/forgeqe_talk/__main__.py +65 -0
- package/py/forgeqe_voice/worker.py +141 -0
- package/skills/dotnet-nunit-playwright/SKILL.md +1 -0
- package/skills/playwright-typescript/SKILL.md +1 -1
- package/dist/web/assets/Agent-DaA5WhAY.js +0 -8
- package/dist/web/assets/ApiTests-B7xsTGyo.js +0 -10
- package/dist/web/assets/Browse-ByYCyAwd.js +0 -2
- package/dist/web/assets/Chat-D1-cYNBr.js +0 -3
- package/dist/web/assets/CommandPalette-DbxKJJJB.js +0 -1
- package/dist/web/assets/Compare-CYLFEtJl.js +0 -1
- package/dist/web/assets/Cost-Csz0jMHo.js +0 -1
- package/dist/web/assets/Data-BWTme_Yw.js +0 -6
- package/dist/web/assets/Desktop-rZ0vB6Ie.js +0 -1
- package/dist/web/assets/DesktopReview-_Xha22_d.js +0 -1
- package/dist/web/assets/Evidence-DmUyZy9F.js +0 -1
- package/dist/web/assets/Explore-2wzgwz3J.js +0 -2
- package/dist/web/assets/Features-DazEWqYu.js +0 -1
- package/dist/web/assets/Flags-BTt0-pqd.js +0 -2
- package/dist/web/assets/Flaky-CjkQp73T.js +0 -1
- package/dist/web/assets/Impact-De87sv5J.js +0 -3
- package/dist/web/assets/Jobs-aiNGBVHL.js +0 -5
- package/dist/web/assets/KindPage-CrGoFeSa.js +0 -6
- package/dist/web/assets/Migration-BAhQ1DZO.js +0 -2
- package/dist/web/assets/Product-DpK-PIxV.js +0 -7
- package/dist/web/assets/Production-D6A89rZZ.js +0 -1
- package/dist/web/assets/Quality-Bc5wCsog.js +0 -1
- package/dist/web/assets/Readiness-CoVgZw2X.js +0 -1
- package/dist/web/assets/Record-DcgBatJJ.js +0 -2
- package/dist/web/assets/Regression-BJLYrqST.js +0 -5
- package/dist/web/assets/Reports-DYfyfEDy.js +0 -2
- package/dist/web/assets/Response-CNLi9Dqu.js +0 -4
- package/dist/web/assets/RunDiff-BMTdRhii.js +0 -1
- package/dist/web/assets/Runs-lb78rvPV.js +0 -2
- package/dist/web/assets/Steps-BDSeIznj.js +0 -2
- package/dist/web/assets/TestCases-CfUwd67O.js +0 -1
- package/dist/web/assets/TestData-DP7cvW48.js +0 -2
- package/dist/web/assets/TestDebt-CqARxL7k.js +0 -1
- package/dist/web/assets/Tosca-CLAz9tWT.js +0 -3
- package/dist/web/assets/WhatsNew-1lhTRE5Z.js +0 -1
- package/dist/web/assets/dataParts-DI_OJhy5.js +0 -3
- package/dist/web/assets/filters-CflRmNDz.js +0 -1
- package/dist/web/assets/fold-pOBiaSlF.js +0 -1
- package/dist/web/assets/frame-CYYiRu5P.js +0 -4
- package/dist/web/assets/index-CNDoTeRV.css +0 -2
- package/dist/web/assets/index-D4a0w3Vl.js +0 -67
- package/dist/web/assets/palette-Cj4CUs0K.js +0 -1
- package/dist/web/assets/parts-C53RxMcR.js +0 -1
- package/dist/web/assets/qualityParts-C9FItsTg.js +0 -1
- package/dist/web/assets/rows-D6rPRkHl.js +0 -1
- package/dist/web/assets/segmented-CAf_qz5Z.js +0 -1
- package/dist/web/assets/thread-DQdyL3Sv.js +0 -5
|
@@ -159,7 +159,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
|
|
|
159
159
|
<div class="area"><a href="#area-data" class="area-name"><span class="mono">Data</span></a><ul class="tiles"><li><a href="#cap-databases" class="tile"><b>Ask a database in plain language</b><span>Which customers in India have paid orders? Ask the orders database</span></a></li><li><a href="#cap-test-data" class="tile"><b>Test data on demand</b><span>Generate test data: 20 customers with 1 to 3 orders each in the shop database</span></a></li><li><a href="#cap-data-flows" class="tile"><b>Data flows between systems</b><span>Check that customers from the digital database reach the CRM correctly</span></a></li></ul></div>
|
|
160
160
|
<div class="area"><a href="#area-automated-tests" class="area-name"><span class="mono">Automated tests</span></a><ul class="tiles"><li><a href="#cap-write-tests" class="tile"><b>Turn a passed run into an automated test</b><span>Write a Playwright test for that run in ../app</span></a></li><li><a href="#cap-heal-tests" class="tile"><b>Heal failing tests</b><span>Heal the failing tests in ../app</span></a></li><li><a href="#cap-migrate-tests" class="tile"><b>Migrate a test suite</b><span>Migrate the Selenium tests in tests/ to Playwright TypeScript</span></a></li><li><a href="#cap-tosca-convert" class="tile"><b>Convert Tosca test cases</b><span>Convert the Tosca export tosca/checkout.tsu to Playwright TypeScript</span></a></li><li><a href="#cap-find-run-tests" class="tile"><b>Find and run existing tests</b><span>Run the checkout tests</span></a></li><li><a href="#cap-regression-packs" class="tile"><b>Regression packs for a release</b><span>Build a regression pack for sprint 12 and run it on TestMu</span></a></li><li><a href="#cap-flaky-tests" class="tile"><b>Flaky test detection and quarantine</b><span>Which tests are flaky?</span></a></li><li><a href="#cap-run-diff" class="tile"><b>Compare two runs step by step</b><span>It passed yesterday and fails today: why?</span></a></li><li><a href="#cap-test-debt" class="tile"><b>Test debt and coverage gaps</b><span>What has no test?</span></a></li></ul></div>
|
|
161
161
|
<div class="area"><a href="#area-pull-requests" class="area-name"><span class="mono">Pull requests</span></a><ul class="tiles"><li><a href="#cap-pr-review" class="tile"><b>Review pull requests</b><span>Review PR 42 and focus on error handling</span></a></li><li><a href="#cap-pr-impact" class="tile"><b>Pull request impact and test selection</b><span>What does PR 42 impact?</span></a></li></ul></div>
|
|
162
|
-
<div class="area"><a href="#area-api" class="area-name"><span class="mono">API</span></a><ul class="tiles"><li><a href="#cap-api-testing" class="tile"><b>API and contract testing</b><span>Turn the last run's API calls into tests</span></a></li></ul></div>
|
|
162
|
+
<div class="area"><a href="#area-api" class="area-name"><span class="mono">API</span></a><ul class="tiles"><li><a href="#cap-api-testing" class="tile"><b>API and contract testing</b><span>Turn the last run's API calls into tests</span></a></li><li><a href="#cap-api-load-security" class="tile"><b>API load and security checks</b><span>Load test the orders API with 20 users for a minute</span></a></li></ul></div>
|
|
163
163
|
<div class="area"><a href="#area-quality" class="area-name"><span class="mono">Quality</span></a><ul class="tiles"><li><a href="#cap-accessibility-performance" class="tile"><b>Accessibility and page performance</b><span>Is the checkout page accessible?</span></a></li><li><a href="#cap-accessibility-personas" class="tile"><b>Accessibility testing with personas</b><span>Act as a blind person and use the website to find accessibility issues</span></a></li><li><a href="#cap-visual-comparison" class="tile"><b>Visual comparison with baselines</b><span>What changed visually since the last run?</span></a></li><li><a href="#cap-defect-intelligence" class="tile"><b>Defect intelligence: trends and prediction</b><span>Which defects keep coming back?</span></a></li><li><a href="#cap-security-smoke" class="tile"><b>Passive security smoke checks</b><span>Any security problems in the last checkout run?</span></a></li><li><a href="#cap-localization-checks" class="tile"><b>Localization checks</b><span>Is the German checkout fully translated?</span></a></li></ul></div>
|
|
164
164
|
<div class="area"><a href="#area-release" class="area-name"><span class="mono">Release</span></a><ul class="tiles"><li><a href="#cap-release-readiness" class="tile"><b>Requirement coverage and release readiness</b><span>Are we ready to release?</span></a></li><li><a href="#cap-release-verdict" class="tile"><b>One release verdict from everything measured</b><span>Can we ship release-2.3?</span></a></li><li><a href="#cap-feature-flags" class="tile"><b>Regression across feature-flag combinations</b><span>Run the release pack across the new-checkout feature flag on and off</span></a></li><li><a href="#cap-reports" class="tile"><b>Reports you can share</b><span>Create a release report for all projects</span></a></li></ul></div>
|
|
165
165
|
<div class="area"><a href="#area-systems" class="area-name"><span class="mono">Systems</span></a><ul class="tiles"><li><a href="#cap-systems" class="tile"><b>Work with Azure DevOps, Jira, GitHub, and Confluence</b><span>Show the open bugs in this sprint</span></a></li><li><a href="#cap-system-data" class="tile"><b>Read any data in Azure DevOps, Jira, Xray, and Confluence, and open Azure DevOps pull requests</b><span>Are there open pull requests in any repository of QI-Claims?</span></a></li></ul></div>
|
|
@@ -733,6 +733,30 @@ forgeqe web --no-open # only print the address
|
|
|
733
733
|
</code></pre></div>
|
|
734
734
|
<p>The first page is Settings › Set up: the project folder (an existing clone, or a new folder), ForgeQE in it (the same
|
|
735
735
|
as <code>forgeqe init</code>), what this computer needs, and a model. See <a href="web-app/index.html">docs/WEB_APP.md</a> for every page.</p>
|
|
736
|
+
<p><strong>Talk to it.</strong> Talk (the button in a chat's composer, on Home's, or under Search in the sidebar) is a voice assistant
|
|
737
|
+
for the whole app, like an ElevenLabs agent: a quick model of its own (your active model) that holds the spoken
|
|
738
|
+
conversation and acts with tools the page carries out. Say "open the model settings", "where are my failed runs? open
|
|
739
|
+
it", "search for TestMu", "take me to Record", "go back": it moves around and finds things without starting a chat, and
|
|
740
|
+
asks which one you mean when it is not sure. What you see happen (a page opened, words in the box, a search) it does
|
|
741
|
+
without a word; it speaks to answer, to ask, or when something did not work. While ForgeQE works you can still move around, and "stop" stops its work.
|
|
742
|
+
Its model is its own: Settings › Models, Talk's voice agent (else the cheapest model rated for quick planning work). In
|
|
743
|
+
a chat or on Home, what you ask ForgeQE to do goes into the message box to change or Refine; "send it" sends it (or turn
|
|
744
|
+
on Send when I pause). Real work, such as "get me the ACs for 256 from ADO", goes to ForgeQE's agent. Its answer is
|
|
745
|
+
not read back to you: once it is done, a short answer is said as it is and a longer one in a sentence or two of what it
|
|
746
|
+
found or did (code, tables, links and its sources stay on the screen); talking over it stops it and listens. It all runs on this computer with free, open-source models, so nothing you say
|
|
747
|
+
leaves it: Whisper (faster-whisper) writes down what you said and Kokoro reads replies, in a voice you pick. The first
|
|
748
|
+
time, Talk asks before downloading them, about 750 MB into <code>~/.forgeqe/voice</code> (or run <code>forgeqe voice setup</code>; <code>forgeqe voice status</code> says whether it is ready). Talk never answers for you: when the chat asks a question or waits for an
|
|
749
|
+
approval, it says so and stops listening until you answer with a click. The browser asks once for the microphone.
|
|
750
|
+
Talk speaks English or Hindi (हिन्दी): pick the language in Talk's note. In Hindi it hears you in Hindi (English names
|
|
751
|
+
such as ADO or TestMu included), answers you in Hindi in a Hindi voice, and still reads the chat's English replies in
|
|
752
|
+
your English voice. Hindi is heard far better with its own listening model (Whisper small, about 465 MB): Talk offers it
|
|
753
|
+
the first time you pick Hindi, downloads it only when you say so, and listens with the English model meanwhile.
|
|
754
|
+
Turn on <strong>Wake word</strong> in Talk's note to talk hands-free: Talk then waits for "Hey ForgeQE" (or "Hey" and the name you
|
|
755
|
+
gave ForgeQE, or a phrase you type, such as "Hey Nova") and acts on nothing else. Say it and what you want in one breath
|
|
756
|
+
("Hey ForgeQE, open the runs page"), or say it, wait for the tone, then ask. It stays awake for follow-ups until 20
|
|
757
|
+
seconds of quiet, then waits for the phrase again. With the wake word on, Talk starts listening again when ForgeQE web
|
|
758
|
+
opens (the browser may need one click on the page first). While it waits, what it hears is written down on this
|
|
759
|
+
computer only to look for the phrase, and is never shown, kept or sent.</p>
|
|
736
760
|
<p><strong>Found a problem in ForgeQE itself?</strong> Settings › Report a problem. ForgeQE picks the recent session that went wrong
|
|
737
761
|
and reads its log for what was run and ForgeQE's own errors; the bug reporter (<code>forgeqe-bug-report</code>) drafts the bug from
|
|
738
762
|
that and asks only what it cannot find, usually what you expected. You edit it, keep or untick what is attached (that
|
|
@@ -1051,7 +1075,13 @@ with no panel in it, only a small "Recording" badge that takes no clic
|
|
|
1051
1075
|
Record page (and on the keys: Ctrl+Shift+Space, then P, Z or S). After each step the recorder keeps a picture of the
|
|
1052
1076
|
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
|
|
1053
1077
|
address keeps no query, where a form sent by GET puts what was typed), and the calls the page made to its own site
|
|
1054
|
-
that change data or fail (method, path and status only)
|
|
1078
|
+
that change data or fail (method, path and status only), for checks in the review. With <code>api.capture</code> on (the
|
|
1079
|
+
default), it also keeps the application's API calls in full in <code>network.json</code>, as a browser run does, each with the
|
|
1080
|
+
step it came after: the request and response bodies for API tests, with credentials in headers dropped, fields named
|
|
1081
|
+
like a password, token, key or session redacted, and every saved login's username and password replaced wherever they
|
|
1082
|
+
appear. Nothing is kept while the recording is paused. A value you make a secret in the review is taken out of
|
|
1083
|
+
<code>network.json</code> too (a contract set made from it before keeps its copy: make the set again). When you stop, you review
|
|
1084
|
+
the recording with clicks.</p>
|
|
1055
1085
|
<p>The review starts with the steps and <strong>Write the test</strong>; everything else is under <strong>More</strong>. ForgeQE has already made
|
|
1056
1086
|
the choices most recordings need, as one version you can undo: an email typed where an account is made is new on each
|
|
1057
1087
|
run, and the last step has the check its page suggests first. When steps of the recording are a saved block, it says
|
|
@@ -1074,7 +1104,7 @@ so: <strong>Use the block</strong> marks them as the block.</p>
|
|
|
1074
1104
|
<tr><td>Test data</td><td>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>
|
|
1075
1105
|
<tr><td>Blocks</td><td>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>
|
|
1076
1106
|
<tr><td>History</td><td>Every change is a version: go back to any of them, or to the recording as recorded</td></tr>
|
|
1077
|
-
<tr><td>Try it</td><td>Plays the steps with Playwright in a new browser, as the test will: where it was recorded or on another environment of <code>env.yaml</code> (the same web app's address there), with the test data as recorded or other values</td></tr>
|
|
1107
|
+
<tr><td>Try it</td><td>Plays the steps with Playwright in a new browser, as the test will: where it was recorded or on another environment of <code>env.yaml</code> (the same web app's address there), with the test data as recorded or other values. 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>
|
|
1078
1108
|
</tbody>
|
|
1079
1109
|
</table></div>
|
|
1080
1110
|
<p><strong>Start from a block</strong> (More options on the Record page): the recording opens the block's first page and does its
|
|
@@ -1334,7 +1364,7 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
|
|
|
1334
1364
|
<li><strong>Fields on new cases.</strong> <code>new_cases</code> gives every new case a priority, tags or labels, and in Azure DevOps a state: <code>state: Design</code> makes each case wait for a person to mark it Ready. The agent may give a case its own priority and tags.</li>
|
|
1335
1365
|
<li><strong>Shared steps and data.</strong> <code>sources.azure_devops.shared_steps</code> lists Shared Steps work items; a new case that has their steps in a row refers to them instead of copying them. A case run with several sets of data gets parameters (<code>@user</code>) and a data table.</li>
|
|
1336
1366
|
<li><strong>Cases left behind by a story change.</strong> <code>story_test_cases</code> reads the story's history and marks the linked cases last changed before its title, description or acceptance criteria were (stale), with what changed. The agent offers to update each one the change affects, or to retire one that tests behaviour the story no longer has.</li>
|
|
1337
|
-
<li><strong>Retiring a case.</strong> <code>retire_test_case</code> asks first, then closes it (Azure DevOps <code>retire_state</code
|
|
1367
|
+
<li><strong>Retiring a case.</strong> <code>retire_test_case</code> asks first, then closes it (Azure DevOps <code>retire_state</code>; by default a state the project itself calls done, so a workflow that ends in <em>Verified</em> or <em>Shipped</em> needs no setting) or labels it (Jira <code>retire_label</code>, default obsolete), with the reason. Nothing is deleted, and retired cases are not offered for reuse.</li>
|
|
1338
1368
|
<li><strong>Duplicates before saving.</strong> <code>check_test_cases</code> with <code>against</code> (a story) compares the cases with the story's linked cases and its scope: the same steps is a duplicate naming the existing case, more steps or a close title an overlap.</li>
|
|
1339
1369
|
<li><strong>Cases with no story.</strong> Cases written from a page, a spec or a file are saved in an Azure DevOps area path or a Jira or Zephyr Scale project you name, compared with that area's or project's scope.</li>
|
|
1340
1370
|
<li><strong>The feature's other stories.</strong> <code>sibling_cases: true</code> also compares with the cases of the other stories under the story's feature or epic (the first 30 stories; in Jira, the parent field Jira Cloud uses for epics).</li>
|
|
@@ -2350,7 +2380,7 @@ forgeqe knowledge docs outline specs/payments.md # the tree of one document
|
|
|
2350
2380
|
<div class="facts">
|
|
2351
2381
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>What can you do?</li><li>Which model am I using?</li><li>How do I set up email alerts?</li><li>Show me the icons of all agents</li><li>Which version of ForgeQE is this?</li></ul></div>
|
|
2352
2382
|
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
2353
|
-
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>forgeqe_setup</code> <code>capabilities</code> <code>playbook</code> <code>use_capabilities</code></p></div>
|
|
2383
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>forgeqe_setup</code> <code>capabilities</code> <code>playbook</code> <code>use_capabilities</code> <code>app_action</code></p></div>
|
|
2354
2384
|
</div>
|
|
2355
2385
|
<div class="detail"><span class="mono">In detail</span>
|
|
2356
2386
|
<p class="see">See <a href="#doc-how_to_use-2-scaffold-config">2. Scaffold config</a>.</p>
|
|
@@ -3180,7 +3210,7 @@ control fails the run.</p>
|
|
|
3180
3210
|
<header class="chead"><img class="pix pix--chapter" src="../img/icons/mobile.svg" alt="" width="40" height="40"><span class="mono">08</span><h2 id="area-mobile-h">Mobile</h2><p>Android and iOS apps through Appium or Maestro: explore a goal, replay, run the team's flows</p></header>
|
|
3181
3211
|
<article class="spec feat" id="cap-mobile-apps">
|
|
3182
3212
|
<div class="hd"><span class="mono">Mobile</span><h3>Automate Android and iOS apps</h3></div>
|
|
3183
|
-
<p class="ds">Carries out a plain-language goal in an Android or iOS app through Appium and saves it as a mobile workflow with checks of the outcome; replays workflows with no model on Appium (healing a moved control) or Maestro; runs the team's own Maestro flows after checking them against an allowlist; uploads an app build to TestMu AI and saves its lt:// id as the app's build. Apps come from env.yaml (kind: mobile) or forgeqe.yaml mobile:.</p>
|
|
3213
|
+
<p class="ds">Carries out a plain-language goal in an Android or iOS app through Appium and saves it as a mobile workflow with checks of the outcome, or records one by hand on the Record page (the device's screen shown there, here or on TestMu AI or BrowserStack, each tap, entry and check done on the device and kept as a step, no model); replays workflows with no model on Appium (healing a moved control) or Maestro; runs the team's own Maestro flows after checking them against an allowlist; uploads an app build to TestMu AI and saves its lt:// id as the app's build. Apps come from env.yaml (kind: mobile) or forgeqe.yaml mobile:.</p>
|
|
3184
3214
|
<div class="facts">
|
|
3185
3215
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Sign in to the courier app and accept the first delivery, and save it as a test</li><li>Replay the courier login on Maestro</li><li>Run our Maestro flows in .maestro/</li><li>Upload builds/courier.apk to TestMu for the courier app</li></ul></div>
|
|
3186
3216
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li><li><span class="need req">Required</span><span>Mobile apps: env.yaml (kind: mobile) or mobile.apps in forgeqe.yaml</span></li><li><span class="need input">You give</span><span>an Appium server with a device or emulator (or a device cloud), or Maestro installed; the app in env.yaml or forgeqe.yaml mobile.apps</span></li></ul></div>
|
|
@@ -3194,7 +3224,8 @@ control fails the run.</p>
|
|
|
3194
3224
|
and heals a control that moved), and through <strong>Maestro</strong> (fast replays, and your team's own Maestro flows). In the shell,
|
|
3195
3225
|
ask for a goal in the app ("sign in to the courier app and accept the first delivery") and ForgeQE's agent explores it
|
|
3196
3226
|
on your device or emulator and saves a workflow with checks of the outcome. The same from the command line:</p>
|
|
3197
|
-
<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><code>forgeqe mobile
|
|
3227
|
+
<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><code>forgeqe mobile setup # Appium and its drivers here, pinned (once); runs start it themselves
|
|
3228
|
+
forgeqe mobile doctor # does the Appium server answer, is maestro installed?
|
|
3198
3229
|
forgeqe mobile explore "Sign in and accept the first delivery" --app courier
|
|
3199
3230
|
forgeqe mobile replay <run folder>/workflow.yaml # on Appium (mobile.driver), healing moved controls
|
|
3200
3231
|
forgeqe mobile replay workflow.yaml --driver maestro # the same workflow as a Maestro flow
|
|
@@ -3278,7 +3309,8 @@ no CI job tests it yet (it needs a macOS runner with a simulator).</p>
|
|
|
3278
3309
|
</section>
|
|
3279
3310
|
<section class="doc" id="doc-docs-mobile-use">
|
|
3280
3311
|
<h4>Use</h4>
|
|
3281
|
-
<div class="prose"><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><code>forgeqe mobile
|
|
3312
|
+
<div class="prose"><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><code>forgeqe mobile setup # Appium and its drivers, pinned, into ForgeQE's tools folder (once)
|
|
3313
|
+
forgeqe mobile doctor # does the Appium server answer (the cloud's hub and sign-in when every
|
|
3282
3314
|
# device in use is on TestMu or BrowserStack), is maestro installed? (or, with
|
|
3283
3315
|
# mobile.maestro.testmu: is the hyperexecute CLI there, are the user and key set?)
|
|
3284
3316
|
forgeqe mobile apps # the mobile apps of the active environment
|
|
@@ -3451,6 +3483,44 @@ label; <code>control_type</code> is the Android class (<code>android.widget.Butt
|
|
|
3451
3483
|
</ul>
|
|
3452
3484
|
</div>
|
|
3453
3485
|
</section>
|
|
3486
|
+
<section class="doc" id="doc-docs-mobile-appium-on-this-computer">
|
|
3487
|
+
<h4>Appium on this computer</h4>
|
|
3488
|
+
<div class="prose"><p>For an emulator or a phone on this computer, <code>forgeqe mobile setup</code> (or Settings › Set up › Install what's missing,
|
|
3489
|
+
when a device in use is on this computer) installs Appium 3.9.0 with the UiAutomator2 driver (and XCUITest on a Mac)
|
|
3490
|
+
into ForgeQE's tools folder, pinned, with no install script run. A run on a device here then starts that Appium by
|
|
3491
|
+
itself when nothing answers at <code>mobile.appium.url</code>, on 127.0.0.1, and stops it when ForgeQE exits; an Appium already
|
|
3492
|
+
running there (your own) is used as it is. It finds the Android SDK (<code>ANDROID_HOME</code>, else Android Studio's folder) and
|
|
3493
|
+
Java (<code>JAVA_HOME</code>, else the one Android Studio ships), and needs Node.js 20 or later on PATH. <code>forgeqe mobile doctor</code>
|
|
3494
|
+
says what is missing. A device cloud (TestMu AI, BrowserStack) needs none of it: its own Appium runs there.</p>
|
|
3495
|
+
</div>
|
|
3496
|
+
</section>
|
|
3497
|
+
<section class="doc" id="doc-docs-mobile-record-by-hand">
|
|
3498
|
+
<h4>Record by hand</h4>
|
|
3499
|
+
<div class="prose"><p>Record → <strong>Mobile app</strong> in <code>forgeqe web</code> records a test with no model: pick the app and a device (one of this
|
|
3500
|
+
computer's, or TestMu AI's or BrowserStack's), and the device's screen appears on the page with its controls outlined.</p>
|
|
3501
|
+
<ul>
|
|
3502
|
+
<li><strong>Tap</strong> a control on the screen and it is tapped on the device; a field opens a box to type into it (plain text, or a
|
|
3503
|
+
saved secret by its name). <strong>Check</strong> adds a check of what a control shows now, <strong>Long-press</strong> and <strong>Wait for</strong> do
|
|
3504
|
+
what they say. Under the screen: scroll, swipe, Back, Enter, hide the keyboard, wait.</li>
|
|
3505
|
+
<li>Each action is done on the device through the locator ForgeQE records for it (the control's id, its text, and its
|
|
3506
|
+
place among controls alike), so a step a replay could not find is never kept. A control with neither an id nor a
|
|
3507
|
+
text is not offered.</li>
|
|
3508
|
+
<li>A permission prompt's answer (Android's permission controller, iOS's own alerts) goes to the workflow's <code>dismiss</code>
|
|
3509
|
+
list, so a replay answers it only when asked.</li>
|
|
3510
|
+
<li>A password field takes only a saved secret (<code>mobile.secrets</code>), typed from the environment; the workflow keeps
|
|
3511
|
+
<code>{{secret:NAME}}</code>, and the value never reaches the page. Text equal to a secret is saved as its placeholder.</li>
|
|
3512
|
+
<li>A tap on a drop-down (an Android <code>Spinner</code>) and then on one of its items is one <code>select</code> step: the drop-down by its
|
|
3513
|
+
id and the item by the text it shows (<code>value</code>), which a replay picks again, and Maestro does as two taps.</li>
|
|
3514
|
+
<li>Stop saves <code>workflow.yaml</code>, a picture of each step with the controls it shows, and a report in
|
|
3515
|
+
<code>.forgeqe/reports/mobile-record-…/</code>, and opens the workflow's review, as a desktop recording does: change a step's
|
|
3516
|
+
control, add a check by clicking a control on a step's picture, make a typed value test data or a secret
|
|
3517
|
+
(<code>mobile.secrets</code>), and replay it there (<code>forgeqe mobile replay</code>, rows from a data file).</li>
|
|
3518
|
+
</ul>
|
|
3519
|
+
<p>It runs through Appium on every device, so a cloud device is recorded the same way as an emulator. An Android app that
|
|
3520
|
+
hands its first screen over at once (a splash, then a sign-in) starts fine: sessions wait for any of the app's
|
|
3521
|
+
screens (<code>appium:appWaitActivity: "*"</code>, which <code>mobile.appium.capabilities</code> can change).</p>
|
|
3522
|
+
</div>
|
|
3523
|
+
</section>
|
|
3454
3524
|
<section class="doc" id="doc-docs-mobile-explore">
|
|
3455
3525
|
<h4>Explore</h4>
|
|
3456
3526
|
<div class="prose"><p>The model sees the goal, its steps so far, the numbered controls on screen with the text each shows, and a screenshot
|
|
@@ -5073,7 +5143,7 @@ a stop; <code>--yes</code>, a schedule or CI stops at the limit as before.</p>
|
|
|
5073
5143
|
</article>
|
|
5074
5144
|
<article class="spec feat" id="cap-migrate-tests">
|
|
5075
5145
|
<div class="hd"><span class="mono">Automated tests</span><h3>Migrate a test suite</h3></div>
|
|
5076
|
-
<p class="ds">Moves a repository's automated tests to another framework or language (Selenium, Cypress, Protractor, WebdriverIO, Puppeteer, TestCafe, Nightwatch, Robot Framework or Playwright to Playwright, Cypress, WebdriverIO or
|
|
5146
|
+
<p class="ds">Moves a repository's automated tests to another framework or language (Selenium, Cypress, Protractor, WebdriverIO, Puppeteer, TestCafe, Nightwatch, Robot Framework or Playwright to Playwright, Cypress, WebdriverIO, Selenium or Robot Framework), after a plan that says first what is possible and what is not and that the user confirms; ForgeQE runs each migrated test itself, in a job if the user wants to keep working.</p>
|
|
5077
5147
|
<div class="facts">
|
|
5078
5148
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Migrate the Selenium tests in tests/ to Playwright TypeScript</li></ul></div>
|
|
5079
5149
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a git repository with the tests to migrate</span></li></ul></div>
|
|
@@ -5082,7 +5152,7 @@ a stop; <code>--yes</code>, a schedule or CI stops at the limit as before.</p>
|
|
|
5082
5152
|
<div class="detail"><span class="mono">In detail</span>
|
|
5083
5153
|
<section class="doc" id="doc-how_to_use-migrating-a-test-suite">
|
|
5084
5154
|
<h4>Migrating a test suite</h4>
|
|
5085
|
-
<div class="prose"><p><code>forgeqe migrate</code> moves a test suite to another framework or language: Selenium (Java, C#, Python, JavaScript, Ruby), Selenide, Cypress, Protractor, WebdriverIO, Puppeteer, TestCafe, Nightwatch, Robot Framework or Playwright, to Playwright (TypeScript, JavaScript, Python, Java, C#), Cypress, WebdriverIO
|
|
5155
|
+
<div class="prose"><p><code>forgeqe migrate</code> moves a test suite to another framework or language: Selenium (Java, C#, Python, JavaScript, Ruby), Selenide, Cypress, Protractor, WebdriverIO, Puppeteer, TestCafe, Nightwatch, Robot Framework or Playwright, to Playwright (TypeScript, JavaScript, Python, Java, C#), Cypress, WebdriverIO, Selenium (Python, Java, C#) or Robot Framework (with the Browser library). <code>forgeqe migrate targets</code> lists them, and a project adds its own (below). It always starts with a plan, which writes nothing:</p>
|
|
5086
5156
|
<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><code>forgeqe migrate plan --from tests --to playwright-typescript # the source stack is detected
|
|
5087
5157
|
forgeqe migrate plan --from e2e --stack protractor-typescript --to playwright-typescript --only "checkout/**" \
|
|
5088
5158
|
--instructions "Page objects go in pages/, one class per page"
|
|
@@ -5105,11 +5175,57 @@ dependency folders are not copied.</p>
|
|
|
5105
5175
|
<li><strong>Confirm.</strong> A person confirms the plan: at a terminal by typing its id, or on the Migration page of <code>forgeqe web</code>. The confirmation is kept under ForgeQE's home, by the plan's digest, so a plan file that comes with a repository is never already confirmed, and a plan edited after it was confirmed is refused. When the run starts, ForgeQE builds the plan again from the source and refuses it if the files, targets or limits changed.</li>
|
|
5106
5176
|
<li><strong>Run.</strong> The setup step makes the target folder a project of its own (<code>package.json</code> and <code>playwright.config.ts</code>, <code>requirements.txt</code> and <code>conftest.py</code>, <code>pom.xml</code>, a <code>.csproj</code>). Then a fresh agent session per file writes its target version. The agent may edit only the target folder. After each reply ForgeQE puts back any change outside it, removes symbolic links, and checks the file is at the planned path. For a test it also checks that every test of the source file is there, none is skipped or focused, and the assertions were kept. Then ForgeQE runs that one test with its own command, built from the plan (<code>npx playwright test login.spec.ts</code>, <code>python3 -m pytest test_login.py</code>, <code>mvn -q test -Dtest=LoginTest</code>) and started without a shell. A failure goes back to the agent with the output, up to <code>code.max_attempts</code> times.</li>
|
|
5107
5177
|
<li><strong>Validate and fix.</strong> When every file is done, ForgeQE runs each migrated test again with all files in place, and
|
|
5108
|
-
counts its tests
|
|
5109
|
-
|
|
5110
|
-
|
|
5178
|
+
counts its tests against the source. A test that passes is then <em>proved to check something</em>, by experiment rather
|
|
5179
|
+
than by reading its code: ForgeQE takes the values the source expected, writes a copy of the migrated test with each
|
|
5180
|
+
of them made wrong, and runs it once more. <strong>That run has to fail.</strong> A test that passes either way does not check
|
|
5181
|
+
what its source checked, whatever its framework and however its assertions are spelled, so it is not migrated — and
|
|
5182
|
+
a value the source checked that the migrated file never mentions at all is reported without a run. The copy is put
|
|
5183
|
+
back in every case, and the "Checks proved" column of <code>migrate.md</code> says which tests were proved this way. Where
|
|
5184
|
+
there is nothing to corrupt (the source checks only computed values), assertion lines are counted as before. Each
|
|
5185
|
+
test that fails goes to the fixing agent with its output, then runs again. From the page or with
|
|
5186
|
+
<code>forgeqe migrate fix</code>, you can send a test to the fixing agent yourself with a note.</li>
|
|
5111
5187
|
<li><strong>Report.</strong> A test is <em>migrated</em> only when ForgeQE's run of it passed. A support file is migrated when a test that uses it passed, and <em>written</em> otherwise. A file the agent could not do is <em>failed</em> or <em>cannot be migrated</em>, with why. The run is <code>migrated</code> (every test), <code>partial</code> or <code>failed</code>. A model error never counts as a migrated file. The source tests are never changed. <code>migrate.md</code> and <code>result.json</code> are in <code>.forgeqe/migrations/<plan>/</code>, and the results are saved after each file, so running the plan again carries on and leaves finished files alone while they are unchanged.</li>
|
|
5112
5188
|
</ol>
|
|
5189
|
+
<p><strong>A framework ForgeQE does not ship.</strong> Every target above is data, not code, and a project adds its own the same way:
|
|
5190
|
+
a profile in <code>.forgeqe/migrate-targets/<id>.yaml</code>. So Karate, Gauge, Behave or anything else your team uses is a file
|
|
5191
|
+
you write, not a release you wait for.</p>
|
|
5192
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code># .forgeqe/migrate-targets/karate-java.yaml
|
|
5193
|
+
id: karate-java
|
|
5194
|
+
title: Karate (Java)
|
|
5195
|
+
framework: Karate # a name of your own; ForgeQE needs to know nothing about it
|
|
5196
|
+
language: java # one ForgeQE knows how to name files for (see below)
|
|
5197
|
+
ext: .feature
|
|
5198
|
+
needs: [mvn] # programs a run needs; {python} is this computer's python
|
|
5199
|
+
setup: [pom.xml, karate-config.js] # what the setup step writes before the first test
|
|
5200
|
+
runs: [mvn, -q, test, "-Dtest={class}"] # the command for ONE test, as arguments: {file} {class} {python} {evidenceDir}
|
|
5201
|
+
ran_nothing: ["No tests were executed"] # output that means it ran nothing although it exited 0
|
|
5202
|
+
conventions: Feature files with Scenario blocks; match for assertions; one Runner per feature.
|
|
5203
|
+
evidence:
|
|
5204
|
+
how: In karate-config.js, set the report directory to test-results.
|
|
5205
|
+
video: false
|
|
5206
|
+
</code></pre></div>
|
|
5207
|
+
<p>The same profiles serve a Tosca conversion (<code>forgeqe tosca plan --to karate-java</code>), so a framework you added is
|
|
5208
|
+
available to both. Then a person approves it at a terminal, by typing its id:</p>
|
|
5209
|
+
<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><code>forgeqe migrate targets # lists it, and whether it is approved
|
|
5210
|
+
forgeqe migrate target approve karate-java # shows the command it would run; you type the id
|
|
5211
|
+
forgeqe migrate plan --from tests --to karate-java # a target like any other from here on
|
|
5212
|
+
</code></pre></div>
|
|
5213
|
+
<p>Why the approval: a profile can come with the repository, and it names a program ForgeQE will start. So it is read as
|
|
5214
|
+
untrusted (unknown keys, YAML aliases and anything but an argument list are refused, and a shell, downloader,
|
|
5215
|
+
container, database client or file-moving command is refused outright), and what migrates is the exact copy you
|
|
5216
|
+
approved, kept with its digest in <code>.approved/</code>. Edit the profile afterwards and the approved copy still runs, with
|
|
5217
|
+
<code>forgeqe migrate targets</code> saying it changed, until you approve it again. An unapproved profile cannot be migrated to at
|
|
5218
|
+
all, and a profile can never take one of ForgeQE's own ids.</p>
|
|
5219
|
+
<p>Nothing in a profile is ever run as a pattern or a command line: <code>ran_nothing</code> and <code>evidence.signs</code> are plain words
|
|
5220
|
+
ForgeQE matches literally, and the command is an argument list it fills with values it has already checked.</p>
|
|
5221
|
+
<p>Whether a profile is <em>right</em> is settled by running it, not by trusting it: the validate stage runs every migrated test
|
|
5222
|
+
again with the values its source expected made wrong, so a command that does not really run the test, or never reports
|
|
5223
|
+
a failure, passes both times and fails the migration instead of signing it off.</p>
|
|
5224
|
+
<p>What a profile cannot do is invent a language: <code>language</code> is one of typescript, javascript, python, java, csharp, ruby
|
|
5225
|
+
or robot, because where a test file goes and what its class is called is code (a Java test is <code>src/test/java/<Class>.java</code>,
|
|
5226
|
+
a Python one <code>test_<name>.py</code>). A new framework in one of those languages is a profile; a new language still needs a
|
|
5227
|
+
change to ForgeQE. <code>naming</code> adjusts the rest where a language has no convention of its own:
|
|
5228
|
+
<code>naming: { test_suffix: .cy, test_dirs: [cypress, e2e], support_dirs: [cypress, support] }</code> is how Cypress is described.</p>
|
|
5113
5229
|
<p>Exit codes of <code>migrate run</code>: <code>0</code> every test migrated, <code>1</code> some or none, <code>2</code> stopped. The Migration page of <code>forgeqe web</code> does all of this in four steps (source, target, instructions, review), then follows
|
|
5114
5230
|
the job: its stages, every file, the tests with Fix, the source and target side by side, and the activity as it happens.
|
|
5115
5231
|
In the shell, "migrate our Selenium tests to Playwright" makes the plan and shows it. You confirm it yourself, and ForgeQE's agent can then run it or add the job.</p>
|
|
@@ -5144,7 +5260,12 @@ forgeqe tosca map tsc-… [--json] # e
|
|
|
5144
5260
|
forgeqe tosca ready tsc-… [--environment qa --app shop | --base-url URL] [--accept env:NAME,data] # what running the tests needs, before it starts
|
|
5145
5261
|
forgeqe tosca verify tsc-… [--suite Smoke] # run the converted tests again, no model
|
|
5146
5262
|
forgeqe tosca fix tsc-… --unit u004 --note "The cart badge is now a span" # one file back to the Tosca agent
|
|
5263
|
+
forgeqe tosca targets # the targets, this project's own included
|
|
5147
5264
|
</code></pre></div>
|
|
5265
|
+
<p>A Tosca conversion may target any framework a migration may, so a target profile of your own
|
|
5266
|
+
(<code>.forgeqe/migrate-targets/<id>.yaml</code>, see <a href="#doc-how_to_use-migrating-a-test-suite">Migrating a test suite</a>) is a Tosca target as soon
|
|
5267
|
+
as a person has approved it: <code>forgeqe tosca plan --file shop.tsu --to karate-java</code>. <code>forgeqe tosca targets</code> says which
|
|
5268
|
+
of your own are approved, and an unapproved one is refused here exactly as it is for a migration.</p>
|
|
5148
5269
|
<ol>
|
|
5149
5270
|
<li><strong>Read.</strong> ForgeQE reads the export with no model, through <a href="https://github.com/bermudas/ToscaTSU" class="ext" rel="noopener">ToscaTSU</a>'s parser
|
|
5150
5271
|
(MIT, included unchanged in <code>py/forgeqe_tosca/vendor/toscatsu</code>). It follows folders, reusable blocks with their
|
|
@@ -5656,27 +5777,30 @@ forgeqe pr-tests 42 --run --post # and post the results on p
|
|
|
5656
5777
|
<header class="chead"><img class="pix pix--chapter" src="../img/icons/api.svg" alt="" width="40" height="40"><span class="mono">13</span><h2 id="area-api-h">API</h2><p>Contracts and end-to-end scenarios, without a browser</p></header>
|
|
5657
5778
|
<article class="spec feat" id="cap-api-testing">
|
|
5658
5779
|
<div class="hd"><span class="mono">API</span><h3>API and contract testing</h3></div>
|
|
5659
|
-
<p class="ds">Builds API contracts (status, schema, key fields) from the calls a browser run saw or from an API description (OpenAPI, Swagger, WSDL, GraphQL, .proto, gRPC reflection), and end-to-end API scenarios from runs, descriptions, test cases, or plain English. Runs them straight against the API without a browser, or writes them as tests in the repository. REST, GraphQL (with subscriptions), SOAP, gRPC (with streaming), WebSocket and Server-Sent Events.
|
|
5780
|
+
<p class="ds">Builds API contracts (status, schema, key fields) from the calls a browser run saw or from an API description (OpenAPI, Swagger, WSDL, GraphQL, .proto, gRPC reflection), and end-to-end API scenarios from runs, descriptions, test cases, or plain English. Runs them straight against the API without a browser, or writes them as tests in the repository. REST, GraphQL (with subscriptions), SOAP, gRPC (with streaming), WebSocket and Server-Sent Events. Comparing runs of one flow learns which values are parameters; contracts that stop passing after the app changed are learned again from a newer run, kept only when a replay passes and a person agrees. A mock server built from the contracts.</p>
|
|
5660
5781
|
<div class="facts">
|
|
5661
|
-
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Turn the last run's API calls into tests</li><li>Test the API in openapi.yaml</li><li>Write API scenario tests for the order lifecycle</li><li>Import our Postman collection and send its calls</li><li>Add these cURL calls to the shop API</li></ul></div>
|
|
5782
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Turn the last run's API calls into tests</li><li>Test the API in openapi.yaml</li><li>Write API scenario tests for the order lifecycle</li><li>Import our Postman collection and send its calls</li><li>Add these cURL calls to the shop API</li><li>Heal the API contracts from the latest run</li></ul></div>
|
|
5662
5783
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li></ul></div>
|
|
5663
|
-
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>
|
|
5664
|
-
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>api_contracts</code> <code>run_api_contracts</code> <code>
|
|
5784
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Calls that change data run only when the user allows them, on a test environment, never production; healing never replays them.</li><li>A contract that fails can be a real defect: healing proposes a new version, and a person decides.</li></ul></div>
|
|
5785
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>api_contracts</code> <code>run_api_contracts</code> <code>heal_api_contracts</code> <code>api_scenarios</code> <code>run_api_scenarios</code> <code>write_api_tests</code> <code>api_new_set</code> <code>api_add_calls</code> <code>api_import_collection</code></p></div>
|
|
5665
5786
|
</div>
|
|
5666
5787
|
<div class="detail"><span class="mono">In detail</span>
|
|
5667
5788
|
<section class="doc" id="doc-how_to_use-api-and-contract-tests">
|
|
5668
5789
|
<h4>API and contract tests</h4>
|
|
5669
5790
|
<div class="prose"><p>ForgeQE tests APIs directly too: REST, GraphQL (queries, mutations and subscriptions), SOAP, gRPC (unary and streaming), WebSocket and Server-Sent Events. API tests check the same logic as UI tests in a fraction of the time, and they do not break when the page changes. Contracts come from two places:</p>
|
|
5670
5791
|
<ul>
|
|
5671
|
-
<li><strong>A browser run.</strong> Every browser run
|
|
5792
|
+
<li><strong>A browser run, a recording, or its latest try.</strong> Every browser run, every recording you make by hand, and the latest <strong>Try it</strong> of a recording record the application's own API calls (XHR, fetch, event streams) in <code>network.json</code> in the run folder: method, URL, status, timing, and the request and response bodies when they are JSON, XML, or text. Secrets never reach the file: <code>Authorization</code>, cookies, and API key headers are dropped (only the kind of auth is kept, e.g. bearer), and fields named like a password, token, key, session, or card number are redacted in bodies and query strings. Only a few headers are kept (content type, accept, SOAP action); <code>api.keep_headers</code> adds others your API needs, such as <code>X-Tenant</code>, which the contracts' example calls then send too. A header that can carry a credential (<code>Authorization</code>, <code>Cookie</code>, or one named like a token, key, auth or session) is refused there. Analytics and monitoring calls are left out. "Turn the last run's API calls into tests" (<code>api_contracts</code> from <code>run</code>) groups the calls into operations: one per method and path, with ids in paths turned into <code>{id}</code> (<code>GET /api/orders/{id}</code>), GraphQL by operation name, SOAP by action, gRPC-web by method. Several calls to one operation make a better contract: a field in every answer is required, a value that differs between calls is not pinned. No model is used.</li>
|
|
5672
5793
|
<li><strong>An API description,</strong> by link or file: OpenAPI 3 or Swagger 2 (JSON or YAML, or the Swagger UI page, which ForgeQE looks behind for the document), WSDL for SOAP, a GraphQL endpoint (read by introspection) or an SDL or introspection file, <code>.proto</code> files, or <code>grpc://host:port</code> for a gRPC server with reflection (through <a href="https://github.com/fullstorydev/grpcurl" class="ext" rel="noopener">grpcurl</a>); client, server and bidi streaming rpcs become streaming contracts, and a GraphQL subscription becomes a <code>graphql-transport-ws</code> WebSocket contract. Each operation gets an example call from the description's examples; values it gives no example for are made up and the contract is marked as needing real values.</li>
|
|
5673
5794
|
</ul>
|
|
5674
5795
|
<p>Each contract has one example call and what its answer must have: the <strong>status</strong>, the <strong>content type</strong>, the body's <strong>schema</strong>, and <strong>key fields</strong> (ids, statuses, names, totals: present, with their type; a value only where it does not change between calls, like a status). GraphQL answers must have no <code>errors</code>; SOAP answers no <code>Fault</code> and the expected elements; gRPC calls the OK status. Contract sets are saved in <code>.forgeqe/reports/api/<id>/</code>: <code>contracts.json</code> (edit the examples freely, e.g. to give real ids) and <code>api.md</code>.</p>
|
|
5675
5796
|
<p>Then:</p>
|
|
5676
5797
|
<ul>
|
|
5677
5798
|
<li><strong>Run them now</strong> (<code>run_api_contracts</code>, or <code>forgeqe api run</code>): ForgeQE makes each call and checks the answer, without a browser or a model. Calls that change data (POST, PUT, PATCH, DELETE, mutations, SOAP and gRPC calls not named like reads) are left out unless you allow them, on a test environment; the agent asks first. Calls with made-up values are skipped until you give real ones. Results go to <code>results.json</code> and <code>junit.xml</code>, with <code>report.html</code> (each contract a case, its checks the steps, with what the API answered) and <code>suite.json</code> beside them; a 401 or 403 says which header the call needs.</li>
|
|
5799
|
+
<li><strong>Calls the site's bot protection blocks.</strong> A site behind Cloudflare, Akamai, Imperva, DataDome or a similar service can answer a call that does not come from a browser with a challenge or block page (a 403, 429 or 503 with the service's marks, or HTML where the API answers JSON). ForgeQE tells that apart from the API's own refusal (a JSON 403 is the API's answer) and, with <code>api.browser_fallback</code> on (the default), sends a call that only reads again from a page of a real browser on the API's own site: the page loads first, so a challenge can set its cookie, and the call is made with <code>fetch()</code> in a part of the page the site's own scripts cannot see, so they never read its credentials. The result says "sent from a browser page". A call that changes data is never sent again. Contract runs, scenarios, healing and the API page's <strong>Send</strong> use it (the page says "Sent from a browser page" by the answer; <code>forgeqe web</code> keeps that browser for two minutes after the last blocked call); load tests and security checks never do. Turned off, a blocked call fails with "blocked" and the reason.</li>
|
|
5678
5800
|
<li><strong>Write them as tests</strong> (<code>write_api_tests</code>, or <code>forgeqe api tests</code>): Scribe writes them in the repository's own framework and HTTP client (Playwright's <code>request</code> fixture, pytest with requests, REST Assured, RestSharp or HttpClient, supertest...) with the base URL from configuration and credentials from environment variables, and ForgeQE runs them until they pass.</li>
|
|
5801
|
+
<li><strong>Heal them when the app changed</strong> (<code>heal_api_contracts</code>, or <code>forgeqe api heal [SET] --run RUN</code>): run the flow again in the browser, and ForgeQE runs the set's read-only calls, learns each one that fails again from the newer run (the same operation with a new answer, or the one call of the same method and step that moved, like <code>/api/v1/orders/{id}</code> to <code>/api/v2/orders/{id}</code>), and replays it. Only a version whose replay passes is offered, with what changed (path, status, fields now required or gone), and the set changes only when you agree (<code>--yes</code> in a terminal); the old <code>contracts.json</code> is kept in <code>history/</code>, and scenarios that still make the old call are named. A contract that fails can be a real defect, so nothing is changed on its own. Calls that change data are never replayed, contracts from a description are fixed in the description, and another site's call is never taken.</li>
|
|
5679
5802
|
</ul>
|
|
5803
|
+
<p><strong>Learning what the caller chooses.</strong> One run cannot tell <code>/domains/github.com</code> from a fixed path. Give <code>api_contracts</code> other runs of the same flow (other data, another user: <code>compare_runs</code>, or <code>forgeqe api contracts --run RUN --compare RUN2,RUN3</code>) and the calls made in the same step, with the same method and the same number of path segments, are compared: a segment that differed becomes a parameter named for the segment before it (<code>GET /domains/{domain}</code>), when the first segment is the same, no more than half of them differ, and the answers have the same shape, so two endpoints are not made one. Each contract lists its <strong>inputs</strong> in <code>contracts.json</code>, <code>api.md</code> and on the API page (under the call's request, with a note when a call was learned again by healing): its path parameters, and the query keys and body fields whose values differed between calls (names only, never values). The example stays a real call, so it runs as it is.</p>
|
|
5680
5804
|
<p>Credentials for API calls go in <code>forgeqe.yaml</code>, as references to environment variables; the values are sent, never stored or shown to a model:</p>
|
|
5681
5805
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>api:
|
|
5682
5806
|
capture: true # record the application's API calls in every browser run (default)
|
|
@@ -5685,6 +5809,8 @@ forgeqe pr-tests 42 --run --post # and post the results on p
|
|
|
5685
5809
|
Authorization: Bearer ${API_TOKEN}
|
|
5686
5810
|
X-Tenant: ${API_TENANT}
|
|
5687
5811
|
third_party: false # keep calls to other sites than the page's (sign-in providers, CDNs)
|
|
5812
|
+
keep_headers: [X-Tenant] # more headers to keep on captured calls, and to send in the calls made from them
|
|
5813
|
+
browser_fallback: true # a read-only call the site's bot protection blocks is sent again from a browser page
|
|
5688
5814
|
timeout_seconds: 30
|
|
5689
5815
|
oauth2: # a bearer token fetched with the client-credentials grant (sent unless a call has its own Authorization)
|
|
5690
5816
|
token_url: https://login.shop.example/oauth2/token
|
|
@@ -5844,6 +5970,19 @@ forgeqe api tests --scenarios --repo ../api-tests # on the repo's exi
|
|
|
5844
5970
|
</section>
|
|
5845
5971
|
</div>
|
|
5846
5972
|
</article>
|
|
5973
|
+
<article class="spec feat" id="cap-api-load-security">
|
|
5974
|
+
<div class="hd"><span class="mono">API</span><h3>API load and security checks</h3></div>
|
|
5975
|
+
<p class="ds">Load and latency testing of a contract set's read-only calls (virtual users, percentiles, throughput and error rate against limits), and robustness and API-security checks (OWASP API Top 10): malformed input, calls without credentials, leaked errors, mass assignment and missing security headers.</p>
|
|
5976
|
+
<div class="facts">
|
|
5977
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Load test the orders API with 20 users for a minute</li><li>Run OWASP security checks on the shop API</li><li>Fuzz the API's endpoints for robustness</li></ul></div>
|
|
5978
|
+
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
5979
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Load and security checks run against a test environment, never production; calls that change data are never load tested, and probed only when allowed.</li></ul></div>
|
|
5980
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>run_api_load</code> <code>run_api_security</code></p></div>
|
|
5981
|
+
</div>
|
|
5982
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
5983
|
+
<p class="see">See <a href="#doc-how_to_use-api-and-contract-tests">API and contract tests</a>.</p>
|
|
5984
|
+
</div>
|
|
5985
|
+
</article>
|
|
5847
5986
|
</section>
|
|
5848
5987
|
<section class="chapter" id="area-quality" aria-labelledby="area-quality-h">
|
|
5849
5988
|
<header class="chead"><img class="pix pix--chapter" src="../img/icons/result.svg" alt="" width="40" height="40"><span class="mono">14</span><h2 id="area-quality-h">Quality</h2><p>Accessibility, page performance, and visual changes</p></header>
|
|
@@ -6247,7 +6386,7 @@ forgeqe bi build --from //share/qa-reports # this machine's runs plus every bund
|
|
|
6247
6386
|
<div class="detail"><span class="mono">In detail</span>
|
|
6248
6387
|
<section class="doc" id="doc-readme-azure-devops-jira-and-other-systems">
|
|
6249
6388
|
<h4>Azure DevOps, Jira, and other systems</h4>
|
|
6250
|
-
<div class="prose"><p>ForgeQE's agent connects to each system's MCP server, configured from the same <code>sources:</code> settings in <code>forgeqe.yaml</code>: organization, site URL, and the names of the environment variables that hold the tokens. You don't write any MCP config yourself. Azure DevOps's server is the organization, so a project is optional and only limits ForgeQE's own test, sprint, and bug calls.</p>
|
|
6389
|
+
<div class="prose"><p>ForgeQE's agent connects to each system's MCP server, configured from the same <code>sources:</code> settings in <code>forgeqe.yaml</code>: organization, site URL, and the names of the environment variables that hold the tokens. You don't write any MCP config yourself. Azure DevOps's server is the organization, so a project is optional and only limits ForgeQE's own test, sprint, and bug calls. A chat starts none of them: a server starts the first time a request needs its tools ("Connecting to Azure DevOps MCP…") and stays for the rest of that chat. A server whose tools ForgeQE could not list starts with the chat, as before.</p>
|
|
6251
6390
|
<div class="tbl"><table>
|
|
6252
6391
|
<thead>
|
|
6253
6392
|
<tr><th>System</th><th>MCP server</th><th>Needs</th></tr>
|
|
@@ -139,7 +139,8 @@ no CI job tests it yet (it needs a macOS runner with a simulator).</p>
|
|
|
139
139
|
</tbody>
|
|
140
140
|
</table></div>
|
|
141
141
|
<h2 id="use"><a href="#use" class="hash">#</a>Use</h2>
|
|
142
|
-
<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><code>forgeqe mobile
|
|
142
|
+
<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><code>forgeqe mobile setup # Appium and its drivers, pinned, into ForgeQE's tools folder (once)
|
|
143
|
+
forgeqe mobile doctor # does the Appium server answer (the cloud's hub and sign-in when every
|
|
143
144
|
# device in use is on TestMu or BrowserStack), is maestro installed? (or, with
|
|
144
145
|
# mobile.maestro.testmu: is the hyperexecute CLI there, are the user and key set?)
|
|
145
146
|
forgeqe mobile apps # the mobile apps of the active environment
|
|
@@ -324,6 +325,38 @@ drag started on a carousel, which took it), it is tried again from another point
|
|
|
324
325
|
<li><strong>Memory.</strong> A failed explore of a goal is resumed from its last action (a tap, a type), never through the swipes
|
|
325
326
|
and backs after it, which are the search that failed.</li>
|
|
326
327
|
</ul>
|
|
328
|
+
<h2 id="appium-on-this-computer"><a href="#appium-on-this-computer" class="hash">#</a>Appium on this computer</h2>
|
|
329
|
+
<p>For an emulator or a phone on this computer, <code>forgeqe mobile setup</code> (or Settings › Set up › Install what's missing,
|
|
330
|
+
when a device in use is on this computer) installs Appium 3.9.0 with the UiAutomator2 driver (and XCUITest on a Mac)
|
|
331
|
+
into ForgeQE's tools folder, pinned, with no install script run. A run on a device here then starts that Appium by
|
|
332
|
+
itself when nothing answers at <code>mobile.appium.url</code>, on 127.0.0.1, and stops it when ForgeQE exits; an Appium already
|
|
333
|
+
running there (your own) is used as it is. It finds the Android SDK (<code>ANDROID_HOME</code>, else Android Studio's folder) and
|
|
334
|
+
Java (<code>JAVA_HOME</code>, else the one Android Studio ships), and needs Node.js 20 or later on PATH. <code>forgeqe mobile doctor</code>
|
|
335
|
+
says what is missing. A device cloud (TestMu AI, BrowserStack) needs none of it: its own Appium runs there.</p>
|
|
336
|
+
<h2 id="record-by-hand"><a href="#record-by-hand" class="hash">#</a>Record by hand</h2>
|
|
337
|
+
<p>Record → <strong>Mobile app</strong> in <code>forgeqe web</code> records a test with no model: pick the app and a device (one of this
|
|
338
|
+
computer's, or TestMu AI's or BrowserStack's), and the device's screen appears on the page with its controls outlined.</p>
|
|
339
|
+
<ul>
|
|
340
|
+
<li><strong>Tap</strong> a control on the screen and it is tapped on the device; a field opens a box to type into it (plain text, or a
|
|
341
|
+
saved secret by its name). <strong>Check</strong> adds a check of what a control shows now, <strong>Long-press</strong> and <strong>Wait for</strong> do
|
|
342
|
+
what they say. Under the screen: scroll, swipe, Back, Enter, hide the keyboard, wait.</li>
|
|
343
|
+
<li>Each action is done on the device through the locator ForgeQE records for it (the control's id, its text, and its
|
|
344
|
+
place among controls alike), so a step a replay could not find is never kept. A control with neither an id nor a
|
|
345
|
+
text is not offered.</li>
|
|
346
|
+
<li>A permission prompt's answer (Android's permission controller, iOS's own alerts) goes to the workflow's <code>dismiss</code>
|
|
347
|
+
list, so a replay answers it only when asked.</li>
|
|
348
|
+
<li>A password field takes only a saved secret (<code>mobile.secrets</code>), typed from the environment; the workflow keeps
|
|
349
|
+
<code>{{secret:NAME}}</code>, and the value never reaches the page. Text equal to a secret is saved as its placeholder.</li>
|
|
350
|
+
<li>A tap on a drop-down (an Android <code>Spinner</code>) and then on one of its items is one <code>select</code> step: the drop-down by its
|
|
351
|
+
id and the item by the text it shows (<code>value</code>), which a replay picks again, and Maestro does as two taps.</li>
|
|
352
|
+
<li>Stop saves <code>workflow.yaml</code>, a picture of each step with the controls it shows, and a report in
|
|
353
|
+
<code>.forgeqe/reports/mobile-record-…/</code>, and opens the workflow's review, as a desktop recording does: change a step's
|
|
354
|
+
control, add a check by clicking a control on a step's picture, make a typed value test data or a secret
|
|
355
|
+
(<code>mobile.secrets</code>), and replay it there (<code>forgeqe mobile replay</code>, rows from a data file).</li>
|
|
356
|
+
</ul>
|
|
357
|
+
<p>It runs through Appium on every device, so a cloud device is recorded the same way as an emulator. An Android app that
|
|
358
|
+
hands its first screen over at once (a splash, then a sign-in) starts fine: sessions wait for any of the app's
|
|
359
|
+
screens (<code>appium:appWaitActivity: "*"</code>, which <code>mobile.appium.capabilities</code> can change).</p>
|
|
327
360
|
<h2 id="maestro"><a href="#maestro" class="hash">#</a>Maestro</h2>
|
|
328
361
|
<p><strong>ForgeQE workflows on Maestro.</strong> <code>--driver maestro</code> writes the workflow as a Maestro flow (<code>flow.yaml</code> in the run
|
|
329
362
|
folder) and runs <code>maestro test</code>. Maestro's debug output gives each workflow step its result. Variables are filled in
|
|
@@ -437,6 +470,9 @@ the URL is refused. TLS is verified as usual.</li>
|
|
|
437
470
|
<tr><td><code>py/forgeqe_mobile/maestro.py</code></td><td>Workflows as Maestro flows, the allowlist for team flows, running <code>maestro test</code></td></tr>
|
|
438
471
|
<tr><td><code>py/forgeqe_mobile/hyperexecute.py</code></td><td>Maestro on TestMu: the HyperExecute project and running its CLI</td></tr>
|
|
439
472
|
<tr><td><code>py/forgeqe_mobile/explore.py</code></td><td>The model's action loop on Appium</td></tr>
|
|
473
|
+
<tr><td><code>py/forgeqe_mobile/record.py</code></td><td>Recording by hand: the screen's controls and their locators, the page's commands as steps</td></tr>
|
|
474
|
+
<tr><td><code>src/mobile/record.ts</code></td><td>The commands the Record page may send a mobile recording, checked</td></tr>
|
|
475
|
+
<tr><td><code>src/mobile/setup.ts</code></td><td><code>forgeqe mobile setup</code>: the pinned Appium and drivers, finding the SDK and Java, starting Appium here</td></tr>
|
|
440
476
|
<tr><td><code>py/forgeqe_mobile/service.py</code></td><td><code>serve</code>: replay, explore and maestro runs, <code>run.json</code></td></tr>
|
|
441
477
|
<tr><td><code>py/forgeqe_mobile/apps.py</code></td><td>The mobile app allowlist and its capabilities</td></tr>
|
|
442
478
|
</tbody>
|
|
@@ -453,7 +489,7 @@ OS), and <code>bun test tests/mobile.test.ts</code>.</p>
|
|
|
453
489
|
</nav>
|
|
454
490
|
</main>
|
|
455
491
|
<aside class="docs-toc" aria-label="On this page">
|
|
456
|
-
<p class="side-head">On this page</p><ul><li><a href="#use">Use</a></li><li><a href="#apps-and-settings">Apps and settings</a></li><li><a href="#devices">Devices</a></li><li><a href="#workflow-yaml-forgeqe-mobile-v1">Workflow YAML (forgeqe-mobile-v1)</a></li><li><a href="#explore">Explore</a></li><li><a href="#maestro">Maestro</a></li><li><a href="#testmu-ai-formerly-lambdatest">TestMu AI (formerly LambdaTest)</a></li><li><a href="#security">Security</a></li><li><a href="#code">Code</a></li></ul>
|
|
492
|
+
<p class="side-head">On this page</p><ul><li><a href="#use">Use</a></li><li><a href="#apps-and-settings">Apps and settings</a></li><li><a href="#devices">Devices</a></li><li><a href="#workflow-yaml-forgeqe-mobile-v1">Workflow YAML (forgeqe-mobile-v1)</a></li><li><a href="#explore">Explore</a></li><li><a href="#appium-on-this-computer">Appium on this computer</a></li><li><a href="#record-by-hand">Record by hand</a></li><li><a href="#maestro">Maestro</a></li><li><a href="#testmu-ai-formerly-lambdatest">TestMu AI (formerly LambdaTest)</a></li><li><a href="#security">Security</a></li><li><a href="#code">Code</a></li></ul>
|
|
457
493
|
</aside>
|
|
458
494
|
</div>
|
|
459
495
|
<footer class="foot">
|