@capagents/forgeqe 2.5.0 → 2.6.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.
Files changed (56) hide show
  1. package/HOW_TO_USE.md +91 -2
  2. package/dist/docs-site/docs/index.html +118 -10
  3. package/dist/docs-site/docs/mobile/index.html +29 -7
  4. package/dist/docs-site/docs/search.js +1 -1
  5. package/dist/docs-site/docs/web-app/index.html +8 -4
  6. package/dist/forgeqe.js +1096 -1067
  7. package/dist/web/assets/{Agent-Q7njo1Nn.js → Agent-u7Ey8Slc.js} +1 -1
  8. package/dist/web/assets/ApiTests-D_PZKUXw.js +10 -0
  9. package/dist/web/assets/Chat-BCwImb3U.js +3 -0
  10. package/dist/web/assets/{Data-CYWRWMA2.js → Data-x_yeOrL3.js} +4 -4
  11. package/dist/web/assets/{Features-CuixPXUj.js → Features-BQr8SMEU.js} +1 -1
  12. package/dist/web/assets/Jobs-KYn7S4yx.js +3 -0
  13. package/dist/web/assets/Quality-BY4sCSwU.js +1 -0
  14. package/dist/web/assets/Record-yZT93LmM.js +2 -0
  15. package/dist/web/assets/Regression-BMzfuhsG.js +5 -0
  16. package/dist/web/assets/Reports-D_L3pa9R.js +2 -0
  17. package/dist/web/assets/Response-DeCMeFqw.js +4 -0
  18. package/dist/web/assets/Runs-ShLZeGq3.js +2 -0
  19. package/dist/web/assets/Shell-B8HJCZ4f.js +3 -0
  20. package/dist/web/assets/arrow-down-B8XP1MaD.js +1 -0
  21. package/dist/web/assets/capgemini-white-ByjwPW8N.svg +21 -0
  22. package/dist/web/assets/{circle-dashed-CO-RmzsR.js → circle-dashed-ByDXyh2H.js} +1 -1
  23. package/dist/web/assets/index-Ct2Md_DL.js +26 -0
  24. package/dist/web/assets/index-DtP9ditr.css +2 -0
  25. package/dist/web/assets/{markdown-9nLYjAqd.js → markdown-BQVf95TM.js} +7 -7
  26. package/dist/web/assets/{sticky-note-BffcGVvl.js → sticky-note-Cx1bYZ3E.js} +1 -1
  27. package/dist/web/assets/thread-CIhAcfY-.js +5 -0
  28. package/dist/web/assets/{trending-up-BbHX2F6j.js → trending-up-Dg2FfbKu.js} +1 -1
  29. package/dist/web/assets/usePageChat-PSLtKusy.js +1 -0
  30. package/dist/web/index.html +3 -3
  31. package/docs/MOBILE.md +29 -7
  32. package/docs/WEB_APP.md +9 -4
  33. package/docs/user-guide.html +118 -10
  34. package/forgeqe.example.yaml +7 -0
  35. package/package.json +1 -1
  36. package/py/forgeqe_engine/cli.py +16 -0
  37. package/py/forgeqe_engine/recordsession.py +180 -7
  38. package/py/forgeqe_engine/suggest.py +79 -0
  39. package/py/forgeqe_engine/webrecord.py +19 -0
  40. package/py/forgeqe_engine/webrecord_page.py +11 -3
  41. package/py/forgeqe_mobile/cli.py +9 -2
  42. package/py/forgeqe_mobile/hyperexecute.py +133 -19
  43. package/py/forgeqe_mobile/maestro.py +45 -3
  44. package/py/forgeqe_mobile/service.py +51 -14
  45. package/dist/web/assets/ApiTests-C0ZAAuTl.js +0 -2
  46. package/dist/web/assets/Chat-QFcqaBtK.js +0 -3
  47. package/dist/web/assets/Jobs-B88qIb_r.js +0 -3
  48. package/dist/web/assets/Quality-BIUiBg1X.js +0 -1
  49. package/dist/web/assets/Record-DnT3bDoJ.js +0 -1
  50. package/dist/web/assets/Regression-BH1i_yvJ.js +0 -2
  51. package/dist/web/assets/Reports-DnidGC7G.js +0 -2
  52. package/dist/web/assets/Response-o9QqBpwk.js +0 -8
  53. package/dist/web/assets/Runs-hOT-2g1a.js +0 -2
  54. package/dist/web/assets/frame-C0RAa-Ev.js +0 -3
  55. package/dist/web/assets/index-BdhUnF_q.css +0 -2
  56. package/dist/web/assets/index-DBQd0Qgk.js +0 -26
package/HOW_TO_USE.md CHANGED
@@ -106,11 +106,11 @@ Everything ForgeQE can do, by area. ForgeQE's agent answers "can you…?" questi
106
106
  | Automated tests | **Turn a passed run into an automated test**: Scribe, the coding agent, writes a test for a passed browser run in the repository's own framework, page objects, and helpers; ForgeQE runs it until it passes and a reviewer approves it. | `write_test`, `run_test` | [docs](#6-tests) |
107
107
  | Automated tests | **Heal failing tests**: Runs a repository's tests and updates the ones the application has outgrown against the live app, or reports a real application bug instead. | `heal_tests` | [docs](#fixing-broken-tests) |
