@capagents/forgeqe 3.1.9 → 3.2.1
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 +43 -4
- package/THIRD_PARTY_NOTICES.md +2 -1
- package/dist/docs-site/docs/area-api/index.html +1 -1
- package/dist/docs-site/docs/area-mobile/index.html +28 -8
- package/dist/docs-site/docs/area-quality/index.html +27 -3
- package/dist/docs-site/docs/area-setup/index.html +1 -1
- package/dist/docs-site/docs/get-started/index.html +4 -1
- package/dist/docs-site/docs/mobile/index.html +19 -7
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/web-app/index.html +2 -1
- package/dist/forgeqe.js +1931 -1917
- package/dist/template.html +12 -12
- package/dist/vendor/ibm-ace.js +2 -0
- package/dist/web/assets/{3d-force-graph-CGHQthr3.js → 3d-force-graph-ByL874l5.js} +1 -1
- package/dist/web/assets/Agent-Drs4mcil.js +8 -0
- package/dist/web/assets/{AgentWork-DEZVZTuJ.js → AgentWork-DLcCZTgu.js} +1 -1
- package/dist/web/assets/ApiTests-BcrTspwJ.js +10 -0
- package/dist/web/assets/Browse-D9eaDrZT.js +1 -0
- package/dist/web/assets/Chat-CMNf9-ys.js +3 -0
- package/dist/web/assets/{CommandPalette-sokhT5PA.js → CommandPalette-Bcf1Muan.js} +1 -1
- package/dist/web/assets/Compare-V5xKnwGO.js +1 -0
- package/dist/web/assets/Cost-DC3DYthD.js +1 -0
- package/dist/web/assets/Data-DzrP-MdL.js +6 -0
- package/dist/web/assets/Desktop-DjTq9eAr.js +1 -0
- package/dist/web/assets/DesktopReview-Buecn3n5.js +2 -0
- package/dist/web/assets/DeviceScreen-CoArZGyY.js +1 -0
- package/dist/web/assets/Evidence-D6VvlFNK.js +1 -0
- package/dist/web/assets/Explore-YkonRPmA.js +2 -0
- package/dist/web/assets/Features-BKB4iSRj.js +1 -0
- package/dist/web/assets/Flags-4GGW38Xu.js +2 -0
- package/dist/web/assets/Flaky-BRcLjYrP.js +1 -0
- package/dist/web/assets/Impact-CvuahLDQ.js +3 -0
- package/dist/web/assets/Jobs-DBCw8Z8I.js +5 -0
- package/dist/web/assets/KindPage-Ige-qO2t.js +6 -0
- package/dist/web/assets/LiveDevice-DI7Bq6ag.js +1 -0
- package/dist/web/assets/Migration-CEwXGs4c.js +8 -0
- package/dist/web/assets/Mobile-BqyFTBeG.js +1 -0
- package/dist/web/assets/Observability-B2Y1pHpD.js +1 -0
- package/dist/web/assets/PageAgent-BRhWi7LL.js +1 -0
- package/dist/web/assets/Product-CXIbmmMF.js +12 -0
- package/dist/web/assets/Production-BOy7ew7l.js +1 -0
- package/dist/web/assets/Quality-Dtcq2AWE.js +1 -0
- package/dist/web/assets/Readiness-B53Drc7i.js +1 -0
- package/dist/web/assets/Record-BuCIDb1d.js +1 -0
- package/dist/web/assets/Regression-BpPXCQIv.js +5 -0
- package/dist/web/assets/{RelationGraph-CeBfmWYf.js → RelationGraph-UXFyQOKO.js} +1 -1
- package/dist/web/assets/Reports-CWCa9uof.js +2 -0
- package/dist/web/assets/Response-C6EmnnQz.js +9 -0
- package/dist/web/assets/Responsive-Bl6i7kB3.js +3 -0
- package/dist/web/assets/{RunDiff-T4e0xs_5.js → RunDiff-CWf9Bkmu.js} +1 -1
- package/dist/web/assets/Runs-C0tfrB_j.js +2 -0
- package/dist/web/assets/Settings-tgCcBEwu.js +21 -0
- package/dist/web/assets/Steps-xASPoq1N.js +3 -0
- package/dist/web/assets/TestCases-Cm4KwWIP.js +1 -0
- package/dist/web/assets/TestData-DMV5S00V.js +2 -0
- package/dist/web/assets/{TestDebt-WuBkOmz5.js → TestDebt-D54mt0ZT.js} +1 -1
- package/dist/web/assets/TestManagement-DBFlK8Xe.js +4 -0
- package/dist/web/assets/WhatsNew-Dp-zP-jw.js +1 -0
- package/dist/web/assets/agents-DPabR9dS.js +1 -0
- package/dist/web/assets/coverage-xSRsKFL6.js +5 -0
- package/dist/web/assets/dataParts-BPff7ClX.js +3 -0
- package/dist/web/assets/desktopAppPath-BVJxel_D.js +1 -0
- package/dist/web/assets/{diff-CZ0iWWGv.js → diff-BXu8cULX.js} +1 -1
- package/dist/web/assets/families-CrnKBjis.js +1 -0
- package/dist/web/assets/{highlight-CGRzYrMa.js → highlight-DCCKhwHj.js} +1 -1
- package/dist/web/assets/index-BsAaOk_G.js +64 -0
- package/dist/web/assets/index-CgpH1pj9.css +2 -0
- package/dist/web/assets/input-BmJ7dt1C.js +1 -0
- package/dist/web/assets/pageBack-BNLSF2VR.js +3 -0
- package/dist/web/assets/palette-BS9ixqiJ.js +1 -0
- package/dist/web/assets/{paletteCommands-DU0boMQR.js → paletteCommands-C3knXWbA.js} +1 -1
- package/dist/web/assets/{parts-CTmOGb8E.js → parts-69Ei7EPi.js} +1 -1
- package/dist/web/assets/productParts-CrAb3-j0.js +1 -0
- package/dist/web/assets/qualityParts-BQTnBwPs.js +1 -0
- package/dist/web/assets/{recordTest-H42EwQYC.js → recordTest-DVJCNI0y.js} +1 -1
- package/dist/web/assets/{route-Mq0QZuqV.js → route-D8G-pTdk.js} +1 -1
- package/dist/web/assets/{stepper-ceEfHcbV.js → stepper-t0O_8eQo.js} +1 -1
- package/dist/web/index.html +7 -7
- package/docs/MOBILE.md +22 -7
- package/docs/WEB_APP.md +2 -1
- package/docs/user-guide.html +40 -5
- package/forgeqe.example.yaml +3 -1
- package/package.json +2 -1
- package/prompts/browser-persona.md +1 -1
- package/py/forgeqe_engine/copilot_gateway.py +80 -1
- package/py/forgeqe_engine/diagnostics.py +119 -2
- package/py/forgeqe_engine/persona.py +200 -12
- package/py/forgeqe_engine/service.py +6 -3
- package/py/forgeqe_mobile/a11y.py +322 -0
- package/py/forgeqe_mobile/appium_driver.py +16 -0
- package/py/forgeqe_mobile/live.py +225 -0
- package/py/forgeqe_mobile/service.py +102 -4
- package/dist/web/assets/Agent-lzvUoYv1.js +0 -8
- package/dist/web/assets/ApiTests-k9bR9dXo.js +0 -10
- package/dist/web/assets/Browse-4bm1SVvY.js +0 -1
- package/dist/web/assets/Chat-CbyylnvP.js +0 -3
- package/dist/web/assets/Compare-ChWSXkvf.js +0 -1
- package/dist/web/assets/Cost-DlZnyY_C.js +0 -1
- package/dist/web/assets/Data-CElI9cSA.js +0 -6
- package/dist/web/assets/Desktop-YtONOq0M.js +0 -1
- package/dist/web/assets/DesktopReview-CldegMwj.js +0 -2
- package/dist/web/assets/Evidence-B9wlQQy6.js +0 -1
- package/dist/web/assets/Explore-Cp3eqrm2.js +0 -2
- package/dist/web/assets/Features-ySmycsYI.js +0 -1
- package/dist/web/assets/Flags-CnjZtCU3.js +0 -2
- package/dist/web/assets/Flaky-D7VtH51H.js +0 -1
- package/dist/web/assets/Impact-Dx1cn9WD.js +0 -3
- package/dist/web/assets/Jobs-BwfvwxGd.js +0 -5
- package/dist/web/assets/KindPage-BHGa8zq7.js +0 -6
- package/dist/web/assets/Migration-f-gLkpSC.js +0 -4
- package/dist/web/assets/Observability-CibZbiOA.js +0 -1
- package/dist/web/assets/PageAgent-UTRXl1j4.js +0 -1
- package/dist/web/assets/Product-LJxwGFzs.js +0 -12
- package/dist/web/assets/Production-DXwaHzaa.js +0 -1
- package/dist/web/assets/Quality-Di4cF4nd.js +0 -1
- package/dist/web/assets/Readiness-Bu1OXgnc.js +0 -1
- package/dist/web/assets/Record-olwaN1G1.js +0 -1
- package/dist/web/assets/Regression-DBu-34b_.js +0 -5
- package/dist/web/assets/Reports-hoagfsmM.js +0 -2
- package/dist/web/assets/Response-CJSq1qN7.js +0 -9
- package/dist/web/assets/Responsive-DYhEQEpT.js +0 -3
- package/dist/web/assets/Runs-CcG9BELK.js +0 -2
- package/dist/web/assets/Settings-lWl74aQY.js +0 -21
- package/dist/web/assets/Steps-BefTJLTB.js +0 -3
- package/dist/web/assets/TestCases-CyzfvT_X.js +0 -1
- package/dist/web/assets/TestData-DSusRbgZ.js +0 -2
- package/dist/web/assets/TestManagement-HwkjrA4a.js +0 -4
- package/dist/web/assets/WhatsNew-B-w1pGj6.js +0 -1
- package/dist/web/assets/agents-BUWN-VJv.js +0 -1
- package/dist/web/assets/coverage-CWE1aatw.js +0 -5
- package/dist/web/assets/dataParts-ClIBv7-8.js +0 -3
- package/dist/web/assets/families-CfIM4f2s.js +0 -1
- package/dist/web/assets/index-Cg0SmlXN.js +0 -64
- package/dist/web/assets/index-tPgJ7dv2.css +0 -2
- package/dist/web/assets/input-1RVqxCVH.js +0 -1
- package/dist/web/assets/logLevel-CFPS8IkY.js +0 -3
- package/dist/web/assets/palette-5nApQc76.js +0 -1
- package/dist/web/assets/productParts-CL2E8Uaf.js +0 -1
- package/dist/web/assets/qualityParts-CnlpML55.js +0 -1
package/HOW_TO_USE.md
CHANGED
|
@@ -232,7 +232,7 @@ forgeqe features # or /features in the shell; --config forgeqe.yaml
|
|
|
232
232
|
| 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) |
|
|
233
233
|
| 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) |
|
|
234
234
|
| 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) |
|
|
235
|
-
| 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 (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. | `api_contracts`, `run_api_contracts`, `heal_api_contracts`, `api_scenarios`, `run_api_scenarios`, `write_api_tests`, `api_find_calls`, `api_new_set`, `api_add_calls`, `api_delete_set`, `api_import_collection` | [docs](#api-and-contract-tests) |
|
|
235
|
+
| 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 (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. | `api_contracts`, `run_api_contracts`, `heal_api_contracts`, `api_scenarios`, `run_api_scenarios`, `write_api_tests`, `api_find_calls`, `api_new_set`, `api_add_calls`, `api_rename_folder`, `api_move_calls`, `api_delete_set`, `api_import_collection` | [docs](#api-and-contract-tests) |
|
|
236
236
|
| API | **API load and security checks**: 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. | `run_api_load`, `run_api_security` | [docs](#api-and-contract-tests) |
|
|
237
237
|
| Quality | **Accessibility and page performance**: Checks every page a run visits against WCAG rules and measures its Core Web Vitals, against budgets, with trends over time per page. | `quality_report`, `quality_trends` | [docs](#accessibility-and-performance-budgets) |
|
|
238
238
|
| Quality | **Accessibility testing with personas**: A browser agent does a goal as a person with a disability would (a blind screen reader user, keyboard only, low vision, colour blind, cognitive, or the project's own personas) and records each barrier with its WCAG criterion and severity. Not functional testing. | `accessibility_test`, `accessibility_personas` | [docs](#accessibility-testing-with-personas) |
|
|
@@ -682,7 +682,10 @@ what Copilot answered and which model took over.
|
|
|
682
682
|
|
|
683
683
|
**Copilot's versions.** ForgeQE pins GitHub's Copilot SDK and the Copilot runtime it runs, so a GitHub release never
|
|
684
684
|
changes your setup by itself; a newer ForgeQE brings newer ones (`forgeqe update`, then `forgeqe setup`). `forgeqe doctor`
|
|
685
|
-
shows the versions in use.
|
|
685
|
+
shows the versions in use. A newer version is downloaded from GitHub the first time it is needed; when that download
|
|
686
|
+
fails (a company network or proxy that blocks GitHub's downloads), ForgeQE keeps using the Copilot already on your
|
|
687
|
+
computer, for the sign-in and for chats and runs, and says so. To get the newer one, allow `github.com` and
|
|
688
|
+
`release-assets.githubusercontent.com`, or set `FORGEQE_GITHUB_MIRROR` to your company's GitHub mirror. If GitHub ever stops accepting them, the chat or run says so and asks you to update ForgeQE,
|
|
686
689
|
rather than trying another model.
|
|
687
690
|
|
|
688
691
|
**Behind a company proxy.** ForgeQE reaches Copilot over plain HTTPS. Copilot can use WebSockets for some models, which
|
|
@@ -7066,6 +7069,15 @@ forgeqe mobile maestro .maestro/ # your team's Maes
|
|
|
7066
7069
|
forgeqe mobile flow workflow.yaml > login.flow.yaml # a workflow as a Maestro flow, to keep
|
|
7067
7070
|
```
|
|
7068
7071
|
|
|
7072
|
+
**Accessibility of each screen.** A replay or an explore on Appium checks each new screen it reaches (once per
|
|
7073
|
+
screen, at most 40) and writes `accessibility.json` in the run's folder, in the same shape as a browser run's: controls a
|
|
7074
|
+
screen reader has no name for (WCAG 4.1.2), images it stops on with no description (1.1.1), fields with no label, hint or
|
|
7075
|
+
placeholder (1.3.1), touch targets under 24 by 24 dp or pt (2.5.8; under Android's 48 dp or iOS's 44 pt as a minor
|
|
7076
|
+
finding), and several controls announced by one name. On iOS 17 or later with Xcode 15 it also runs Apple's own audit
|
|
7077
|
+
(contrast, hit regions, element descriptions, Dynamic Type, clipped text, traits). Android's sizes are judged from the
|
|
7078
|
+
screen's density. `mobile.accessibility: false` turns it off (**Settings › Mobile**). These are automated checks of what
|
|
7079
|
+
the screen's controls say, not a person with TalkBack or VoiceOver; Maestro runs are not checked.
|
|
7080
|
+
|
|
7069
7081
|
**Secrets.** `{{secret:NAME}}` reads only `mobile.secrets` (and the environment's secrets). A flow kept with `forgeqe mobile flow` reads each secret as `${MAESTRO_<NAME>}`, never its value, so set `MAESTRO_<NAME>` when you run it outside ForgeQE. A workflow that types a secret not listed there is refused.
|
|
7070
7082
|
|
|
7071
7083
|
**Team Maestro flows** run only with UI commands: scripts, JavaScript in `${…}`, Maestro's AI commands and file writes are refused. Details: [docs/MOBILE.md](docs/MOBILE.md).
|
|
@@ -7793,6 +7805,7 @@ quality:
|
|
|
7793
7805
|
accessibility:
|
|
7794
7806
|
standard: wcag21aa # wcag2a, wcag21aa (default), wcag22aa, wcag21aaa, section508, en301549, best-practice
|
|
7795
7807
|
best_practice: false # also the best-practice rules
|
|
7808
|
+
engine: axe # axe (axe-core, default), ibm (IBM Equal Access), basic (ForgeQE's own checks)
|
|
7796
7809
|
budgets:
|
|
7797
7810
|
accessibility: # most violations per page by impact; unset impacts have no limit (or: accessibility: true for 0 critical, 0 serious)
|
|
7798
7811
|
critical: 0
|
|
@@ -7807,6 +7820,14 @@ quality:
|
|
|
7807
7820
|
/search: { lcp_ms: 4000 }
|
|
7808
7821
|
```
|
|
7809
7822
|
|
|
7823
|
+
**Rule engine.** `engine: ibm` checks each page with IBM Equal Access (accessibility-checker-engine, shipped with
|
|
7824
|
+
ForgeQE) instead of axe-core: the standard picks its ruleset (WCAG 2.0, 2.1 or 2.2 at A or AA; Section 508 as WCAG 2.0
|
|
7825
|
+
AA; EN 301 549 as WCAG 2.1 AA; best practice as IBM's own ruleset with its recommendations). IBM's rules stop at AA, so a
|
|
7826
|
+
`wcag21aaa` standard is checked at AA with it and the run says so. Impact comes from IBM's toolkit level (1 critical,
|
|
7827
|
+
2 serious, 3 moderate, 4 minor; a recommendation is minor), and rule ids are IBM's (`img_alt_valid`), so budgets'
|
|
7828
|
+
`rules` and `ignore` name IBM's ids when it is the engine. The two engines find different things: run both on a page
|
|
7829
|
+
that matters. The engine runs inside a function on the page, so a page's own `window.ace` (the Ace editor) is left alone.
|
|
7830
|
+
|
|
7810
7831
|
**Over time.** Every run adds each page's violations and timings to `.forgeqe/reports/quality-history.json` (keep it between CI runs as a cache). Ask "did accessibility regress?" or "is checkout getting slower?". The trends show each page's violations over the last runs, the rules that newly fail or were fixed since the previous run, and each timing against its usual value (the median of the last 10 runs; slower or faster only beyond noise).
|
|
7811
7832
|
|
|
7812
7833
|
**Web app**
|
|
@@ -7846,15 +7867,30 @@ The accessibility agent does a goal on your site **as a person with a disability
|
|
|
7846
7867
|
|
|
7847
7868
|
1. Open **Accessibility** (Quality Engineering › Specialised testing), on its **Agent** tab.
|
|
7848
7869
|
2. Say what the person should try to do, and who tries it ("act as a blind person and use the website to find accessibility issues", "can a keyboard-only user check out?").
|
|
7849
|
-
|
|
7870
|
+
Under the persona chips, **Checked with** picks this session's rule engine (axe-core, IBM Equal Access or the
|
|
7871
|
+
built-in checks) and standard; left on the project's, quality.accessibility decides.
|
|
7872
|
+
3. Agree to the plan the agent shows, which says the rule checks it will use. Each session's result is on the **Results** tab, and the personas on the **Personas** tab.
|
|
7850
7873
|
|
|
7851
7874
|
**Terminal**
|
|
7852
7875
|
|
|
7853
7876
|
```bash
|
|
7854
7877
|
forgeqe a11y "find running shoes and add a pair to the basket" --persona blind,keyboard-only --url https://shop.test
|
|
7878
|
+
forgeqe a11y "check out" --persona blind --engine ibm --standard wcag22aa --best-practice # this session's rule checks
|
|
7879
|
+
forgeqe a11y "check out" --persona blind,keyboard-only --device iphone-15 # every persona on a phone
|
|
7855
7880
|
forgeqe a11y personas # the personas: built in, and the project's own
|
|
7856
7881
|
```
|
|
7857
7882
|
|
|
7883
|
+
`--engine` (axe, ibm, basic), `--standard` (wcag2a, wcag21aa, wcag22aa, wcag21aaa, section508, en301549,
|
|
7884
|
+
best-practice) and `--best-practice` choose the session's automated rule checks over `quality.accessibility`; a value off
|
|
7885
|
+
its list is refused before anything runs. The report and the Results tab say which were used.
|
|
7886
|
+
|
|
7887
|
+
`--device` (on the page: **on**, beside the standard) runs every persona on a phone or tablet of the Responsive page's
|
|
7888
|
+
list: its CSS size, pixel ratio, touch and user agent are emulated in ForgeQE's Chromium, so a site lays out as it does
|
|
7889
|
+
there (a page with no viewport meta tag is shown shrunk, as on a real phone). `desktop` is the browser's own window for
|
|
7890
|
+
every persona; with no device named, each persona uses its own (the three phone personas are on phones, the rest on
|
|
7891
|
+
desktop). A persona file may set `input: touch`, `text_scale` (1 to 3) and `device`. This is emulation in Chromium, not
|
|
7892
|
+
Safari or a real phone: confirm what matters on real devices.
|
|
7893
|
+
|
|
7858
7894
|
**How each persona uses the page.** Each persona is one browser run. The agent works the way the person does:
|
|
7859
7895
|
|
|
7860
7896
|
| Persona | How the agent uses the page |
|
|
@@ -7867,6 +7903,9 @@ forgeqe a11y personas # the personas: built in, and the project's
|
|
|
7867
7903
|
| `reduced-motion` | The browser asks for reduced motion. |
|
|
7868
7904
|
| `deaf` | Captions, transcripts, sound-only information. |
|
|
7869
7905
|
| `high-contrast` | Forced colours (a high contrast theme). |
|
|
7906
|
+
| `mobile-screen-reader` | VoiceOver or TalkBack on an iPhone 15: no screenshots and no keyboard. It swipes right and left through the page item by item (`swipe_next`, `swipe_previous`), hears each item's role, name and state, and double taps to activate (`double_tap`, a touch where the item is). |
|
|
7907
|
+
| `large-text` | A Pixel 8 with the system's text at 200%: text sized in rem or em grows, text sized in px does not. Touch only. |
|
|
7908
|
+
| `touch-tremor` | A Galaxy S23, one finger, a hand tremor: small or close targets, gestures with no simple alternative, time limits. |
|
|
7870
7909
|
|
|
7871
7910
|
**The report.** For each persona, `.forgeqe/reports/accessibility/<time>-<goal>/accessibility.md` says whether they reached the goal, each barrier with its severity (critical: stops them; serious; moderate; minor) and WCAG success criterion, and the automated WCAG rule checks of the pages they visited. The run folders keep the evidence: steps, screenshots, video when on. A run as a persona uses no page memory, site rulebook or skills, since those hold how to click through the site.
|
|
7872
7911
|
|
|
@@ -9223,7 +9262,7 @@ Signing in stays `/auth` and `forgeqe login`; `forgeqe bi export` and `forgeqe l
|
|
|
9223
9262
|
| `forgeqe pr-tests [pr] [--base BRANCH] [--run] [--post]` | The tests a pull request can break; `--run` makes it a CI gate (see [Tests for a pull request](#tests-for-a-pull-request)) |
|
|
9224
9263
|
| `forgeqe impact <repo> <base> <head> \| <repo> --pr LINK [--gate] [--post] [--json] [--quick]` | What a change in a product repository reaches, and whether it is ready; `--gate` exits 1 when it is blocked |
|
|
9225
9264
|
| `forgeqe report <file\|folder>... [--title T] [--out DIR]`, `forgeqe report setup [--repo DIR]` | report.html from JUnit XML or TRX run outside ForgeQE (see [Reports for tests run outside ForgeQE](#reports-for-tests-run-outside-forgeqe)) |
|
|
9226
|
-
| `forgeqe a11y "<goal>" --persona a,b [--url URL]`, `forgeqe a11y personas` | Accessibility testing as personas (see [Accessibility testing with personas](#accessibility-testing-with-personas)) |
|
|
9265
|
+
| `forgeqe a11y "<goal>" --persona a,b [--url URL] [--engine E] [--standard S] [--best-practice]`, `forgeqe a11y personas` | Accessibility testing as personas (see [Accessibility testing with personas](#accessibility-testing-with-personas)) |
|
|
9227
9266
|
| `forgeqe persona [list] \| show \| create \| export \| import` | Business personas (see [Business personas](#business-personas)) |
|
|
9228
9267
|
| `forgeqe flags list [--env NAME]`, `forgeqe flags run <pack> <flag=v1,v2> --env NAME` | A regression pack once per feature-flag combination (see [Feature-flag matrix](#feature-flag-matrix)) |
|
|
9229
9268
|
| `forgeqe defects [--folder DIR]`, `forgeqe defects predict [--repo DIR] [--base REF] [--head REF]` | Defect trends, and where a change is likely to cause defects |
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
ForgeQE contains and installs the open source software below. Each is the work of its own authors and is used under its own licence, which is reproduced here as that licence asks. These notices are generated from the installed packages by `bun scripts/gen-notices.ts`; do not edit.
|
|
4
4
|
|
|
5
|
-
Most of these libraries are inside `dist/forgeqe.js`, the bundle ForgeQE ships; `@opentui/core` and its platform builds are installed beside it. axe-core (MPL-2.0) is shipped unmodified as `dist/vendor/axe.min.js`; its source is at the address given with it. The web app (`dist/web`) credits the libraries inside it in `dist/web/THIRD_PARTY_NOTICES.md`.
|
|
5
|
+
Most of these libraries are inside `dist/forgeqe.js`, the bundle ForgeQE ships; `@opentui/core` and its platform builds are installed beside it. axe-core (MPL-2.0) is shipped unmodified as `dist/vendor/axe.min.js`; its source is at the address given with it. IBM Equal Access's engine (accessibility-checker-engine, Apache-2.0) is shipped unmodified as `dist/vendor/ibm-ace.js`. The web app (`dist/web`) credits the libraries inside it in `dist/web/THIRD_PARTY_NOTICES.md`.
|
|
6
6
|
|
|
7
7
|
## Packages
|
|
8
8
|
|
|
@@ -45,6 +45,7 @@ Most of these libraries are inside `dist/forgeqe.js`, the bundle ForgeQE ships;
|
|
|
45
45
|
| react-reconciler | 0.33.0 | MIT | @opentui/react |
|
|
46
46
|
| scheduler | 0.27.0 | MIT | react-reconciler |
|
|
47
47
|
| @vscode/tree-sitter-wasm | 0.3.1 | MIT | ForgeQE (inside dist/forgeqe.js) |
|
|
48
|
+
| accessibility-checker-engine | 4.0.34 | Apache-2.0 | ForgeQE (inside dist/forgeqe.js) |
|
|
48
49
|
| axe-core | 4.14.0 | MPL-2.0 | ForgeQE (inside dist/forgeqe.js) |
|
|
49
50
|
| fast-xml-parser | 5.11.1 | MIT | ForgeQE (inside dist/forgeqe.js) |
|
|
50
51
|
| @nodable/entities | 3.0.0 | MIT | fast-xml-parser |
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
<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>
|
|
128
128
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The coding agent, Quill: a live model profile (or code.model), and what forgeqe setup installs for it</span></li></ul></div>
|
|
129
129
|
<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>
|
|
130
|
-
<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_find_calls</code> <code>api_new_set</code> <code>api_add_calls</code> <code>api_delete_set</code> <code>api_import_collection</code></p></div>
|
|
130
|
+
<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_find_calls</code> <code>api_new_set</code> <code>api_add_calls</code> <code>api_rename_folder</code> <code>api_move_calls</code> <code>api_delete_set</code> <code>api_import_collection</code></p></div>
|
|
131
131
|
</div>
|
|
132
132
|
|
|
133
133
|
</article>
|
|
@@ -158,6 +158,14 @@
|
|
|
158
158
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile maestro .maestro/</span><span class="pad"> </span><span class="cm"><span class="h">#</span> your team's Maestro flows, checked first
|
|
159
159
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile flow workflow.yaml > login.flow.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a workflow as a Maestro flow, to keep
|
|
160
160
|
</span></span></code></pre></div>
|
|
161
|
+
<p><strong>Accessibility of each screen.</strong> A replay or an explore on Appium checks each new screen it reaches (once per
|
|
162
|
+
screen, at most 40) and writes <code>accessibility.json</code> in the run's folder, in the same shape as a browser run's: controls a
|
|
163
|
+
screen reader has no name for (WCAG 4.1.2), images it stops on with no description (1.1.1), fields with no label, hint or
|
|
164
|
+
placeholder (1.3.1), touch targets under 24 by 24 dp or pt (2.5.8; under Android's 48 dp or iOS's 44 pt as a minor
|
|
165
|
+
finding), and several controls announced by one name. On iOS 17 or later with Xcode 15 it also runs Apple's own audit
|
|
166
|
+
(contrast, hit regions, element descriptions, Dynamic Type, clipped text, traits). Android's sizes are judged from the
|
|
167
|
+
screen's density. <code>mobile.accessibility: false</code> turns it off (<strong>Settings › Mobile</strong>). These are automated checks of what
|
|
168
|
+
the screen's controls say, not a person with TalkBack or VoiceOver; Maestro runs are not checked.</p>
|
|
161
169
|
<p><strong>Secrets.</strong> <code>{{secret:NAME}}</code> reads only <code>mobile.secrets</code> (and the environment's secrets). A flow kept with <code>forgeqe mobile flow</code> reads each secret as <code>${MAESTRO_<NAME>}</code>, never its value, so set <code>MAESTRO_<NAME></code> when you run it outside ForgeQE. A workflow that types a secret not listed there is refused.</p>
|
|
162
170
|
<p><strong>Team Maestro flows</strong> run only with UI commands: scripts, JavaScript in <code>${…}</code>, Maestro's AI commands and file writes are refused. Details: <a href="#doc-docs-mobile-forgeqe-mobile-android-and-ios-apps">docs/MOBILE.md</a>.</p>
|
|
163
171
|
<h5>On TestMu AI (formerly LambdaTest)</h5>
|
|
@@ -236,15 +244,27 @@ by the ForgeQE team (it needs a Mac with a simulator).</p>
|
|
|
236
244
|
<tr><th>Task</th><th>Web app</th><th>Terminal</th></tr>
|
|
237
245
|
</thead>
|
|
238
246
|
<tbody>
|
|
239
|
-
<tr><td data-label="Task">Set up Appium on this computer</td><td data-label="Web app"><strong>Settings › Set up</strong></td><td data-label="Terminal"><code>forgeqe mobile setup</code></td></tr>
|
|
240
|
-
<tr><td data-label="Task">Devices and drivers</td><td data-label="Web app"><strong>Settings › Mobile</strong
|
|
241
|
-
<tr><td data-label="Task">Record your own steps</td><td data-label="Web app"><strong>Record › Mobile app</strong
|
|
242
|
-
<tr><td data-label="Task">Review and replay a recording</td><td data-label="Web app">the recording's review</td><td data-label="Terminal"><code>forgeqe mobile replay</code></td></tr>
|
|
243
|
-
<tr><td data-label="Task">Explore a goal with the model</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile explore</code></td></tr>
|
|
244
|
-
<tr><td data-label="Task">Run your team's Maestro flows</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile maestro</code></td></tr>
|
|
245
|
-
<tr><td data-label="Task">Upload a build to TestMu AI</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile upload</code></td></tr>
|
|
247
|
+
<tr><td data-label="Task">Set up Appium on this computer</td><td data-label="Web app"><strong>Mobile apps › Devices and apps</strong>, or <strong>Settings › Set up</strong></td><td data-label="Terminal"><code>forgeqe mobile setup</code></td></tr>
|
|
248
|
+
<tr><td data-label="Task">Devices and drivers</td><td data-label="Web app"><strong>Settings › Mobile</strong> (listed on <strong>Mobile apps › Devices and apps</strong>)</td><td data-label="Terminal"><code>forgeqe.yaml</code>, <code>forgeqe mobile devices</code></td></tr>
|
|
249
|
+
<tr><td data-label="Task">Record your own steps</td><td data-label="Web app"><strong>Record › Mobile app</strong> (or <strong>Record by hand</strong> on <strong>Mobile apps › Workflows</strong>)</td><td data-label="Terminal">not available</td></tr>
|
|
250
|
+
<tr><td data-label="Task">Review and replay a recording</td><td data-label="Web app">the recording's review, or <strong>Mobile apps › Workflows</strong> (Appium or Maestro)</td><td data-label="Terminal"><code>forgeqe mobile replay</code></td></tr>
|
|
251
|
+
<tr><td data-label="Task">Explore a goal with the model</td><td data-label="Web app"><strong>Mobile apps › Workflows › Explore a goal</strong>, or in a chat</td><td data-label="Terminal"><code>forgeqe mobile explore</code></td></tr>
|
|
252
|
+
<tr><td data-label="Task">Run your team's Maestro flows</td><td data-label="Web app"><strong>Mobile apps › Maestro flows</strong> (from <code>.maestro/</code>), or in a chat</td><td data-label="Terminal"><code>forgeqe mobile maestro</code></td></tr>
|
|
253
|
+
<tr><td data-label="Task">Upload a build to TestMu AI</td><td data-label="Web app"><strong>Mobile apps › Devices and apps › Upload a build</strong>, or in a chat</td><td data-label="Terminal"><code>forgeqe mobile upload</code></td></tr>
|
|
254
|
+
<tr><td data-label="Task">Watch the device while a run works</td><td data-label="Web app"><strong>Mobile apps</strong> (above its tabs), and a chat's device pane</td><td data-label="Terminal">not available</td></tr>
|
|
246
255
|
</tbody>
|
|
247
256
|
</table></div>
|
|
257
|
+
<p><strong>Mobile apps</strong> (<code>#/mobile</code>) is MobilePilot's page. Its <strong>Agent</strong> tab is where you ask it; <strong>Workflows</strong>, <strong>Maestro
|
|
258
|
+
flows</strong>, <strong>Runs</strong> and <strong>Devices and apps</strong> are its work. While a run is at work, from the page or from a chat, the
|
|
259
|
+
device is shown above the tabs: its screen about once a second, the step just done and the next one, and for a device on
|
|
260
|
+
TestMu or BrowserStack a link to the cloud's own live view.</p>
|
|
261
|
+
</div>
|
|
262
|
+
<section class="doc sub" id="doc-docs-mobile-watching-the-device"><h5>Watching the device</h5><div class="prose"><p>The engine keeps the device's latest screen while a run works (<code>live/</code> in the run's folder: one picture, the step, and
|
|
263
|
+
when; removed when the run ends). Appium runs, on this computer or a device cloud, use Appium's own screenshot. Maestro
|
|
264
|
+
on this computer is read with <code>adb exec-out screencap</code> (Android) or <code>xcrun simctl io … screenshot</code> (an iOS simulator).
|
|
265
|
+
Maestro on TestMu (HyperExecute) gives ForgeQE no pictures: watch it on TestMu. A typed value is never shown, only a
|
|
266
|
+
secret's name or a length, and nothing of it reaches the model. A chat that runs a mobile tool docks the device on its
|
|
267
|
+
right for the rest of the chat; below 1100px wide, <strong>Show the device</strong> opens it over the chat.</p>
|
|
248
268
|
<p><strong>Setting up.</strong> For an emulator or phone on this computer, ForgeQE installs Appium and its drivers once (see
|
|
249
269
|
<a href="#doc-docs-mobile-appium-on-this-computer">Appium on this computer</a>). A device cloud needs none of it.</p>
|
|
250
270
|
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
@@ -281,7 +301,7 @@ desktop one. At a terminal, ask the same in <code>forgeqe start</code>, or run:<
|
|
|
281
301
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe mobile explore "Sign in as the courier and accept the first delivery" --app courier
|
|
282
302
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile maestro .maestro/</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the team's flows
|
|
283
303
|
</span></span></code></pre></div>
|
|
284
|
-
</div>
|
|
304
|
+
</div></section>
|
|
285
305
|
</section>
|
|
286
306
|
<section class="doc" id="doc-docs-mobile-apps-and-settings">
|
|
287
307
|
<h4>Apps and settings</h4>
|
|
@@ -164,6 +164,7 @@ in <strong>Settings › Settings as text</strong>.</li>
|
|
|
164
164
|
</span></span><span class="ln"><span class="cmd"> accessibility:
|
|
165
165
|
</span></span><span class="ln ln--pair"><span class="cmd"> standard: wcag21aa</span><span class="pad"> </span><span class="cm"><span class="h">#</span> wcag2a, wcag21aa (default), wcag22aa, wcag21aaa, section508, en301549, best-practice
|
|
166
166
|
</span></span><span class="ln ln--pair"><span class="cmd"> best_practice: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> also the best-practice rules
|
|
167
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> engine: axe</span><span class="pad"> </span><span class="cm"><span class="h">#</span> axe (axe-core, default), ibm (IBM Equal Access), basic (ForgeQE's own checks)
|
|
167
168
|
</span></span><span class="ln"><span class="cmd"> budgets:
|
|
168
169
|
</span></span><span class="ln ln--pair"><span class="cmd"> accessibility:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> most violations per page by impact; unset impacts have no limit (or: accessibility: true for 0 critical, 0 serious)
|
|
169
170
|
</span></span><span class="ln"><span class="cmd"> critical: 0
|
|
@@ -177,7 +178,14 @@ in <strong>Settings › Settings as text</strong>.</li>
|
|
|
177
178
|
</span></span><span class="ln ln--pair"><span class="cmd"> pages:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> by path prefix; the longest match wins
|
|
178
179
|
</span></span><span class="ln"><span class="cmd"> /search: { lcp_ms: 4000 }
|
|
179
180
|
</span></span></code></pre></div>
|
|
180
|
-
</div></div><p><strong>
|
|
181
|
+
</div></div><p><strong>Rule engine.</strong> <code>engine: ibm</code> checks each page with IBM Equal Access (accessibility-checker-engine, shipped with
|
|
182
|
+
ForgeQE) instead of axe-core: the standard picks its ruleset (WCAG 2.0, 2.1 or 2.2 at A or AA; Section 508 as WCAG 2.0
|
|
183
|
+
AA; EN 301 549 as WCAG 2.1 AA; best practice as IBM's own ruleset with its recommendations). IBM's rules stop at AA, so a
|
|
184
|
+
<code>wcag21aaa</code> standard is checked at AA with it and the run says so. Impact comes from IBM's toolkit level (1 critical,
|
|
185
|
+
2 serious, 3 moderate, 4 minor; a recommendation is minor), and rule ids are IBM's (<code>img_alt_valid</code>), so budgets'
|
|
186
|
+
<code>rules</code> and <code>ignore</code> name IBM's ids when it is the engine. The two engines find different things: run both on a page
|
|
187
|
+
that matters. The engine runs inside a function on the page, so a page's own <code>window.ace</code> (the Ace editor) is left alone.</p>
|
|
188
|
+
<p><strong>Over time.</strong> Every run adds each page's violations and timings to <code>.forgeqe/reports/quality-history.json</code> (keep it between CI runs as a cache). Ask "did accessibility regress?" or "is checkout getting slower?". The trends show each page's violations over the last runs, the rules that newly fail or were fixed since the previous run, and each timing against its usual value (the median of the last 10 runs; slower or faster only beyond noise).</p>
|
|
181
189
|
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
182
190
|
<ol>
|
|
183
191
|
<li>Open <strong>Quality</strong> (Quality Engineering › Specialised testing).</li>
|
|
@@ -226,13 +234,26 @@ approve a change that was meant.</p>
|
|
|
226
234
|
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
227
235
|
<ol>
|
|
228
236
|
<li>Open <strong>Accessibility</strong> (Quality Engineering › Specialised testing), on its <strong>Agent</strong> tab.</li>
|
|
229
|
-
<li>Say what the person should try to do, and who tries it ("act as a blind person and use the website to find accessibility issues", "can a keyboard-only user check out?")
|
|
230
|
-
|
|
237
|
+
<li>Say what the person should try to do, and who tries it ("act as a blind person and use the website to find accessibility issues", "can a keyboard-only user check out?").
|
|
238
|
+
Under the persona chips, <strong>Checked with</strong> picks this session's rule engine (axe-core, IBM Equal Access or the
|
|
239
|
+
built-in checks) and standard; left on the project's, quality.accessibility decides.</li>
|
|
240
|
+
<li>Agree to the plan the agent shows, which says the rule checks it will use. Each session's result is on the <strong>Results</strong> tab, and the personas on the <strong>Personas</strong> tab.</li>
|
|
231
241
|
</ol>
|
|
232
242
|
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
233
243
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe a11y "find running shoes and add a pair to the basket" --persona blind,keyboard-only --url https://shop.test
|
|
244
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe a11y "check out" --persona blind --engine ibm --standard wcag22aa --best-practice</span><span class="pad"> </span><span class="cm"><span class="h">#</span> this session's rule checks
|
|
245
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe a11y "check out" --persona blind,keyboard-only --device iphone-15</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every persona on a phone
|
|
234
246
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe a11y personas</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the personas: built in, and the project's own
|
|
235
247
|
</span></span></code></pre></div>
|
|
248
|
+
<p><code>--engine</code> (axe, ibm, basic), <code>--standard</code> (wcag2a, wcag21aa, wcag22aa, wcag21aaa, section508, en301549,
|
|
249
|
+
best-practice) and <code>--best-practice</code> choose the session's automated rule checks over <code>quality.accessibility</code>; a value off
|
|
250
|
+
its list is refused before anything runs. The report and the Results tab say which were used.</p>
|
|
251
|
+
<p><code>--device</code> (on the page: <strong>on</strong>, beside the standard) runs every persona on a phone or tablet of the Responsive page's
|
|
252
|
+
list: its CSS size, pixel ratio, touch and user agent are emulated in ForgeQE's Chromium, so a site lays out as it does
|
|
253
|
+
there (a page with no viewport meta tag is shown shrunk, as on a real phone). <code>desktop</code> is the browser's own window for
|
|
254
|
+
every persona; with no device named, each persona uses its own (the three phone personas are on phones, the rest on
|
|
255
|
+
desktop). A persona file may set <code>input: touch</code>, <code>text_scale</code> (1 to 3) and <code>device</code>. This is emulation in Chromium, not
|
|
256
|
+
Safari or a real phone: confirm what matters on real devices.</p>
|
|
236
257
|
</div></div><p><strong>How each persona uses the page.</strong> Each persona is one browser run. The agent works the way the person does:</p>
|
|
237
258
|
<div class="tbl tbl--cols-2"><table>
|
|
238
259
|
<thead>
|
|
@@ -247,6 +268,9 @@ approve a change that was meant.</p>
|
|
|
247
268
|
<tr><td data-label="Persona"><code>reduced-motion</code></td><td data-label="How the agent uses the page">The browser asks for reduced motion.</td></tr>
|
|
248
269
|
<tr><td data-label="Persona"><code>deaf</code></td><td data-label="How the agent uses the page">Captions, transcripts, sound-only information.</td></tr>
|
|
249
270
|
<tr><td data-label="Persona"><code>high-contrast</code></td><td data-label="How the agent uses the page">Forced colours (a high contrast theme).</td></tr>
|
|
271
|
+
<tr><td data-label="Persona"><code>mobile-screen-reader</code></td><td data-label="How the agent uses the page">VoiceOver or TalkBack on an iPhone 15: no screenshots and no keyboard. It swipes right and left through the page item by item (<code>swipe_next</code>, <code>swipe_previous</code>), hears each item's role, name and state, and double taps to activate (<code>double_tap</code>, a touch where the item is).</td></tr>
|
|
272
|
+
<tr><td data-label="Persona"><code>large-text</code></td><td data-label="How the agent uses the page">A Pixel 8 with the system's text at 200%: text sized in rem or em grows, text sized in px does not. Touch only.</td></tr>
|
|
273
|
+
<tr><td data-label="Persona"><code>touch-tremor</code></td><td data-label="How the agent uses the page">A Galaxy S23, one finger, a hand tremor: small or close targets, gestures with no simple alternative, time limits.</td></tr>
|
|
250
274
|
</tbody>
|
|
251
275
|
</table></div>
|
|
252
276
|
<p><strong>The report.</strong> For each persona, <code>.forgeqe/reports/accessibility/<time>-<goal>/accessibility.md</code> says whether they reached the goal, each barrier with its severity (critical: stops them; serious; moderate; minor) and WCAG success criterion, and the automated WCAG rule checks of the pages they visited. The run folders keep the evidence: steps, screenshots, video when on. A run as a persona uses no page memory, site rulebook or skills, since those hold how to click through the site.</p>
|
|
@@ -416,7 +416,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
416
416
|
<tr><td data-label="Command"><code>forgeqe pr-tests [pr] [--base BRANCH] [--run] [--post]</code></td><td data-label="What it does">The tests a pull request can break; <code>--run</code> makes it a CI gate (see <a href="../area-pull-requests/index.html#doc-how_to_use-tests-for-a-pull-request">Tests for a pull request</a>)</td></tr>
|
|
417
417
|
<tr><td data-label="Command"><code>forgeqe impact <repo> <base> <head> | <repo> --pr LINK [--gate] [--post] [--json] [--quick]</code></td><td data-label="What it does">What a change in a product repository reaches, and whether it is ready; <code>--gate</code> exits 1 when it is blocked</td></tr>
|
|
418
418
|
<tr><td data-label="Command"><code>forgeqe report <file|folder>... [--title T] [--out DIR]</code>, <code>forgeqe report setup [--repo DIR]</code></td><td data-label="What it does">report.html from JUnit XML or TRX run outside ForgeQE (see <a href="../area-automated-tests/index.html#doc-how_to_use-reports-for-tests-run-outside-forgeqe">Reports for tests run outside ForgeQE</a>)</td></tr>
|
|
419
|
-
<tr><td data-label="Command"><code>forgeqe a11y "<goal>" --persona a,b [--url URL]</code>, <code>forgeqe a11y personas</code></td><td data-label="What it does">Accessibility testing as personas (see <a href="../area-quality/index.html#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a>)</td></tr>
|
|
419
|
+
<tr><td data-label="Command"><code>forgeqe a11y "<goal>" --persona a,b [--url URL] [--engine E] [--standard S] [--best-practice]</code>, <code>forgeqe a11y personas</code></td><td data-label="What it does">Accessibility testing as personas (see <a href="../area-quality/index.html#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a>)</td></tr>
|
|
420
420
|
<tr><td data-label="Command"><code>forgeqe persona [list] | show | create | export | import</code></td><td data-label="What it does">Business personas (see <a href="../area-test-cases/index.html#doc-how_to_use-business-personas">Business personas</a>)</td></tr>
|
|
421
421
|
<tr><td data-label="Command"><code>forgeqe flags list [--env NAME]</code>, <code>forgeqe flags run <pack> <flag=v1,v2> --env NAME</code></td><td data-label="What it does">A regression pack once per feature-flag combination (see <a href="../area-release/index.html#doc-how_to_use-feature-flag-matrix">Feature-flag matrix</a>)</td></tr>
|
|
422
422
|
<tr><td data-label="Command"><code>forgeqe defects [--folder DIR]</code>, <code>forgeqe defects predict [--repo DIR] [--base REF] [--head REF]</code></td><td data-label="What it does">Defect trends, and where a change is likely to cause defects</td></tr>
|
|
@@ -376,7 +376,10 @@ refused, a rate limit or a used-up allowance never moves to another model. <code
|
|
|
376
376
|
what Copilot answered and which model took over.</p>
|
|
377
377
|
<p><strong>Copilot's versions.</strong> ForgeQE pins GitHub's Copilot SDK and the Copilot runtime it runs, so a GitHub release never
|
|
378
378
|
changes your setup by itself; a newer ForgeQE brings newer ones (<code>forgeqe update</code>, then <code>forgeqe setup</code>). <code>forgeqe doctor</code>
|
|
379
|
-
shows the versions in use.
|
|
379
|
+
shows the versions in use. A newer version is downloaded from GitHub the first time it is needed; when that download
|
|
380
|
+
fails (a company network or proxy that blocks GitHub's downloads), ForgeQE keeps using the Copilot already on your
|
|
381
|
+
computer, for the sign-in and for chats and runs, and says so. To get the newer one, allow <code>github.com</code> and
|
|
382
|
+
<code>release-assets.githubusercontent.com</code>, or set <code>FORGEQE_GITHUB_MIRROR</code> to your company's GitHub mirror. If GitHub ever stops accepting them, the chat or run says so and asks you to update ForgeQE,
|
|
380
383
|
rather than trying another model.</p>
|
|
381
384
|
<p><strong>Behind a company proxy.</strong> ForgeQE reaches Copilot over plain HTTPS. Copilot can use WebSockets for some models, which
|
|
382
385
|
many company proxies break, leaving requests unanswered; ForgeQE turns them off, as each request is a new Copilot
|
|
@@ -144,15 +144,27 @@ by the ForgeQE team (it needs a Mac with a simulator).</p>
|
|
|
144
144
|
<tr><th>Task</th><th>Web app</th><th>Terminal</th></tr>
|
|
145
145
|
</thead>
|
|
146
146
|
<tbody>
|
|
147
|
-
<tr><td data-label="Task">Set up Appium on this computer</td><td data-label="Web app"><strong>Settings › Set up</strong></td><td data-label="Terminal"><code>forgeqe mobile setup</code></td></tr>
|
|
148
|
-
<tr><td data-label="Task">Devices and drivers</td><td data-label="Web app"><strong>Settings › Mobile</strong
|
|
149
|
-
<tr><td data-label="Task">Record your own steps</td><td data-label="Web app"><strong>Record › Mobile app</strong
|
|
150
|
-
<tr><td data-label="Task">Review and replay a recording</td><td data-label="Web app">the recording's review</td><td data-label="Terminal"><code>forgeqe mobile replay</code></td></tr>
|
|
151
|
-
<tr><td data-label="Task">Explore a goal with the model</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile explore</code></td></tr>
|
|
152
|
-
<tr><td data-label="Task">Run your team's Maestro flows</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile maestro</code></td></tr>
|
|
153
|
-
<tr><td data-label="Task">Upload a build to TestMu AI</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile upload</code></td></tr>
|
|
147
|
+
<tr><td data-label="Task">Set up Appium on this computer</td><td data-label="Web app"><strong>Mobile apps › Devices and apps</strong>, or <strong>Settings › Set up</strong></td><td data-label="Terminal"><code>forgeqe mobile setup</code></td></tr>
|
|
148
|
+
<tr><td data-label="Task">Devices and drivers</td><td data-label="Web app"><strong>Settings › Mobile</strong> (listed on <strong>Mobile apps › Devices and apps</strong>)</td><td data-label="Terminal"><code>forgeqe.yaml</code>, <code>forgeqe mobile devices</code></td></tr>
|
|
149
|
+
<tr><td data-label="Task">Record your own steps</td><td data-label="Web app"><strong>Record › Mobile app</strong> (or <strong>Record by hand</strong> on <strong>Mobile apps › Workflows</strong>)</td><td data-label="Terminal">not available</td></tr>
|
|
150
|
+
<tr><td data-label="Task">Review and replay a recording</td><td data-label="Web app">the recording's review, or <strong>Mobile apps › Workflows</strong> (Appium or Maestro)</td><td data-label="Terminal"><code>forgeqe mobile replay</code></td></tr>
|
|
151
|
+
<tr><td data-label="Task">Explore a goal with the model</td><td data-label="Web app"><strong>Mobile apps › Workflows › Explore a goal</strong>, or in a chat</td><td data-label="Terminal"><code>forgeqe mobile explore</code></td></tr>
|
|
152
|
+
<tr><td data-label="Task">Run your team's Maestro flows</td><td data-label="Web app"><strong>Mobile apps › Maestro flows</strong> (from <code>.maestro/</code>), or in a chat</td><td data-label="Terminal"><code>forgeqe mobile maestro</code></td></tr>
|
|
153
|
+
<tr><td data-label="Task">Upload a build to TestMu AI</td><td data-label="Web app"><strong>Mobile apps › Devices and apps › Upload a build</strong>, or in a chat</td><td data-label="Terminal"><code>forgeqe mobile upload</code></td></tr>
|
|
154
|
+
<tr><td data-label="Task">Watch the device while a run works</td><td data-label="Web app"><strong>Mobile apps</strong> (above its tabs), and a chat's device pane</td><td data-label="Terminal">not available</td></tr>
|
|
154
155
|
</tbody>
|
|
155
156
|
</table></div>
|
|
157
|
+
<p><strong>Mobile apps</strong> (<code>#/mobile</code>) is MobilePilot's page. Its <strong>Agent</strong> tab is where you ask it; <strong>Workflows</strong>, <strong>Maestro
|
|
158
|
+
flows</strong>, <strong>Runs</strong> and <strong>Devices and apps</strong> are its work. While a run is at work, from the page or from a chat, the
|
|
159
|
+
device is shown above the tabs: its screen about once a second, the step just done and the next one, and for a device on
|
|
160
|
+
TestMu or BrowserStack a link to the cloud's own live view.</p>
|
|
161
|
+
<h3 id="watching-the-device"><a href="#watching-the-device" class="hash">#</a>Watching the device</h3>
|
|
162
|
+
<p>The engine keeps the device's latest screen while a run works (<code>live/</code> in the run's folder: one picture, the step, and
|
|
163
|
+
when; removed when the run ends). Appium runs, on this computer or a device cloud, use Appium's own screenshot. Maestro
|
|
164
|
+
on this computer is read with <code>adb exec-out screencap</code> (Android) or <code>xcrun simctl io … screenshot</code> (an iOS simulator).
|
|
165
|
+
Maestro on TestMu (HyperExecute) gives ForgeQE no pictures: watch it on TestMu. A typed value is never shown, only a
|
|
166
|
+
secret's name or a length, and nothing of it reaches the model. A chat that runs a mobile tool docks the device on its
|
|
167
|
+
right for the rest of the chat; below 1100px wide, <strong>Show the device</strong> opens it over the chat.</p>
|
|
156
168
|
<p><strong>Setting up.</strong> For an emulator or phone on this computer, ForgeQE installs Appium and its drivers once (see
|
|
157
169
|
<a href="#appium-on-this-computer">Appium on this computer</a>). A device cloud needs none of it.</p>
|
|
158
170
|
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|