@capagents/forgeqe 3.1.0 → 3.1.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 +34 -21
- package/dist/docs-site/docs/index.html +25 -4
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/forgeqe.js +2160 -1802
- package/dist/web/assets/{AgentWork-C3KdZh5M.js → AgentWork-DwAI0_Of.js} +1 -1
- package/dist/web/assets/ApiTests-C0vFSHmM.js +10 -0
- package/dist/web/assets/Browse-5jfdtRc5.js +2 -0
- package/dist/web/assets/Chat-B3uhI94O.js +3 -0
- package/dist/web/assets/{CommandPalette-D89NM2_E.js → CommandPalette-D2J4nf5y.js} +1 -1
- package/dist/web/assets/{Compare-YfFYHwfK.js → Compare-CN75w1p9.js} +1 -1
- package/dist/web/assets/Cost-QoxyjR95.js +1 -0
- package/dist/web/assets/{Data-jSFgAfej.js → Data-BAvkcBVt.js} +4 -4
- package/dist/web/assets/Desktop-BXdOIalN.js +1 -0
- package/dist/web/assets/DesktopReview-Bl2SrPP0.js +1 -0
- package/dist/web/assets/Evidence-BJ_I52CD.js +1 -0
- package/dist/web/assets/{Explore-BdFvqgF4.js → Explore-D9AuyTip.js} +2 -2
- package/dist/web/assets/Features-CusGMDR9.js +1 -0
- package/dist/web/assets/Flags-CycGFuUP.js +2 -0
- package/dist/web/assets/Flaky-BcSzJogN.js +1 -0
- package/dist/web/assets/Impact-CJHnyZ21.js +3 -0
- package/dist/web/assets/Jobs-4xcFzEFo.js +5 -0
- package/dist/web/assets/KindPage-BielEIej.js +6 -0
- package/dist/web/assets/Migration-NwanKpJg.js +2 -0
- package/dist/web/assets/PageAgent-CNw4NXva.js +1 -0
- package/dist/web/assets/Product-DS3LJZ4P.js +7 -0
- package/dist/web/assets/Production-D3zsyNIS.js +1 -0
- package/dist/web/assets/Quality-Ctj2YpC4.js +1 -0
- package/dist/web/assets/Readiness-DGcRr_co.js +1 -0
- package/dist/web/assets/Record-Cc-wGe_Y.js +1 -0
- package/dist/web/assets/Regression-DcsbrRa1.js +5 -0
- package/dist/web/assets/Reports-BkCn0-Sf.js +2 -0
- package/dist/web/assets/Response-BP0UwQcW.js +9 -0
- package/dist/web/assets/Responsive-C8U7dumd.js +3 -0
- package/dist/web/assets/RunDiff-BhABuhF_.js +1 -0
- package/dist/web/assets/Runs-OwdWEYBv.js +2 -0
- package/dist/web/assets/Steps-BvzbQyoD.js +2 -0
- package/dist/web/assets/TestCases-CLq_6JA5.js +1 -0
- package/dist/web/assets/{TestData-e3IX0xwG.js → TestData-B0oKAhp6.js} +2 -2
- package/dist/web/assets/TestDebt-8NLQ5YV_.js +1 -0
- package/dist/web/assets/TestManagement-2LYQ7vsN.js +1 -0
- package/dist/web/assets/Tosca-DfvMpPTG.js +3 -0
- package/dist/web/assets/{WhatsNew-CwnRbDnd.js → WhatsNew-BGFNGwqN.js} +1 -1
- package/dist/web/assets/families-DYlN5v0i.js +1 -0
- package/dist/web/assets/filters-faaSnoIq.js +1 -0
- package/dist/web/assets/{fold-tvLGnxD1.js → fold-CUjwWAK3.js} +1 -1
- package/dist/web/assets/frame-BLPdAXUq.js +13 -0
- package/dist/web/assets/head-CsTxBsO0.js +1 -0
- package/dist/web/assets/index-CxiCvGZq.js +78 -0
- package/dist/web/assets/index-dOIsrzhD.css +2 -0
- package/dist/web/assets/line-icons-CwZWt93L.js +1 -0
- package/dist/web/assets/logos-dGuc1jIM.js +1 -0
- package/dist/web/assets/{markdown-DC2HA0yZ.js → markdown-BI3F-SJ1.js} +5 -5
- package/dist/web/assets/{paletteCommands-Qxm5DZIs.js → paletteCommands-QJiCuUEr.js} +1 -1
- package/dist/web/assets/{parts-BR6dUwqn.js → parts-CdF1f7yS.js} +1 -1
- package/dist/web/assets/{productParts-BxdHuSBa.js → productParts-hNLD9fN0.js} +1 -1
- package/dist/web/assets/qualityParts-CT25lBWU.js +1 -0
- package/dist/web/assets/{recordTest-CcplpTS6.js → recordTest-P792aBUt.js} +1 -1
- package/dist/web/index.html +6 -12
- package/docs/user-guide.html +64 -11
- package/package.json +1 -1
- package/prompts/responsive-review.md +38 -0
- package/prompts/responsive-split.md +40 -0
- package/prompts/responsive.md +42 -0
- package/dist/web/assets/ApiTests-BLnl7JGO.js +0 -10
- package/dist/web/assets/Browse-C-Enjpmd.js +0 -2
- package/dist/web/assets/Chat-Bt6jZI68.js +0 -3
- package/dist/web/assets/Choices-D5eTFinz.js +0 -3
- package/dist/web/assets/Cost-ClaDz0YR.js +0 -1
- package/dist/web/assets/Desktop-BofKeLVf.js +0 -1
- package/dist/web/assets/DesktopReview--WjeZh3w.js +0 -1
- package/dist/web/assets/Evidence-CJNzSQpY.js +0 -1
- package/dist/web/assets/Features-CIBbw6PG.js +0 -1
- package/dist/web/assets/Flags-B62v4uWR.js +0 -2
- package/dist/web/assets/Flaky-Cut1kZw6.js +0 -1
- package/dist/web/assets/Impact-jOSl5Q0k.js +0 -3
- package/dist/web/assets/Jobs-DMJGgWtQ.js +0 -5
- package/dist/web/assets/KindPage-BbQWH5wa.js +0 -6
- package/dist/web/assets/Migration-BBgv7xXo.js +0 -2
- package/dist/web/assets/PageAgent-txbNoP6u.js +0 -1
- package/dist/web/assets/Product-BrXH81Ns.js +0 -7
- package/dist/web/assets/Production-CCVtFNGQ.js +0 -1
- package/dist/web/assets/Quality-Dxh-60A8.js +0 -1
- package/dist/web/assets/Readiness-DyJvSOLN.js +0 -1
- package/dist/web/assets/Record-Dnlkimjb.js +0 -1
- package/dist/web/assets/Regression-D2DDTwzs.js +0 -5
- package/dist/web/assets/Reports-ClcY7M0Q.js +0 -2
- package/dist/web/assets/Response-D9FYUvHg.js +0 -9
- package/dist/web/assets/RunDiff-CNImaEdz.js +0 -1
- package/dist/web/assets/Runs-CFvmdULI.js +0 -2
- package/dist/web/assets/Steps-BS66s0E1.js +0 -2
- package/dist/web/assets/TestCases-CrQEUtfD.js +0 -1
- package/dist/web/assets/TestDebt-tXPoexMF.js +0 -1
- package/dist/web/assets/TestManagement-wjGaoZzI.js +0 -1
- package/dist/web/assets/Tosca-C5YaMLS0.js +0 -3
- package/dist/web/assets/azuredevops-BcQ5AFOM.js +0 -1
- package/dist/web/assets/crew-CWfjZIxE.js +0 -1
- package/dist/web/assets/families-DWilSDct.js +0 -1
- package/dist/web/assets/filters-CVzIOjPG.js +0 -1
- package/dist/web/assets/frame-Deu1IqzV.js +0 -13
- package/dist/web/assets/index-BWMIKyPB.js +0 -76
- package/dist/web/assets/index-C2Yq55oT.css +0 -2
- package/dist/web/assets/line-icons-C_amZ5-o.js +0 -1
- package/dist/web/assets/logos-C1NBtBMc.js +0 -1
- package/dist/web/assets/logos-DFyhMw0i.js +0 -1
- package/dist/web/assets/qualityParts-lz6eYVxC.js +0 -1
- package/dist/web/assets/today-DuQFapJM.js +0 -1
- package/dist/web/assets/when-CHnpLdYw.js +0 -1
package/HOW_TO_USE.md
CHANGED
|
@@ -64,6 +64,7 @@ agent:
|
|
|
64
64
|
| a bug, orange | Sleuth | `forgeqe-defect-rca` | Finds the root cause of a defect | No |
|
|
65
65
|
| a funnel, indigo | Polish | `forgeqe-refine` | Turns a request into a task specification | No |
|
|
66
66
|
| a stack of layers, cobalt | Sorter | `forgeqe-suite-builder` | Builds a test suite from what a person asks, as groups of rules over the project's test cases | No |
|
|
67
|
+
| a screen and a phone side by side, berry | Prism | `forgeqe-responsive` | Plans one instruction as browser steps for each layout (phone, tablet, desktop) of a responsive preview | No |
|
|
67
68
|
| a target with its centre, sky | Matchmaker | `forgeqe-test-linker` | Links test cases to the automated tests that check them, from their titles, steps, names and files | No |
|
|
68
69
|
| building blocks, mauve | Smith | `forgeqe-agent-builder` | Works out a custom agent with the user: questions, plan, name | No |
|
|
69
70
|
| an envelope, plum | Herald | `forgeqe-bug-report` | Drafts a defect in ForgeQE itself from the person's words, and asks what it lacks | No |
|
|
@@ -109,32 +110,35 @@ The icons as the shell draws them, each in its agent's colour:
|
|
|
109
110
|
▚▟▙▞ Sleuth ▜██▛ Polish
|
|
110
111
|
▜██▛ ▜▛
|
|
111
112
|
|
|
112
|
-
▜██▛ Sorter
|
|
113
|
-
▜██▛
|
|
113
|
+
▜██▛ Sorter ██▌█ Prism
|
|
114
|
+
▜██▛ ▀▛▘█
|
|
114
115
|
|
|
115
|
-
█ █ Smith
|
|
116
|
-
|
|
116
|
+
▟▀▀▙ Matchmaker █ █ Smith
|
|
117
|
+
▜▟▙▛ █ █
|
|
117
118
|
|
|
118
|
-
▟██▙ Miner
|
|
119
|
-
▚▄▄▞
|
|
119
|
+
█▀▀█ Herald ▟██▙ Miner
|
|
120
|
+
▙▟▙▟ ▚▄▄▞
|
|
120
121
|
|
|
121
|
-
|
|
122
|
-
▟██▙
|
|
122
|
+
▗█▖▄ BASAL ▟▙ Mask
|
|
123
|
+
████ ▟██▙
|
|
123
124
|
|
|
124
|
-
█▖▗█ Skimmer
|
|
125
|
-
████
|
|
125
|
+
▗██▖ Librarian █▖▗█ Skimmer
|
|
126
|
+
▜▛ ████
|
|
126
127
|
|
|
127
|
-
▄▟▙▄ Scales
|
|
128
|
-
▙▖ ▙
|
|
128
|
+
▐█▙ Gavel ▄▟▙▄ Scales
|
|
129
|
+
▄▖▝▙ ▙▖ ▙
|
|
129
130
|
|
|
130
|
-
▛▀█▖ Drafter
|
|
131
|
-
▙█▄▌
|
|
131
|
+
█ █ Grader ▛▀█▖ Drafter
|
|
132
|
+
▞ ▞ ▙█▄▌
|
|
132
133
|
|
|
133
|
-
▗▜▛▖ Digger
|
|
134
|
-
▝▄▄▙
|
|
134
|
+
▀▖▗▀ Mapper ▗▜▛▖ Digger
|
|
135
|
+
▄▝▘▄ ▝▄▄▙
|
|
135
136
|
|
|
136
|
-
▗▚▞▖ Ripple
|
|
137
|
-
▝▞▚▘
|
|
137
|
+
▞▀▀▚ Clerk ▗▚▞▖ Ripple
|
|
138
|
+
▙██▟ ▝▞▚▘
|
|
139
|
+
|
|
140
|
+
▛▀▀▜ WebPilot
|
|
141
|
+
▙▄▄▟
|
|
138
142
|
```
|
|
139
143
|
<!-- subagents:end -->
|
|
140
144
|
|
|
@@ -185,6 +189,7 @@ Everything ForgeQE can do, by area. ForgeQE's agent answers "can you…?" questi
|
|
|
185
189
|
| Automated tests | **Test management**: Plans' test cases, their tests and runs; gaps; suites. | `test_inventory` | [docs](#test-management) |
|
|
186
190
|
| Quality | **Passive security smoke checks**: Reads what each browser run recorded for missing security headers, weak CSP, unsafe cookie flags, mixed content, open redirects, CORS with credentials, and keys in API answers; nothing is sent to the site. | `security_findings` | [docs](#security-smoke-checks) |
|
|
187
191
|
| Quality | **Localization checks**: Finds translation keys shown as text, English left on pages in another language, cut-off text, and what breaks with longer pseudo-localized text or right to left, on every page a run visits. | `localization_findings` | [docs](#localization-checks) |
|
|
192
|
+
| Quality | **Responsive check**: Opens one page on several phones, tablets and desktops at once and says where it scrolls sideways, what runs past the screen, text that is too small and tap targets that are too small, with a screenshot of each device. | `responsive_check` | [docs](#responsive-preview) |
|
|
188
193
|
| Operations | **Production errors and the tests that cover them**: Reads the errors users hit in production from Sentry, Datadog and Application Insights, grouped by page, and says which have no test reproducing them; read only. | `production_errors` | [docs](#production-errors) |
|
|
189
194
|
| Operations | **Model cost and usage**: Adds up what the project's model calls cost by agent, origin, job, model and day, with tokens of unknown price apart, the model router's picks, and each regression pack's cost per run. | `model_cost` | [docs](#model-cost) |
|
|
190
195
|
| Operations | **Scheduled monitoring with alerts**: Runs checks on a schedule and alerts Teams or email when one keeps failing, and again when it recovers. | `monitor` | [docs](#9-monitoring) |
|
|
@@ -2118,15 +2123,15 @@ of your own are approved, and an unapproved one is refused here exactly as it is
|
|
|
2118
2123
|
hook and wdio-video-reporter for WebdriverIO) and ForgeQE checks the project for it, setting it up again when it is
|
|
2119
2124
|
missing. Selenium has no video recorder: its tests keep failure screenshots only.
|
|
2120
2125
|
|
|
2121
|
-
Exit codes of `tosca run`: `0` every test converted, `1` some or none, `2` stopped. The
|
|
2122
|
-
(
|
|
2126
|
+
Exit codes of `tosca run`: `0` every test converted, `1` some or none, `2` stopped. The Migration page of `forgeqe web`
|
|
2127
|
+
(New, then the *Tosca* source) does the same in four steps (export, target, instructions, review): it lists the `.tsu` exports in
|
|
2123
2128
|
the project, reads the one you pick and lets you choose its test cases, then follows the job: its stages, every file
|
|
2124
2129
|
with how many of its Tosca steps the test does and its whole output (Fix sends one back to Bridge with a note),
|
|
2125
2130
|
Run tests again for all of them or Run for one suite, each test case's
|
|
2126
2131
|
Tosca steps beside the converted code with a step's lines marked and the locators Tosca recorded, and the activity as it
|
|
2127
2132
|
happens.
|
|
2128
2133
|
|
|
2129
|
-
**Guide.**
|
|
2134
|
+
**Guide.** Tosca exports are migrated on the Migration page of `forgeqe web`, listed with every other migration under its Migrations tab. New, then the *Tosca* source, offers *Help me choose*: say in your words what to migrate ("checkout.tsu to
|
|
2130
2135
|
Playwright in TypeScript on QA, into e2e/tosca") and the assistant asks only what it still needs, one thing at a time:
|
|
2131
2136
|
the exports, the framework, the language, where the tests start, then a folder or rules for the code. Each question
|
|
2132
2137
|
offers its options to pick; you can also type, and change anything you said. Open the prefilled wizard then reads the
|
|
@@ -4301,6 +4306,14 @@ Every browser run keeps, besides its API calls, each page it loaded with that pa
|
|
|
4301
4306
|
|
|
4302
4307
|
With accessibility checks on (the default), each page a browser run visits is checked for its language: translation keys shown as text (`checkout.button.pay`, `{{name}}`, "missing translation"), English left on a page whose `lang` is another language, and text cut off or running past its box. Then, for a moment the run never sees, the page is shown with pseudo-localized text (accented and a third longer) and right to left, measured and captured, and put back. `localization_findings` (and Quality › Localization) lists what each page showed and what breaks only once text grows or is mirrored. Run a flow once in each language your site has.
|
|
4303
4308
|
|
|
4309
|
+
### Responsive preview
|
|
4310
|
+
|
|
4311
|
+
The **Responsive** page (Specialised testing) opens one page on up to twelve phones, tablets and desktops at once, in ForgeQE's own headless browser on this computer. Each device is emulated in full (its CSS size, pixel ratio, touch, mobile viewport and user agent), in a browser context of its own, so a site that reads the user agent or `pointer: coarse` lays out as it would there; every device is drawn by Chromium, so a Safari-only difference does not show. The address starts as the active environment's web app.
|
|
4312
|
+
|
|
4313
|
+
- **Use one device:** click, scroll and type on its pane; Show larger opens it bigger.
|
|
4314
|
+
- **Synced control:** one instruction ("Open the pricing page", "Search for red shoes") done on every device. ForgeQE reads each layout's screen first and plans for each (a phone's menu is often behind a button a desktop does not have), then says per device how many steps ran and why one stopped. Without a model, only plain commands work (click …, scroll down, go back, press Enter). It never runs on a site of an environment named like production.
|
|
4315
|
+
- `responsive_check` (or "does the checkout work on phones?") opens a page on several devices, says where it scrolls sideways and which elements run past the screen, text under 12px and tap targets under 24px, and saves a screenshot of each device in `responsive-<time>/` in the reports folder. It clicks and types nothing.
|
|
4316
|
+
|
|
4304
4317
|
### Production errors
|
|
4305
4318
|
|
|
4306
4319
|
`production_errors` (and the **Production signals** page) reads the errors real users hit in the last 14 days from Sentry (`integrations.sentry`), Datadog (`integrations.datadog`) and Azure Application Insights (`integrations.appinsights`), groups them by page, and says which browser run or automated test already reaches each page, or that no test does. It only reads. Record a repro opens the Record page at the same page on the active test environment. Keys are environment variables named in forgeqe.yaml, saved in Settings.
|
|
@@ -163,7 +163,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
|
|
|
163
163
|
<div class="area"><a href="#area-automated-tests" class="area-name"><span class="mono">Automated tests</span></a><ul class="tiles"><li><a href="#cap-write-tests" class="tile"><b>Turn a passed run into an automated test</b><span>Write a Playwright test for that run in ../app</span></a></li><li><a href="#cap-heal-tests" class="tile"><b>Heal failing tests</b><span>Heal the failing tests in ../app</span></a></li><li><a href="#cap-migrate-tests" class="tile"><b>Migrate a test suite</b><span>Migrate the Selenium tests in tests/ to Playwright TypeScript</span></a></li><li><a href="#cap-tosca-convert" class="tile"><b>Convert Tosca test cases</b><span>Convert the Tosca export tosca/checkout.tsu to Playwright TypeScript</span></a></li><li><a href="#cap-find-run-tests" class="tile"><b>Find and run existing tests</b><span>Run the checkout tests</span></a></li><li><a href="#cap-regression-packs" class="tile"><b>Regression packs for a release</b><span>Build a regression pack for sprint 12 and run it on TestMu</span></a></li><li><a href="#cap-flaky-tests" class="tile"><b>Flaky test detection and quarantine</b><span>Which tests are flaky?</span></a></li><li><a href="#cap-run-diff" class="tile"><b>Compare two runs step by step</b><span>It passed yesterday and fails today: why?</span></a></li><li><a href="#cap-test-debt" class="tile"><b>Test debt and coverage gaps</b><span>What has no test?</span></a></li><li><a href="#cap-test-management" class="tile"><b>Test management</b><span>Show the test inventory</span></a></li></ul></div>
|
|
164
164
|
<div class="area"><a href="#area-pull-requests" class="area-name"><span class="mono">Pull requests</span></a><ul class="tiles"><li><a href="#cap-pr-review" class="tile"><b>Review pull requests</b><span>Review PR 42 and focus on error handling</span></a></li><li><a href="#cap-pr-impact" class="tile"><b>Pull request impact and test selection</b><span>What does PR 42 impact?</span></a></li></ul></div>
|
|
165
165
|
<div class="area"><a href="#area-api" class="area-name"><span class="mono">API</span></a><ul class="tiles"><li><a href="#cap-api-testing" class="tile"><b>API and contract testing</b><span>Turn the last run's API calls into tests</span></a></li><li><a href="#cap-api-load-security" class="tile"><b>API load and security checks</b><span>Load test the orders API with 20 users for a minute</span></a></li></ul></div>
|
|
166
|
-
<div class="area"><a href="#area-quality" class="area-name"><span class="mono">Quality</span></a><ul class="tiles"><li><a href="#cap-accessibility-performance" class="tile"><b>Accessibility and page performance</b><span>Is the checkout page accessible?</span></a></li><li><a href="#cap-accessibility-personas" class="tile"><b>Accessibility testing with personas</b><span>Act as a blind person and use the website to find accessibility issues</span></a></li><li><a href="#cap-visual-comparison" class="tile"><b>Visual comparison with baselines</b><span>What changed visually since the last run?</span></a></li><li><a href="#cap-defect-intelligence" class="tile"><b>Defect intelligence: trends and prediction</b><span>Which defects keep coming back?</span></a></li><li><a href="#cap-security-smoke" class="tile"><b>Passive security smoke checks</b><span>Any security problems in the last checkout run?</span></a></li><li><a href="#cap-localization-checks" class="tile"><b>Localization checks</b><span>Is the German checkout fully translated?</span></a></li></ul></div>
|
|
166
|
+
<div class="area"><a href="#area-quality" class="area-name"><span class="mono">Quality</span></a><ul class="tiles"><li><a href="#cap-accessibility-performance" class="tile"><b>Accessibility and page performance</b><span>Is the checkout page accessible?</span></a></li><li><a href="#cap-accessibility-personas" class="tile"><b>Accessibility testing with personas</b><span>Act as a blind person and use the website to find accessibility issues</span></a></li><li><a href="#cap-visual-comparison" class="tile"><b>Visual comparison with baselines</b><span>What changed visually since the last run?</span></a></li><li><a href="#cap-defect-intelligence" class="tile"><b>Defect intelligence: trends and prediction</b><span>Which defects keep coming back?</span></a></li><li><a href="#cap-security-smoke" class="tile"><b>Passive security smoke checks</b><span>Any security problems in the last checkout run?</span></a></li><li><a href="#cap-localization-checks" class="tile"><b>Localization checks</b><span>Is the German checkout fully translated?</span></a></li><li><a href="#cap-responsive-check" class="tile"><b>Responsive check</b><span>Does the checkout page work on phones?</span></a></li></ul></div>
|
|
167
167
|
<div class="area"><a href="#area-release" class="area-name"><span class="mono">Release</span></a><ul class="tiles"><li><a href="#cap-release-readiness" class="tile"><b>Requirement coverage and release readiness</b><span>Are we ready to release?</span></a></li><li><a href="#cap-release-verdict" class="tile"><b>One release verdict from everything measured</b><span>Can we ship release-2.3?</span></a></li><li><a href="#cap-feature-flags" class="tile"><b>Regression across feature-flag combinations</b><span>Run the release pack across the new-checkout feature flag on and off</span></a></li><li><a href="#cap-reports" class="tile"><b>Reports you can share</b><span>Create a release report for all projects</span></a></li></ul></div>
|
|
168
168
|
<div class="area"><a href="#area-systems" class="area-name"><span class="mono">Systems</span></a><ul class="tiles"><li><a href="#cap-systems" class="tile"><b>Work with Azure DevOps, Jira, GitHub, and Confluence</b><span>Show the open bugs in this sprint</span></a></li><li><a href="#cap-system-data" class="tile"><b>Read any data in Azure DevOps, Jira, Xray, and Confluence, and open Azure DevOps pull requests</b><span>Are there open pull requests in any repository of QI-Claims?</span></a></li></ul></div>
|
|
169
169
|
<h3 class="band-title">Not supported</h3>
|
|
@@ -5456,14 +5456,14 @@ and shown on the report page. Where the runner has switches for it, ForgeQE pass
|
|
|
5456
5456
|
hook and wdio-video-reporter for WebdriverIO) and ForgeQE checks the project for it, setting it up again when it is
|
|
5457
5457
|
missing. Selenium has no video recorder: its tests keep failure screenshots only.</li>
|
|
5458
5458
|
</ol>
|
|
5459
|
-
<p>Exit codes of <code>tosca run</code>: <code>0</code> every test converted, <code>1</code> some or none, <code>2</code> stopped. The
|
|
5460
|
-
(
|
|
5459
|
+
<p>Exit codes of <code>tosca run</code>: <code>0</code> every test converted, <code>1</code> some or none, <code>2</code> stopped. The Migration page of <code>forgeqe web</code>
|
|
5460
|
+
(New, then the <em>Tosca</em> source) does the same in four steps (export, target, instructions, review): it lists the <code>.tsu</code> exports in
|
|
5461
5461
|
the project, reads the one you pick and lets you choose its test cases, then follows the job: its stages, every file
|
|
5462
5462
|
with how many of its Tosca steps the test does and its whole output (Fix sends one back to Bridge with a note),
|
|
5463
5463
|
Run tests again for all of them or Run for one suite, each test case's
|
|
5464
5464
|
Tosca steps beside the converted code with a step's lines marked and the locators Tosca recorded, and the activity as it
|
|
5465
5465
|
happens.</p>
|
|
5466
|
-
<p><strong>Guide.</strong>
|
|
5466
|
+
<p><strong>Guide.</strong> Tosca exports are migrated on the Migration page of <code>forgeqe web</code>, listed with every other migration under its Migrations tab. New, then the <em>Tosca</em> source, offers <em>Help me choose</em>: say in your words what to migrate ("checkout.tsu to
|
|
5467
5467
|
Playwright in TypeScript on QA, into e2e/tosca") and the assistant asks only what it still needs, one thing at a time:
|
|
5468
5468
|
the exports, the framework, the language, where the tests start, then a folder or rules for the code. Each question
|
|
5469
5469
|
offers its options to pick; you can also type, and change anything you said. Open the prefilled wizard then reads the
|
|
@@ -6319,6 +6319,27 @@ forgeqe visual approve --page /home # make this run's /home the baseline (asks
|
|
|
6319
6319
|
</section>
|
|
6320
6320
|
</div>
|
|
6321
6321
|
</article>
|
|
6322
|
+
<article class="spec feat" id="cap-responsive-check">
|
|
6323
|
+
<div class="hd"><span class="mono">Quality</span><h3>Responsive check</h3></div>
|
|
6324
|
+
<p class="ds">Opens one page on several phones, tablets and desktops at once and says where it scrolls sideways, what runs past the screen, text that is too small and tap targets that are too small, with a screenshot of each device.</p>
|
|
6325
|
+
<div class="facts">
|
|
6326
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Does the checkout page work on phones?</li><li>Which devices make the home page scroll sideways?</li></ul></div>
|
|
6327
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a page's address, or a web app in env.yaml</span></li></ul></div>
|
|
6328
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>responsive_check</code></p></div>
|
|
6329
|
+
</div>
|
|
6330
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
6331
|
+
<section class="doc" id="doc-how_to_use-responsive-preview">
|
|
6332
|
+
<h4>Responsive preview</h4>
|
|
6333
|
+
<div class="prose"><p>The <strong>Responsive</strong> page (Specialised testing) opens one page on up to twelve phones, tablets and desktops at once, in ForgeQE's own headless browser on this computer. Each device is emulated in full (its CSS size, pixel ratio, touch, mobile viewport and user agent), in a browser context of its own, so a site that reads the user agent or <code>pointer: coarse</code> lays out as it would there; every device is drawn by Chromium, so a Safari-only difference does not show. The address starts as the active environment's web app.</p>
|
|
6334
|
+
<ul>
|
|
6335
|
+
<li><strong>Use one device:</strong> click, scroll and type on its pane; Show larger opens it bigger.</li>
|
|
6336
|
+
<li><strong>Synced control:</strong> one instruction ("Open the pricing page", "Search for red shoes") done on every device. ForgeQE reads each layout's screen first and plans for each (a phone's menu is often behind a button a desktop does not have), then says per device how many steps ran and why one stopped. Without a model, only plain commands work (click …, scroll down, go back, press Enter). It never runs on a site of an environment named like production.</li>
|
|
6337
|
+
<li><code>responsive_check</code> (or "does the checkout work on phones?") opens a page on several devices, says where it scrolls sideways and which elements run past the screen, text under 12px and tap targets under 24px, and saves a screenshot of each device in <code>responsive-<time>/</code> in the reports folder. It clicks and types nothing.</li>
|
|
6338
|
+
</ul>
|
|
6339
|
+
</div>
|
|
6340
|
+
</section>
|
|
6341
|
+
</div>
|
|
6342
|
+
</article>
|
|
6322
6343
|
</section>
|
|
6323
6344
|
<section class="chapter" id="area-release" aria-labelledby="area-release-h">
|
|
6324
6345
|
<header class="chead"><svg class="pix pix--chapter ph" aria-hidden="true" focusable="false"><use href="#ph-speed"/></svg><span class="mono">15</span><h2 id="area-release-h">Release</h2><p>Requirement coverage and a release verdict</p></header>
|