108
108
  | Automated tests | **Find and run existing tests**: Finds the automated tests that match a feature, tags, ids, a folder, or a sprint, confirms the selection, and runs it once the user agrees, with a verdict per test. | `find_tests`, `run_tests`, `list_sprints` | [docs](#finding-and-running-existing-tests) |
109
- | Automated tests | **Regression packs for a release**: Builds a regression pack from what goes into a release (an Azure DevOps sprint or work items, a commit range, pull requests, or changes read from any connected tool): the tests those changes can break, each with why, plus risk-area and smoke tests, and the changes no test covers. Runs it locally, on TestMu AI, or in a pipeline, compares each run with the last, and triages each failure: flaky, environment, broken test code, heal, or an AI browser re-run to tell a test the app outgrew from an app bug. | `build_regression_pack`, `run_regression_pack`, `list_regression_packs` | [docs](#regression-packs-for-a-release) |
109
+ | Automated tests | **Regression packs for a release**: Builds a regression pack from what goes into a release (an Azure DevOps sprint or work items, a commit range, pull requests, or changes read from any connected tool): the tests those changes can break, each with why, plus risk-area and smoke tests, and the changes no test covers. Runs it locally, on TestMu AI, or in a pipeline, compares each run with the last, and triages each failure: flaky, environment, broken test code, heal, or an AI browser re-run to tell a test the app outgrew from an app bug. | `build_regression_pack`, `run_regression_pack`, `list_regression_packs`, `regression_sources`, `edit_regression_pack` | [docs](#regression-packs-for-a-release) |
110
110
  | Automated tests | **Flaky test detection and quarantine**: Finds tests that flip between passing and failing in the repository's run history, with their likely cause, and quarantines them once the user agrees. | `flaky_tests`, `quarantine_tests` | [docs](#flaky-tests) |
111
111
  | Pull requests | **Review pull requests**: Reviews an Azure DevOps or GitHub pull request from the local clone for bugs, security, requirements, and tests, and posts the review once the user agrees. | `review_pull_request`, `post_pr_review` | [docs](#reviewing-pull-requests) |
112
112
  | Pull requests | **Pull request impact and test selection**: Works out which product areas, pages, requirements, and tests a pull request touches, picks the tests it can break, runs them, and posts the impact or results on the pull request once the user agrees. | `analyze_pr_impact`, `select_pr_tests`, `post_pr_test_results`, `comment_on_pr` | [docs](#what-a-pull-request-impacts-in-the-product) |
113
- | API | **API and contract testing**: 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, SOAP, and gRPC. | `api_contracts`, `run_api_contracts`, `api_scenarios`, `run_api_scenarios`, `write_api_tests` | [docs](#api-and-contract-tests) |
113
+ | API | **API and contract testing**: 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, SOAP, and gRPC. | `api_contracts`, `run_api_contracts`, `api_scenarios`, `run_api_scenarios`, `write_api_tests`, `api_new_set`, `api_add_calls`, `api_import_collection` | [docs](#api-and-contract-tests) |
114
114
  | Quality | **Accessibility and page performance**: Checks every page a run visits against WCAG rules (axe-core) and measures its Core Web Vitals, against budgets, with trends over time per page. | `quality_report`, `quality_trends` | [docs](#accessibility-and-performance-budgets) |
115
115
  | Quality | **Visual comparison with baselines**: Compares each page a run captures with its approved baseline and shows what changed; intended changes become the new baseline once the user agrees. | `visual_compare`, `visual_approve` | [docs](#visual-comparison) |
116
116
  | Quality | **Defect intelligence: trends and prediction**: Groups failures into defects, keeps their history across suites (new, known, gone, back again), and gives defect trends and where a change is likely to cause defects, with the cases to run first. | `defect_trends`, `predict_defects` | [docs](#bugs-for-failures) |
@@ -1268,6 +1268,27 @@ Build a pack for Jira fix version 2.4 and the commits since release/2.3 in ../sh
1268
1268
 
1269
1269
  **Gaps.** Changes no test is in for are listed as *not covered*, each with the closest existing test and what it lacks, so you can extend that test rather than write a new one.
1270
1270
 
1271
+ **The plan: what the release needs.** Besides the tests to run, a pack is a plan in four groups, so what is ready is never mixed up with what someone still has to do:
1272
+
1273
+ | Group | What it is | Its script |
1274
+ |---|---|---|
1275
+ | A Automated | tests of the repository the pack found (the reasons above) | *checked* only while its file is in the repository and still names the test; otherwise *missing* (moved, renamed or deleted since) |
1276
+ | B Manual | test cases linked to a changed work item that no automated test runs | run by a person |
1277
+ | C New automation | changes no test covers: a test to write, or the closest one to extend | to write |
1278
+ | D Exploratory | the risk areas the release touches | a session for a person |
1279
+
1280
+ Each entry has a priority, says where it came from (*found* in the sources and the code, or *suggested* by ForgeQE or its agent) and keeps its evidence (the work item, pull request or defect history, with links). Change it in your words ("take out the flaky ones", "add a manual check of the invoice PDF", "why is this in?") or on the page: priority, take out and put back, move between B, C and D, add an entry. An automated test is added only when its file is in the test repository (no hidden file) and names the test, so the pack never claims a script it has not found. Every change is kept in the pack's history, with who made it.
1281
+
1282
+ A pack starts as a **draft**; save it (a name, the release) when it is right, then run it now or on a schedule (a job that runs `forgeqe pack run`). Reuse it:
1283
+
1284
+ - **Refresh**: the same changes read again (`forgeqe pack build --refresh release-22`); your edits and its runs stay.
1285
+ - **The next release**: a new pack from new changes that keeps the edits of an earlier one (`--based-on release-22`).
1286
+ - **Compare** two releases: what each has ready, manual, to automate and exploratory, the tests and changes one has and the other not, and their last runs.
1287
+
1288
+ `--release "Release 22"` names the release a pack is for.
1289
+
1290
+ **On the Regression page** there are two tabs. On **Agent** you ask for a pack in a sentence ("Create a regression pack for Release 22"). The agent reads which sources the project is connected to (the test and product repositories, Azure DevOps, Jira, GitHub, test management, docs, a pipeline: the line at the top says which), says what a missing one would add and offers to connect it, and asks for the details it still needs, one or two at a time: the release, where its changes are, what to leave out, then whether to save it and run it now or on a schedule. Above the message box, *The pack needs* ticks off each detail as it is given (sources, release, changes, plan, saved, run); click a missing one to start your answer to it. The tab looks and works like the API page's Agent tab. None of the sources is required, and nothing runs until you say so. On **Packs** the packs are a table, newest first: each with how many entries are ready to run, scripts missing, manual, to automate and exploratory, and its last run. A row opens the pack's page: one strip of numbers (ready to run, script missing, the four groups, high priority, coverage of the release's changes, the last run; click one to show those entries), the plan as a table (all or one group, high priority, script missing, flaky or taken out, a search over tests, files and features, 50 rows a page with the highest priority first; a row opens its evidence), and beside it the release's changes, risk areas, runs and triage, history and a comparison with another release. Without a model set up, *Choose the changes* picks the sprint, commits or pull requests yourself.
1291
+
1271
1292
  **Running it.** ForgeQE asks before it runs anything.
1272
1293
 
1273
1294
  - *This machine*: ForgeQE builds one command for exactly the pack's tests, the way the repository already runs a test (for .NET, a `--filter` with each test, the settings an earlier job used, TRX results), runs it, and reads each result. A failed test runs once more; one that then passes is flaky.
@@ -1346,6 +1367,34 @@ forgeqe api run --base-url https://qa.shop.example # exit 1 when a contract fa
1346
1367
  forgeqe api tests --repo ../app # Scribe writes them as tests
1347
1368
  ```
1348
1369
 
1370
+ **The Agent tab** of the API tests page is a conversation: paste a link (an API description, a Postman collection,
1371
+ the docs), cURL commands, or tell it about the API in your words, and attach a file (a Postman collection is imported
1372
+ at once; an API description is kept in `.forgeqe/specs/` for the agent to read). The agent makes the API and its
1373
+ calls in folders, as Postman would (`api_new_set`, `api_add_calls`, `api_import_collection`, `api_contracts`), sends
1374
+ them, and says what it found; each API it made shows as a card to open on the Workbench tab. It never puts a
1375
+ credential in a call: you set the API's sign-in on the Workbench.
1376
+
1377
+ **Postman collections** (v2.0 and v2.1) come in from **Add an API** or the Agent tab, and go out with **Export as a
1378
+ Postman collection**: requests become calls in their folders, a saved example's status what each call must answer;
1379
+ only requests to the collection's own address are kept, and credentials (headers, secret variables, auth values)
1380
+ never are. An exported collection has a test of what each call must answer and `{{variables}}` where credentials go.
1381
+
1382
+ **On the API tests page's Workbench tab** (`forgeqe web`), it works like Postman, with an agent beside it. The APIs are on the left,
1383
+ each with its **calls** (contracts) and **flows** (scenarios). Open a call to see and change its request (method,
1384
+ path, params, headers, a JSON body), **Send** it and see what came back (body, headers, the checks that passed or
1385
+ failed), **Save** it, and set **what it must answer** (the status, the statuses that also pass, fields with their
1386
+ type or value), or take it from a right answer with **Use as what it must answer**. Pick the **environment** from
1387
+ `env.yaml` at the top: calls go to its API app's address, and **Run** runs every call and then every flow there
1388
+ (`forgeqe api run-all`). A call that changes data asks first: **Send it once**, or **Always on** that environment
1389
+ (remembered for the API, never for an environment named like production). **Sign in** once per API: a bearer token,
1390
+ an API key in a header, or a user name and password; the value you type goes to the credential store under a variable
1391
+ name, and only the name is kept with the API. Credential headers cannot be typed into a call's headers, and answers
1392
+ come back with credentials masked. Build a **flow** step by step from the API's calls: a step keeps a value from its
1393
+ answer by a name (`id` as `itemId`), and later steps use it as `{{itemId}}` in their path or body; `{{$unique}}` is
1394
+ new on each run. **Ask the agent** writes the tests, says why a call fails, or what is not tested yet, and its work
1395
+ shows on the page. Adding an API runs its calls that only read at once. Each run keeps the start of every answer (secrets
1396
+ masked), and each call shows how its last runs went.
1397
+
1349
1398
  ### End-to-end API scenarios
1350
1399
 
1351
1400
  A scenario is API calls in order, where later calls use values earlier answers gave: create a cart, add an item to `{{cartId}}`, place the order, read `{{orderId}}`. Each step has its own checks (status, schema, key fields). `{{$unique}}` is new on every run, for emails, usernames, and references that must not clash; `{{$uuid}}`, `{{$now}}`, and `{{$randomInt}}` are there too. Scenarios are saved in the contract set's `contracts.json` (edit them freely) and listed in `api.md`. There are four ways to make them (`api_scenarios`):
@@ -1923,6 +1972,46 @@ The recorder runs in an isolated world in each page, so the page's own scripts c
1923
1972
  records only real input: clicks and keys a script fakes are ignored. The panel's own clicks and keys never reach the page
1924
1973
  and are never recorded, and it stays above the page's dialogs. Recording uses local Chrome or Chromium.
1925
1974
 
1975
+ **From the web app (Record page).** You only do the steps, with nothing to describe first: the browser shows the site
1976
+ with no panel in it, only a small "Recording" badge that takes no click. **Pause**, **Undo** and **Stop** are on the
1977
+ Record page (and on the keys: Ctrl+Shift+Space, then P, Z or S). After each step the recorder keeps a picture of the
1978
+ page and what it showed (`steps/NNN.jpg` and `.json` in the run folder; the badge is left out of the picture, and an
1979
+ address keeps no query, where a form sent by GET puts what was typed), and the calls the page made to its own site
1980
+ that change data or fail (method, path and status only). When you stop, you review the recording with clicks.
1981
+
1982
+ The review starts with the steps and **Write the test**; everything else is under **More**. ForgeQE has already made
1983
+ the choices most recordings need, as one version you can undo: an email typed where an account is made is new on each
1984
+ run, and the last step has the check its page suggests first. When steps of the recording are a saved block, it says
1985
+ so: **Use the block** marks them as the block.
1986
+
1987
+ | In the review | What it does |
1988
+ |---|---|
1989
+ | Name | Written from what you did ("shop.test: Sign in → Email → Password → Log in …"); change it if you like |
1990
+ | Check that … under a step | One click adds a check of what the step brought to the page: a new title, a message or heading. Digits are checked by their shape (`Order placed: #\d+`) |
1991
+ | A call under a step | One click checks the page's own call to its server, such as `POST /api/orders answers 201`: the test waits for it and checks its status |
1992
+ | Suggest with the model | One model call reads the pages after each step and suggests checks and test data; each is kept only when it is what the recording holds. **Add** one, or **Add all** |
1993
+ | The picture of a step | Click a text on it to check that it shows, or a field to check its value |
1994
+ | Add, then Check | The page the step leads to, or a check in your words, which the coding agent finds on the page |
1995
+ | Add, then Step | **Record more from here**: the browser opens and does the steps up to there, and you record what comes next; it goes in after that step. Or a step in your words ("choose the cheapest delivery"), which the coding agent finds on the page and does there; open a page; or go back |
1996
+ | Add, then Note | A note on the step for whoever writes the test ("this is the cart page object") |
1997
+ | Drop (bin) | Removes the step |
1998
+ | Instructions for the Coding agent | Anything else about the test, in your words: where it goes, the page objects to use, its tags. The coding agent follows them, as long as they keep to the steps and checks |
1999
+ | Test data | Each typed value: as typed, test data, new on each run (`ann+{{$unique}}@shop.test`), or a secret read from the environment, its typed text removed from the recording, its pictures and every kept version |
2000
+ | Blocks | Keep steps you do in many tests (Sign in) as a block, `.forgeqe/blocks/<name>.yaml`; put a block in after a step. Blocks go into the repository, so the team shares them (the review says when `.gitignore` 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 |
2001
+ | History | Every change is a version: go back to any of them, or to the recording as recorded |
2002
+ | Try it | Plays the steps with Playwright in a new browser, as the test will: where it was recorded or on another environment of `env.yaml` (the same web app's address there), with the test data as recorded or other values |
2003
+
2004
+ **Start from a block** (More options on the Record page): the recording opens the block's first page and does its
2005
+ steps for you in the same tab, the recorder paused meanwhile; then you record the rest. A step that cannot be done (a
2006
+ secret not set) ends the block there, and you do the rest by hand. **Write the test** hands the recording to the coding
2007
+ agent, which asks nothing: the plan and where the test goes follow the repository, and each block becomes one helper
2008
+ that every test using it calls. A past recording is run again the same way: **Review** in the list, then **Try it**.
2009
+
2010
+ **Write the test** first plays the steps with Playwright, as the test will. When a step does not work, it says so
2011
+ before any code is written: **Record step N again** (the browser does the steps before it, and what you record takes
2012
+ its place), drop it, or write the test anyway. Then the Coding agent writes the test, and its work shows in the review:
2013
+ what it is doing, the files it changed, and its answer (or why it stopped).
2014
+
1926
2015
  ### Desktop apps (Windows)
1927
2016
 
1928
2017
  ForgeQE also automates Windows thick-client apps (Win32, WinForms, WPF). In the shell, ask for a goal in the app
@@ -865,6 +865,46 @@ change. <code>--no-plan</code> (or <code>--yes</code>) skips the plan. Later: <c
865
865
  <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
866
866
  records only real input: clicks and keys a script fakes are ignored. The panel's own clicks and keys never reach the page
867
867
  and are never recorded, and it stays above the page's dialogs. Recording uses local Chrome or Chromium.</p>
868
+ <p><strong>From the web app (Record page).</strong> You only do the steps, with nothing to describe first: the browser shows the site
869
+ with no panel in it, only a small &quot;Recording&quot; badge that takes no click. <strong>Pause</strong>, <strong>Undo</strong> and <strong>Stop</strong> are on the
870
+ Record page (and on the keys: Ctrl+Shift+Space, then P, Z or S). After each step the recorder keeps a picture of the
871
+ 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
872
+ address keeps no query, where a form sent by GET puts what was typed), and the calls the page made to its own site
873
+ that change data or fail (method, path and status only). When you stop, you review the recording with clicks.</p>
874
+ <p>The review starts with the steps and <strong>Write the test</strong>; everything else is under <strong>More</strong>. ForgeQE has already made
875
+ the choices most recordings need, as one version you can undo: an email typed where an account is made is new on each
876
+ run, and the last step has the check its page suggests first. When steps of the recording are a saved block, it says
877
+ so: <strong>Use the block</strong> marks them as the block.</p>
878
+ <div class="tbl"><table>
879
+ <thead>
880
+ <tr><th>In the review</th><th>What it does</th></tr>
881
+ </thead>
882
+ <tbody>
883
+ <tr><td>Name</td><td>Written from what you did (&quot;shop.test: Sign in → Email → Password → Log in …&quot;); change it if you like</td></tr>
884
+ <tr><td>Check that … under a step</td><td>One click adds a check of what the step brought to the page: a new title, a message or heading. Digits are checked by their shape (<code>Order placed: #\d+</code>)</td></tr>
885
+ <tr><td>A call under a step</td><td>One click checks the page's own call to its server, such as <code>POST /api/orders answers 201</code>: the test waits for it and checks its status</td></tr>
886
+ <tr><td>Suggest with the model</td><td>One model call reads the pages after each step and suggests checks and test data; each is kept only when it is what the recording holds. <strong>Add</strong> one, or <strong>Add all</strong></td></tr>
887
+ <tr><td>The picture of a step</td><td>Click a text on it to check that it shows, or a field to check its value</td></tr>
888
+ <tr><td>Add, then Check</td><td>The page the step leads to, or a check in your words, which the coding agent finds on the page</td></tr>
889
+ <tr><td>Add, then Step</td><td><strong>Record more from here</strong>: the browser opens and does the steps up to there, and you record what comes next; it goes in after that step. Or a step in your words (&quot;choose the cheapest delivery&quot;), which the coding agent finds on the page and does there; open a page; or go back</td></tr>
890
+ <tr><td>Add, then Note</td><td>A note on the step for whoever writes the test (&quot;this is the cart page object&quot;)</td></tr>
891
+ <tr><td>Drop (bin)</td><td>Removes the step</td></tr>
892
+ <tr><td>Instructions for the Coding agent</td><td>Anything else about the test, in your words: where it goes, the page objects to use, its tags. The coding agent follows them, as long as they keep to the steps and checks</td></tr>
893
+ <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>
894
+ <tr><td>Blocks</td><td>Keep steps you do in many tests (Sign in) as a block, <code>.forgeqe/blocks/&lt;name&gt;.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>
895
+ <tr><td>History</td><td>Every change is a version: go back to any of them, or to the recording as recorded</td></tr>
896
+ <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>
897
+ </tbody>
898
+ </table></div>
899
+ <p><strong>Start from a block</strong> (More options on the Record page): the recording opens the block's first page and does its
900
+ steps for you in the same tab, the recorder paused meanwhile; then you record the rest. A step that cannot be done (a
901
+ secret not set) ends the block there, and you do the rest by hand. <strong>Write the test</strong> hands the recording to the coding
902
+ agent, which asks nothing: the plan and where the test goes follow the repository, and each block becomes one helper
903
+ that every test using it calls. A past recording is run again the same way: <strong>Review</strong> in the list, then <strong>Try it</strong>.</p>
904
+ <p><strong>Write the test</strong> first plays the steps with Playwright, as the test will. When a step does not work, it says so
905
+ before any code is written: <strong>Record step N again</strong> (the browser does the steps before it, and what you record takes
906
+ its place), drop it, or write the test anyway. Then the Coding agent writes the test, and its work shows in the review:
907
+ what it is doing, the files it changed, and its answer (or why it stopped).</p>
868
908
  </div>
869
909
  </section>
870
910
  </div>
@@ -2395,8 +2435,10 @@ no CI job tests it yet (it needs a macOS runner with a simulator).</p>
2395
2435
  </section>
2396
2436
  <section class="doc" id="doc-docs-mobile-use">
2397
2437
  <h4>Use</h4>
2398
- <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 doctor # does the Appium server answer, is maestro installed?
2438
+ <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 doctor # does the Appium server answer, is maestro installed? (or, with
2439
+ # mobile.maestro.testmu: is the hyperexecute CLI there, are the user and key set?)
2399
2440
  forgeqe mobile apps # the mobile apps of the active environment
2441
+ forgeqe mobile devices --like &quot;Pixel 8-14&quot; # the devices TestMu or BrowserStack has, most like one first
2400
2442
  forgeqe mobile explore &quot;Sign in as the courier and accept the first delivery&quot; --app courier
2401
2443
  forgeqe mobile replay .forgeqe/reports/mobile-explore-…/workflow.yaml
2402
2444
  forgeqe mobile replay workflow.yaml --driver maestro
@@ -2541,11 +2583,11 @@ the build (it must be inside the working folder), and saves the <code>lt://</cod
2541
2583
  username_env: LT_USERNAME
2542
2584
  access_key_env: LT_ACCESS_KEY
2543
2585
  capabilities:
2544
- &quot;LT:Options&quot;: { w3c: true, isRealMobile: true, deviceName: &quot;Pixel 6&quot;, platformVersion: &quot;14&quot;, build: nightly } # app: added from the app's own
2586
+ &quot;LT:Options&quot;: { w3c: true, isRealMobile: true, deviceName: &quot;Pixel 8&quot;, platformVersion: &quot;14&quot;, build: nightly } # app: added from the app's own
2545
2587
  maestro:
2546
2588
  testmu: # Maestro on TestMu, through HyperExecute
2547
2589
  cli: /opt/hyperexecute # TestMu's hyperexecute CLI
2548
- devices: [&quot;Pixel 6-14&quot;] # name-version, or a pattern such as &quot;.*-.*&quot;
2590
+ devices: [&quot;Pixel 8-14&quot;] # name-version, or a pattern such as &quot;.*-.*&quot;
2549
2591
  real_device: true # false: TestMu's emulators
2550
2592
  # username_env: LT_USERNAME # the defaults
2551
2593
  # access_key_env: LT_ACCESS_KEY
@@ -2557,13 +2599,33 @@ The project holds the flows in their folder layout (so <code>runFlow</code> stil
2557
2599
  the device's <code>appId</code>; a build file is uploaded with the project), a fixed setup script (Android platform tools 35.0.2
2558
2600
  and Maestro 2.6.1 from its release, both checked against their SHA-256) and a fixed run script, and
2559
2601
  <code>hyperexecute.yaml</code>. Team flows are checked against the allowlist first, as always. Flow file names may only use
2560
- letters, digits and <code>_ . - /</code> (and one leading dot, for <code>.maestro/</code>), because HyperExecute's shell reads them. After
2561
- the job, ForgeQE downloads its artifacts (Maestro's command results and JUnit reports), so each step gets its own
2562
- result in the report.</li>
2602
+ letters, digits and <code>_ . - /</code>, because HyperExecute's shell reads them, and no folder or file may be hidden except
2603
+ a top-level <code>.maestro/</code> (hidden files of the working folder never leave the machine). After the job, ForgeQE
2604
+ downloads its artifacts (Maestro's command results and JUnit reports), so each step gets its own result in the
2605
+ report. A job on several devices (more than one entry in <code>devices</code>, or a pattern) brings back one run per device:
2606
+ the steps show the first device that failed, or the first device when all passed, and the job's page has each one.
2607
+ The job's link is printed from either <code>hyperexecute.lambdatest.com</code> or <code>hyperexecute.testmu.ai</code>.</li>
2608
+ <li><strong>Devices are checked first.</strong> On TestMu (Appium or Maestro) and BrowserStack (Appium), <code>replay</code>, <code>maestro</code> and
2609
+ <code>explore</code> read the cloud's device list before they start (TestMu's list for the region, BrowserStack's
2610
+ <code>devices.json</code>) and check each configured device, exact or a pattern. A device the cloud does not have would wait
2611
+ in its queue and time out (<code>QUEUE_TIMEOUT_DEVICE_UNAVAILABLE</code>), so ForgeQE offers the devices most like it instead:
2612
+ the same model on other OS versions, then the same family. In a terminal you pick one for this run; without one it
2613
+ stops and names them. <code>--device &quot;Pixel 8-13&quot;</code> runs on another device this time (several, comma-separated, for
2614
+ Maestro), <code>--no-device-check</code> skips the check, and <code>forgeqe mobile devices</code> lists what the cloud has. The list
2615
+ says what a cloud offers in the region, not whether a device is free this minute. TestMu's emulators
2616
+ (<code>real_device: false</code>, <code>isRealMobile: false</code>) are not in it and are not checked.</li>
2617
+ <li><strong>Videos.</strong> TestMu records each Maestro flow as an App Automation session (its dashboard, not the HyperExecute job
2618
+ page, shows the video). Each run is its own build there, and after the job ForgeQE saves each flow's recording as
2619
+ <code>videos/&lt;flow&gt;.mp4</code> in the run folder, plays it in the report's Artifacts tab, and prints it with the session's
2620
+ TestMu page. A video TestMu has not finished is waited for briefly; a run never fails for want of one.</li>
2563
2621
  <li><strong>Secrets on Maestro on TestMu:</strong> a workflow that types a secret is refused there for now (HyperExecute would need
2564
- the value in its own vault). Replay it on TestMu with <code>--driver appium</code>.</li>
2622
+ the value in its own vault). Replay it on TestMu with <code>--driver appium</code>. For the same reason, a team flow that reads
2623
+ a <code>${NAME}</code> variable its own <code>env:</code> blocks do not set is refused on TestMu (locally it could come from the
2624
+ environment); run it with a local <code>maestro</code>.</li>
2565
2625
  <li>The access key is passed to the CLI as an argument. It is removed from the CLI's output and from every file in the
2566
2626
  run folder. Neither the user name nor the key is passed to the flows' environment.</li>
2627
+ <li><code>maestro</code> and the <code>hyperexecute</code> CLI are started without ForgeQE's own secrets (the model's key, service tokens) in
2628
+ their environment; only the mobile engine itself holds them.</li>
2567
2629
  <li>The <code>testmu</code> job of <code>.github/workflows/ci.yml</code> (Run workflow, job <code>testmu</code>) runs all three on TestMu (Appium, Maestro with a workflow, a team flow)
2568
2630
  with TestMu's Wikipedia sample app, once the repository has the secrets <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code>.</li>
2569
2631
  </ul>
@@ -3859,7 +3921,7 @@ forgeqe report setup # a report after every Playw
3859
3921
  <div class="facts">
3860
3922
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Build a regression pack for sprint 12 and run it on TestMu</li><li>Which tests should we run for the PRs merged this week?</li></ul></div>
3861
3923
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a repository with tests</span></li><li><span class="need opt">Optional</span><span>Azure DevOps or Jira, to read a sprint's or release's work items: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
3862
- <div class="fact"><span class="mono">Tools</span><p class="tools"><code>build_regression_pack</code> <code>run_regression_pack</code> <code>list_regression_packs</code></p></div>
3924
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>build_regression_pack</code> <code>run_regression_pack</code> <code>list_regression_packs</code> <code>regression_sources</code> <code>edit_regression_pack</code></p></div>
3863
3925
  </div>
3864
3926
  <div class="detail"><span class="mono">In detail</span>
3865
3927
  <section class="doc" id="doc-how_to_use-regression-packs-for-a-release">
@@ -3890,6 +3952,27 @@ Build a pack for Jira fix version 2.4 and the commits since release/2.3 in ../sh
3890
3952
  </tbody>
3891
3953
  </table></div>
3892
3954
  <p><strong>Gaps.</strong> Changes no test is in for are listed as <em>not covered</em>, each with the closest existing test and what it lacks, so you can extend that test rather than write a new one.</p>
3955
+ <p><strong>The plan: what the release needs.</strong> Besides the tests to run, a pack is a plan in four groups, so what is ready is never mixed up with what someone still has to do:</p>
3956
+ <div class="tbl"><table>
3957
+ <thead>
3958
+ <tr><th>Group</th><th>What it is</th><th>Its script</th></tr>
3959
+ </thead>
3960
+ <tbody>
3961
+ <tr><td>A Automated</td><td>tests of the repository the pack found (the reasons above)</td><td><em>checked</em> only while its file is in the repository and still names the test; otherwise <em>missing</em> (moved, renamed or deleted since)</td></tr>
3962
+ <tr><td>B Manual</td><td>test cases linked to a changed work item that no automated test runs</td><td>run by a person</td></tr>
3963
+ <tr><td>C New automation</td><td>changes no test covers: a test to write, or the closest one to extend</td><td>to write</td></tr>
3964
+ <tr><td>D Exploratory</td><td>the risk areas the release touches</td><td>a session for a person</td></tr>
3965
+ </tbody>
3966
+ </table></div>
3967
+ <p>Each entry has a priority, says where it came from (<em>found</em> in the sources and the code, or <em>suggested</em> by ForgeQE or its agent) and keeps its evidence (the work item, pull request or defect history, with links). Change it in your words (&quot;take out the flaky ones&quot;, &quot;add a manual check of the invoice PDF&quot;, &quot;why is this in?&quot;) or on the page: priority, take out and put back, move between B, C and D, add an entry. An automated test is added only when its file is in the test repository (no hidden file) and names the test, so the pack never claims a script it has not found. Every change is kept in the pack's history, with who made it.</p>
3968
+ <p>A pack starts as a <strong>draft</strong>; save it (a name, the release) when it is right, then run it now or on a schedule (a job that runs <code>forgeqe pack run</code>). Reuse it:</p>
3969
+ <ul>
3970
+ <li><strong>Refresh</strong>: the same changes read again (<code>forgeqe pack build --refresh release-22</code>); your edits and its runs stay.</li>
3971
+ <li><strong>The next release</strong>: a new pack from new changes that keeps the edits of an earlier one (<code>--based-on release-22</code>).</li>
3972
+ <li><strong>Compare</strong> two releases: what each has ready, manual, to automate and exploratory, the tests and changes one has and the other not, and their last runs.</li>
3973
+ </ul>
3974
+ <p><code>--release &quot;Release 22&quot;</code> names the release a pack is for.</p>
3975
+ <p><strong>On the Regression page</strong> there are two tabs. On <strong>Agent</strong> you ask for a pack in a sentence (&quot;Create a regression pack for Release 22&quot;). The agent reads which sources the project is connected to (the test and product repositories, Azure DevOps, Jira, GitHub, test management, docs, a pipeline: the line at the top says which), says what a missing one would add and offers to connect it, and asks for the details it still needs, one or two at a time: the release, where its changes are, what to leave out, then whether to save it and run it now or on a schedule. Above the message box, <em>The pack needs</em> ticks off each detail as it is given (sources, release, changes, plan, saved, run); click a missing one to start your answer to it. The tab looks and works like the API page's Agent tab. None of the sources is required, and nothing runs until you say so. On <strong>Packs</strong> the packs are a table, newest first: each with how many entries are ready to run, scripts missing, manual, to automate and exploratory, and its last run. A row opens the pack's page: one strip of numbers (ready to run, script missing, the four groups, high priority, coverage of the release's changes, the last run; click one to show those entries), the plan as a table (all or one group, high priority, script missing, flaky or taken out, a search over tests, files and features, 50 rows a page with the highest priority first; a row opens its evidence), and beside it the release's changes, risk areas, runs and triage, history and a comparison with another release. Without a model set up, <em>Choose the changes</em> picks the sprint, commits or pull requests yourself.</p>
3893
3976
  <p><strong>Running it.</strong> ForgeQE asks before it runs anything.</p>
3894
3977
  <ul>
3895
3978
  <li><em>This machine</em>: ForgeQE builds one command for exactly the pack's tests, the way the repository already runs a test (for .NET, a <code>--filter</code> with each test, the settings an earlier job used, TRX results), runs it, and reads each result. A failed test runs once more; one that then passes is flaky.</li>
@@ -4029,10 +4112,10 @@ forgeqe pr-tests 42 --run --post # and post the results on p
4029
4112
  <div class="hd"><span class="mono">API</span><h3>API and contract testing</h3></div>
4030
4113
  <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, SOAP, and gRPC.</p>
4031
4114
  <div class="facts">
4032
- <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></ul></div>
4115
+ <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>
4033
4116
  <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>
4034
4117
  <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Functional API testing, not load or stress testing.</li></ul></div>
4035
- <div class="fact"><span class="mono">Tools</span><p class="tools"><code>api_contracts</code> <code>run_api_contracts</code> <code>api_scenarios</code> <code>run_api_scenarios</code> <code>write_api_tests</code></p></div>
4118
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>api_contracts</code> <code>run_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>
4036
4119
  </div>
4037
4120
  <div class="detail"><span class="mono">In detail</span>
4038
4121
  <section class="doc" id="doc-how_to_use-api-and-contract-tests">
@@ -4063,6 +4146,31 @@ forgeqe api contracts --run # the latest browser run's API c
4063
4146
  forgeqe api run --base-url https://qa.shop.example # exit 1 when a contract fails: a CI gate
4064
4147
  forgeqe api tests --repo ../app # Scribe writes them as tests
4065
4148
  </code></pre></div>
4149
+ <p><strong>The Agent tab</strong> of the API tests page is a conversation: paste a link (an API description, a Postman collection,
4150
+ the docs), cURL commands, or tell it about the API in your words, and attach a file (a Postman collection is imported
4151
+ at once; an API description is kept in <code>.forgeqe/specs/</code> for the agent to read). The agent makes the API and its
4152
+ calls in folders, as Postman would (<code>api_new_set</code>, <code>api_add_calls</code>, <code>api_import_collection</code>, <code>api_contracts</code>), sends
4153
+ them, and says what it found; each API it made shows as a card to open on the Workbench tab. It never puts a
4154
+ credential in a call: you set the API's sign-in on the Workbench.</p>
4155
+ <p><strong>Postman collections</strong> (v2.0 and v2.1) come in from <strong>Add an API</strong> or the Agent tab, and go out with <strong>Export as a
4156
+ Postman collection</strong>: requests become calls in their folders, a saved example's status what each call must answer;
4157
+ only requests to the collection's own address are kept, and credentials (headers, secret variables, auth values)
4158
+ never are. An exported collection has a test of what each call must answer and <code>{{variables}}</code> where credentials go.</p>
4159
+ <p><strong>On the API tests page's Workbench tab</strong> (<code>forgeqe web</code>), it works like Postman, with an agent beside it. The APIs are on the left,
4160
+ each with its <strong>calls</strong> (contracts) and <strong>flows</strong> (scenarios). Open a call to see and change its request (method,
4161
+ path, params, headers, a JSON body), <strong>Send</strong> it and see what came back (body, headers, the checks that passed or
4162
+ failed), <strong>Save</strong> it, and set <strong>what it must answer</strong> (the status, the statuses that also pass, fields with their
4163
+ type or value), or take it from a right answer with <strong>Use as what it must answer</strong>. Pick the <strong>environment</strong> from
4164
+ <code>env.yaml</code> at the top: calls go to its API app's address, and <strong>Run</strong> runs every call and then every flow there
4165
+ (<code>forgeqe api run-all</code>). A call that changes data asks first: <strong>Send it once</strong>, or <strong>Always on</strong> that environment
4166
+ (remembered for the API, never for an environment named like production). <strong>Sign in</strong> once per API: a bearer token,
4167
+ an API key in a header, or a user name and password; the value you type goes to the credential store under a variable
4168
+ name, and only the name is kept with the API. Credential headers cannot be typed into a call's headers, and answers
4169
+ come back with credentials masked. Build a <strong>flow</strong> step by step from the API's calls: a step keeps a value from its
4170
+ answer by a name (<code>id</code> as <code>itemId</code>), and later steps use it as <code>{{itemId}}</code> in their path or body; <code>{{$unique}}</code> is
4171
+ new on each run. <strong>Ask the agent</strong> writes the tests, says why a call fails, or what is not tested yet, and its work
4172
+ shows on the page. Adding an API runs its calls that only read at once. Each run keeps the start of every answer (secrets
4173
+ masked), and each call shows how its last runs went.</p>
4066
4174
  </div>
4067
4175
  </section>
4068
4176
  <section class="doc" id="doc-how_to_use-end-to-end-api-scenarios">
@@ -139,8 +139,10 @@ 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 doctor # does the Appium server answer, is maestro installed?
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 doctor # does the Appium server answer, is maestro installed? (or, with
143
+ # mobile.maestro.testmu: is the hyperexecute CLI there, are the user and key set?)
143
144
  forgeqe mobile apps # the mobile apps of the active environment
145
+ forgeqe mobile devices --like &quot;Pixel 8-14&quot; # the devices TestMu or BrowserStack has, most like one first
144
146
  forgeqe mobile explore &quot;Sign in as the courier and accept the first delivery&quot; --app courier
145
147
  forgeqe mobile replay .forgeqe/reports/mobile-explore-…/workflow.yaml
146
148
  forgeqe mobile replay workflow.yaml --driver maestro
@@ -270,11 +272,11 @@ the build (it must be inside the working folder), and saves the <code>lt://</cod
270
272
  username_env: LT_USERNAME
271
273
  access_key_env: LT_ACCESS_KEY
272
274
  capabilities:
273
- &quot;LT:Options&quot;: { w3c: true, isRealMobile: true, deviceName: &quot;Pixel 6&quot;, platformVersion: &quot;14&quot;, build: nightly } # app: added from the app's own
275
+ &quot;LT:Options&quot;: { w3c: true, isRealMobile: true, deviceName: &quot;Pixel 8&quot;, platformVersion: &quot;14&quot;, build: nightly } # app: added from the app's own
274
276
  maestro:
275
277
  testmu: # Maestro on TestMu, through HyperExecute
276
278
  cli: /opt/hyperexecute # TestMu's hyperexecute CLI
277
- devices: [&quot;Pixel 6-14&quot;] # name-version, or a pattern such as &quot;.*-.*&quot;
279
+ devices: [&quot;Pixel 8-14&quot;] # name-version, or a pattern such as &quot;.*-.*&quot;
278
280
  real_device: true # false: TestMu's emulators
279
281
  # username_env: LT_USERNAME # the defaults
280
282
  # access_key_env: LT_ACCESS_KEY
@@ -286,13 +288,33 @@ The project holds the flows in their folder layout (so <code>runFlow</code> stil
286
288
  the device's <code>appId</code>; a build file is uploaded with the project), a fixed setup script (Android platform tools 35.0.2
287
289
  and Maestro 2.6.1 from its release, both checked against their SHA-256) and a fixed run script, and
288
290
  <code>hyperexecute.yaml</code>. Team flows are checked against the allowlist first, as always. Flow file names may only use
289
- letters, digits and <code>_ . - /</code> (and one leading dot, for <code>.maestro/</code>), because HyperExecute's shell reads them. After
290
- the job, ForgeQE downloads its artifacts (Maestro's command results and JUnit reports), so each step gets its own
291
- result in the report.</li>
291
+ letters, digits and <code>_ . - /</code>, because HyperExecute's shell reads them, and no folder or file may be hidden except
292
+ a top-level <code>.maestro/</code> (hidden files of the working folder never leave the machine). After the job, ForgeQE
293
+ downloads its artifacts (Maestro's command results and JUnit reports), so each step gets its own result in the
294
+ report. A job on several devices (more than one entry in <code>devices</code>, or a pattern) brings back one run per device:
295
+ the steps show the first device that failed, or the first device when all passed, and the job's page has each one.
296
+ The job's link is printed from either <code>hyperexecute.lambdatest.com</code> or <code>hyperexecute.testmu.ai</code>.</li>
297
+ <li><strong>Devices are checked first.</strong> On TestMu (Appium or Maestro) and BrowserStack (Appium), <code>replay</code>, <code>maestro</code> and
298
+ <code>explore</code> read the cloud's device list before they start (TestMu's list for the region, BrowserStack's
299
+ <code>devices.json</code>) and check each configured device, exact or a pattern. A device the cloud does not have would wait
300
+ in its queue and time out (<code>QUEUE_TIMEOUT_DEVICE_UNAVAILABLE</code>), so ForgeQE offers the devices most like it instead:
301
+ the same model on other OS versions, then the same family. In a terminal you pick one for this run; without one it
302
+ stops and names them. <code>--device &quot;Pixel 8-13&quot;</code> runs on another device this time (several, comma-separated, for
303
+ Maestro), <code>--no-device-check</code> skips the check, and <code>forgeqe mobile devices</code> lists what the cloud has. The list
304
+ says what a cloud offers in the region, not whether a device is free this minute. TestMu's emulators
305
+ (<code>real_device: false</code>, <code>isRealMobile: false</code>) are not in it and are not checked.</li>
306
+ <li><strong>Videos.</strong> TestMu records each Maestro flow as an App Automation session (its dashboard, not the HyperExecute job
307
+ page, shows the video). Each run is its own build there, and after the job ForgeQE saves each flow's recording as
308
+ <code>videos/&amp;lt;flow&gt;.mp4</code> in the run folder, plays it in the report's Artifacts tab, and prints it with the session's
309
+ TestMu page. A video TestMu has not finished is waited for briefly; a run never fails for want of one.</li>
292
310
  <li><strong>Secrets on Maestro on TestMu:</strong> a workflow that types a secret is refused there for now (HyperExecute would need
293
- the value in its own vault). Replay it on TestMu with <code>--driver appium</code>.</li>
311
+ the value in its own vault). Replay it on TestMu with <code>--driver appium</code>. For the same reason, a team flow that reads
312
+ a <code>${NAME}</code> variable its own <code>env:</code> blocks do not set is refused on TestMu (locally it could come from the
313
+ environment); run it with a local <code>maestro</code>.</li>
294
314
  <li>The access key is passed to the CLI as an argument. It is removed from the CLI's output and from every file in the
295
315
  run folder. Neither the user name nor the key is passed to the flows' environment.</li>
316
+ <li><code>maestro</code> and the <code>hyperexecute</code> CLI are started without ForgeQE's own secrets (the model's key, service tokens) in
317
+ their environment; only the mobile engine itself holds them.</li>
296
318
  <li>The <code>testmu</code> job of <code>.github/workflows/ci.yml</code> (Run workflow, job <code>testmu</code>) runs all three on TestMu (Appium, Maestro with a workflow, a team flow)
297
319
  with TestMu's Wikipedia sample app, once the repository has the secrets <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code>.</li>
298
320
  </ul>