@capagents/forgeqe 2.6.1 → 2.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +311 -15
- package/README.md +5 -25
- package/THIRD_PARTY_NOTICES.md +9 -0
- package/bin/activate-web.d.ts +16 -0
- package/bin/activate-web.js +117 -0
- package/bin/bundle.d.ts +27 -0
- package/bin/bundle.js +173 -0
- package/bin/forgeqe.js +109 -2
- package/bin/license.d.ts +25 -0
- package/bin/license.js +178 -0
- package/dist/docs-site/docs/architecture/index.html +2 -1
- package/dist/docs-site/docs/index.html +291 -11
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/web-app/index.html +35 -6
- package/dist/forgeqe.js +1513 -1291
- package/dist/template.html +64 -64
- package/dist/web/assets/Agent-yd1DyMzR.js +4 -0
- package/dist/web/assets/ApiTests-BwOGta9J.js +10 -0
- package/dist/web/assets/Chat-P8GH_6gl.js +3 -0
- package/dist/web/assets/Data-D2iCqk3t.js +3 -0
- package/dist/web/assets/Features-Bu38clxs.js +1 -0
- package/dist/web/assets/Jobs-DymuaGeN.js +5 -0
- package/dist/web/assets/KindPage-zl6TBkEl.js +6 -0
- package/dist/web/assets/Migration-Cg_FUqS_.js +2 -0
- package/dist/web/assets/Quality-D3bSHP_B.js +1 -0
- package/dist/web/assets/Record-DkCLJos6.js +2 -0
- package/dist/web/assets/Regression-B2qMKjAE.js +5 -0
- package/dist/web/assets/Reports-D_G9yfDa.js +2 -0
- package/dist/web/assets/Response-BnPAefP-.js +4 -0
- package/dist/web/assets/Runs-DsDj9-LT.js +2 -0
- package/dist/web/assets/Shell-DlZHZN0d.js +3 -0
- package/dist/web/assets/TestData-qI1R5Q9v.js +2 -0
- package/dist/web/assets/WhatsNew-CoCHqSDm.js +1 -0
- package/dist/web/assets/accessibility-CH8EpEAV.svg +1 -0
- package/dist/web/assets/{arrow-down-BqARSDDZ.js → arrow-down-BWCXlJU0.js} +1 -1
- package/dist/web/assets/arrow-right-CdxkQBV7.js +1 -0
- package/dist/web/assets/{bot-BtKTIZEs.js → bot-D8486kSA.js} +1 -1
- package/dist/web/assets/capgemini-mark-D6aZFnD3.png +0 -0
- package/dist/web/assets/chevron-up-CQz_ZmIK.js +1 -0
- package/dist/web/assets/circle-BqXBUsQS.js +1 -0
- package/dist/web/assets/{circle-dashed-DwIAhHPq.js → circle-dashed-DlOiCbWD.js} +1 -1
- package/dist/web/assets/dataParts-bwNleJYd.js +3 -0
- package/dist/web/assets/forgeqe-logo-D3CwM2Jl.png +0 -0
- package/dist/web/assets/forgeqe-logo-white-CoE-hF2l.png +0 -0
- package/dist/web/assets/forgeqe-mark-ZLd4S3hw.png +0 -0
- package/dist/web/assets/index-Bh4NBbEU.js +37 -0
- package/dist/web/assets/index-DkgUrjyL.css +2 -0
- package/dist/web/assets/keyboard-wpCM6HMa.js +1 -0
- package/dist/web/assets/qualityParts-iy-mouSI.js +1 -0
- package/dist/web/assets/{thread-iCgQPYwX.js → thread-BfW2V-2U.js} +1 -1
- package/dist/web/assets/upload-CwExsxOd.js +1 -0
- package/dist/web/assets/usePageChat-CzWbP_sa.js +1 -0
- package/dist/web/index.html +3 -3
- package/docs/ARCHITECTURE.md +2 -1
- package/docs/CUSTOM_AGENTS_FIRST_RUN.md +107 -0
- package/docs/WEB_APP.md +36 -6
- package/docs/security-data-flow.html +3 -3
- package/docs/user-guide.html +291 -11
- package/docs/walkthrough/hotfix-narration.md +443 -297
- package/forgeqe.example.yaml +13 -2
- package/package.json +6 -3
- package/prompts/README.md +1 -0
- package/prompts/agent-builder.md +69 -0
- package/prompts/api-tests.md +1 -1
- package/prompts/brain.md +22 -2
- package/prompts/browser-persona.md +14 -0
- package/prompts/db-agent.md +73 -0
- package/prompts/heal.md +1 -1
- package/prompts/migrate.md +54 -0
- package/prompts/test-agent.md +1 -0
- package/py/forgeqe_engine/cli.py +9 -1
- package/py/forgeqe_engine/copilot_gateway.py +162 -9
- package/py/forgeqe_engine/persona.py +435 -0
- package/py/forgeqe_engine/proceed.py +67 -0
- package/py/forgeqe_engine/service.py +93 -11
- package/skills/test-data/SKILL.md +4 -0
- package/dist/web/assets/Agent-jYaYLJO8.js +0 -1
- package/dist/web/assets/ApiTests-BYQ0VYx3.js +0 -10
- package/dist/web/assets/Chat-DOcK3ngF.js +0 -3
- package/dist/web/assets/Data-KFQ0-EbI.js +0 -4
- package/dist/web/assets/Features-9rw1s5Vs.js +0 -1
- package/dist/web/assets/Jobs-MRHq6isA.js +0 -5
- package/dist/web/assets/Quality-CGrki-iI.js +0 -1
- package/dist/web/assets/Record-Bamcsz1Y.js +0 -2
- package/dist/web/assets/Regression-D0yEt-3X.js +0 -5
- package/dist/web/assets/Reports-BwvQNDFa.js +0 -2
- package/dist/web/assets/Response-XIaBzLD_.js +0 -4
- package/dist/web/assets/Runs-DtgNqxHd.js +0 -2
- package/dist/web/assets/Shell-E3JKoPtx.js +0 -3
- package/dist/web/assets/accessibility-BSaq_4Me.svg +0 -1
- package/dist/web/assets/capgemini-BO8ajcbd.svg +0 -21
- package/dist/web/assets/capgemini-white-ByjwPW8N.svg +0 -21
- package/dist/web/assets/circle-C_9D6W14.js +0 -1
- package/dist/web/assets/index-CVa5dAjG.js +0 -26
- package/dist/web/assets/index-DF-gVa3Q.css +0 -2
- package/dist/web/assets/markdown-OsvJ-mly.js +0 -10
- package/dist/web/assets/trending-up-fRykocOw.js +0 -1
- package/dist/web/assets/usePageChat-B5pKShGC.js +0 -1
|
@@ -1,265 +1,387 @@
|
|
|
1
1
|
# Narration: one day to test a production fix
|
|
2
2
|
|
|
3
|
-
A 45-minute script for the walkthrough deck (`docs/walkthrough/index.html`)
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
A 45-minute script for the walkthrough deck (`docs/walkthrough/index.html`). It tells one story from the first slide
|
|
4
|
+
to the last: **a production bug, a fix that must go out today, and one working day to test it.** The people on the
|
|
5
|
+
team ask the questions; each slide answers one of them; and the ForgeQE agents from the deck's architecture slide do
|
|
6
|
+
the work.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
Each slide has:
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
- **Story**: where we are in the day and who is asking what,
|
|
11
|
+
- **Say**: your words, written for people who have never used an AI agent,
|
|
12
|
+
- **Hand-off**: the line that carries the room to the next slide.
|
|
13
|
+
|
|
14
|
+
The live acts also have **Type** and **Point at**. The setup in the Live demo slide's speaker notes still applies
|
|
15
|
+
(a dry run of Act 1 before the call, `demo-sites.txt` and `expected-failure.txt` copied from `samples/cases`, a
|
|
16
|
+
Playwright repo made with `npm init playwright@latest demo-app`).
|
|
11
17
|
|
|
12
18
|
---
|
|
13
19
|
|
|
14
20
|
## The cast
|
|
15
21
|
|
|
16
|
-
You are
|
|
22
|
+
**The people.** You tell their story. You *are* Sam, the tester at the keyboard, so the live demo is Sam's work.
|
|
17
23
|
|
|
18
24
|
| Who | Role | What they want today |
|
|
19
25
|
|---|---|---|
|
|
20
26
|
| **Priya** | QA lead | A plan that fits in one day, with two testers |
|
|
21
|
-
| **Lena** | Developer | The cause found fast, and proof the fix didn't break anything |
|
|
22
|
-
| **Oliver** | Release manager, not technical | A yes or no at 18:00 that will stand up to questions |
|
|
23
27
|
| **Sam** (you) | QA engineer | To test the fix properly without working until midnight |
|
|
28
|
+
| **Lena** | Developer | To find the cause fast and know the fix didn't break anything |
|
|
29
|
+
| **Oliver** | Release manager, not technical | A yes or no at 18:00 that will stand up to questions |
|
|
24
30
|
|
|
25
|
-
The
|
|
26
|
-
**reviewer** (Act 4), the **healer**, **PR reviewer** and **test finder** (mentioned in Act 5), **Defect RCA** and
|
|
27
|
-
the **explorer** (mentioned in Act 2), with **ForgeQE's agent** as the lead handing out every request.
|
|
31
|
+
**The agent team** (deck slide 2), and when each one works today:
|
|
28
32
|
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
| Agent | Its job | Its moment in the day |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| ForgeQE's agent (the orchestrator) | Turns a request into a plan and hands it out | Every request |
|
|
36
|
+
| Browser agent | Uses the website like a customer | Acts 1, 2, 5 |
|
|
37
|
+
| Explorer | Hunts for bugs beyond the written test cases | Slide 3, around the bug |
|
|
38
|
+
| Defect RCA | Works out why something broke | Slide 3, for Lena |
|
|
39
|
+
| Repo reader | Learns how our team writes tests | Act 4 |
|
|
40
|
+
| Scribe | Writes the automated test | Act 4 |
|
|
41
|
+
| Reviewer | Checks Scribe's test | Act 4 |
|
|
42
|
+
| PR reviewer, Test finder | Review the fix; pick the tests it can break | Slide 3 and Act 5 |
|
|
43
|
+
| Healer | Repairs a test the fix outgrew, or reports a real bug | Act 5 |
|
|
44
|
+
| API planner, API tests | Test what happens behind the screen | Slide 3 |
|
|
45
|
+
| Mobile, Desktop | The phone app and Windows apps | Slide 3 |
|
|
46
|
+
| Eval judge | Grades the agents' own answers | Slide 6 |
|
|
47
|
+
|
|
48
|
+
**The shop.** Sauce Demo plays our shop on screen, and it really has our bug: its `problem_user` account sees the
|
|
49
|
+
wrong product pictures, `standard_user` doesn't. So the bug in the story is a real one ForgeQE really finds.
|
|
31
50
|
|
|
32
51
|
## Timing
|
|
33
52
|
|
|
34
|
-
| Part | Slides | Minutes |
|
|
35
|
-
|
|
36
|
-
| The bug lands
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
|
40
|
-
|
|
|
41
|
-
| Questions | 11 |
|
|
42
|
-
|
|
43
|
-
| Act | Minutes | What the room sees |
|
|
44
|
-
|---|---|---|
|
|
45
|
-
| 1. Is the shop working? | 4 | One sentence becomes a browser run; the password disappears |
|
|
46
|
-
| 2. Reproduce the bug | 6 | Three browsers at once; the bug turns red with proof |
|
|
47
|
-
| 3. The evidence | 4 | The report: screenshots, accessibility, cost |
|
|
48
|
-
| 4. Lock it in | 6 | Three agents write, run and review a Playwright test |
|
|
49
|
-
| 5. The fix is in | 4 | The memory, and a replay that's faster and cheaper |
|
|
50
|
-
| 6. No real orders | 3 | A team rule stops the agent |
|
|
51
|
-
| 7. The pipeline | 2 | The same tests with an exit code |
|
|
53
|
+
| Part | Slides | Minutes | Time in the story |
|
|
54
|
+
|---|---|---|---|
|
|
55
|
+
| The bug lands; meet the team | 1–3 | 7 | 07:45–08:15 |
|
|
56
|
+
| The team's questions answered | 4–7 | 7 | 08:15–08:35 |
|
|
57
|
+
| Get going: setup and the plan | 8–9 | 3 | 08:35–08:55 |
|
|
58
|
+
| Live demo, Acts 1–5 | 10 | 19 | 09:00–14:00 |
|
|
59
|
+
| Acts 6–7 if time, then 18:00 | 10 | 4 | 16:00–18:00 |
|
|
60
|
+
| Questions | 11 | 5 | |
|
|
52
61
|
|
|
53
|
-
|
|
54
|
-
**Running short?** Use an extra from the prompt sheet: the explorer fits after Act 2, accessibility after Act 3.
|
|
62
|
+
Short on time: drop Act 6 and tell Act 7 in one sentence. Acts 1–5 carry the story.
|
|
55
63
|
|
|
56
64
|
---
|
|
57
65
|
|
|
58
|
-
##
|
|
59
|
-
|
|
60
|
-
Keep each slide to its time. The slides are the setup; the demo is the story.
|
|
66
|
+
## Slide 1. Title: "ForgeQE, from the ground up" (07:45)
|
|
61
67
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
**Story:** the bug lands.
|
|
68
|
+
**Story:** the call comes in.
|
|
65
69
|
|
|
66
70
|
**Say:**
|
|
67
71
|
|
|
68
|
-
> Let me introduce a team. Priya runs QA. Lena is a developer. Oliver is the release manager. And Sam, that's
|
|
69
|
-
> today, is the tester.
|
|
72
|
+
> Let me introduce you to a team. Priya runs QA. Lena is a developer. Oliver is the release manager. And Sam, that's
|
|
73
|
+
> me today, is the tester.
|
|
74
|
+
>
|
|
75
|
+
> It's quarter to eight on a Tuesday. Last night's release went out. Support calls Priya: some customers are seeing
|
|
76
|
+
> the wrong product pictures in the shop. They click what looks like a backpack, they get a T-shirt. Not everyone,
|
|
77
|
+
> just some customers. Orders are going wrong and returns are coming in.
|
|
70
78
|
>
|
|
71
|
-
>
|
|
72
|
-
>
|
|
79
|
+
> By eight, Lena has an idea where the problem is: "I'll have a fix by lunch." Oliver says: "Then it goes live
|
|
80
|
+
> tonight. I need a yes or no from QA by six."
|
|
73
81
|
>
|
|
74
|
-
>
|
|
82
|
+
> And Priya does the maths. Testing a fix properly means reproducing the bug, proving the fix, checking nothing else
|
|
83
|
+
> broke on every browser, and writing up whether it's safe. With two testers, that's days. Priya has ten hours.
|
|
75
84
|
>
|
|
76
|
-
>
|
|
77
|
-
> hours and two testers. So Priya calls in more team.
|
|
85
|
+
> So Priya does what any good lead does when the work is bigger than the team: calls in more team.
|
|
78
86
|
|
|
79
87
|
**Hand-off:**
|
|
80
88
|
|
|
81
|
-
>
|
|
89
|
+
> Let me show you who Priya calls.
|
|
90
|
+
|
|
91
|
+
---
|
|
82
92
|
|
|
83
|
-
|
|
93
|
+
## Slide 2. Reference architecture: "How ForgeQE works" (08:00)
|
|
84
94
|
|
|
85
|
-
**Story:** Priya meets the rest of the team
|
|
95
|
+
**Story:** Priya meets the rest of the team. It's ForgeQE.
|
|
86
96
|
|
|
87
97
|
**Say:**
|
|
88
98
|
|
|
89
|
-
>
|
|
90
|
-
>
|
|
99
|
+
> This is ForgeQE. Before the boxes and arrows, one idea.
|
|
100
|
+
>
|
|
101
|
+
> You've probably used a chatbot: you ask, it writes an answer. An **AI agent** goes a step further. It doesn't just
|
|
102
|
+
> answer, it **does the work**: it opens a browser, clicks through a website, reads a ticket, writes code and runs
|
|
103
|
+
> tests, with the same tools a person uses.
|
|
104
|
+
>
|
|
105
|
+
> ForgeQE isn't one agent. It's a **QA team**, and that's what this slide shows.
|
|
106
|
+
>
|
|
107
|
+
> In the middle is the **lead**, ForgeQE's agent. Sam asks for something in plain English; the lead turns it into a
|
|
108
|
+
> plan and hands the work out.
|
|
109
|
+
>
|
|
110
|
+
> Around it are **15 specialists**. Let me cast them in today's story:
|
|
91
111
|
>
|
|
92
|
-
>
|
|
93
|
-
>
|
|
94
|
-
>
|
|
95
|
-
> **
|
|
112
|
+
> - The **browser agent** will reproduce the bug, clicking through the shop exactly like a customer. The **mobile**
|
|
113
|
+
> and **desktop** agents do the same on phones and Windows apps.
|
|
114
|
+
> - The **explorer** will hunt around the bug for anything else that's broken.
|
|
115
|
+
> - **Defect RCA**, the detective, will help Lena work out *why* it broke.
|
|
116
|
+
> - The **repo reader**, **Scribe** and the **reviewer** will turn our checks into automated tests, written the way
|
|
117
|
+
> our team writes them.
|
|
118
|
+
> - The **PR reviewer** and the **test finder** will look at Lena's fix when it arrives and pick the tests it could
|
|
119
|
+
> break. The **healer** repairs any test the fix outgrows.
|
|
120
|
+
> - The **API planner** and **API tests** check what happens behind the screen, between the shop and its servers.
|
|
96
121
|
>
|
|
97
|
-
> And at the centre, **memory
|
|
98
|
-
> what it learned
|
|
122
|
+
> And at the centre, **project memory**. Think of it as the team's shared notebook. Every agent reads it before it
|
|
123
|
+
> starts and writes down what it learned when it's done: every page of the shop, every button, every flow. So the
|
|
124
|
+
> second time anyone does something, it's faster and cheaper. Keep the notebook in mind: it saves Sam's afternoon.
|
|
125
|
+
>
|
|
126
|
+
> Sixteen agents, four engines for browsers, Windows apps, phones and databases, and twenty systems it can read from.
|
|
127
|
+
> Priya just went from two testers to a department.
|
|
99
128
|
|
|
100
129
|
**Hand-off:**
|
|
101
130
|
|
|
102
|
-
> Oliver asks: "Fine. What can they get
|
|
131
|
+
> Oliver isn't impressed by headcount, and asks the release manager's question: "Fine. What can they actually get
|
|
132
|
+
> done today?"
|
|
133
|
+
|
|
134
|
+
---
|
|
103
135
|
|
|
104
|
-
|
|
136
|
+
## Slide 3. Features: "Every way to test, from one request" (08:10)
|
|
105
137
|
|
|
106
|
-
**Story:** Priya
|
|
138
|
+
**Story:** Priya walks Oliver through the day's checklist. Every corner of the slide is a job for today.
|
|
107
139
|
|
|
108
140
|
**Say:**
|
|
109
141
|
|
|
110
|
-
>
|
|
111
|
-
>
|
|
112
|
-
>
|
|
113
|
-
>
|
|
114
|
-
>
|
|
142
|
+
> Priya answers with this slide. Four things ForgeQE does best, and each one is a line on today's plan.
|
|
143
|
+
>
|
|
144
|
+
> **One: it learns the product first.** Before anyone clicks anything, it reads the story, the wiki, the code and
|
|
145
|
+
> the rules our team wrote down, and turns them into test cases. So when Sam says "check the product pictures", it
|
|
146
|
+
> already knows what correct looks like. And the **explorer** uses the same knowledge to go looking around the bug:
|
|
147
|
+
> other accounts, other pages, the back button, a refresh.
|
|
148
|
+
>
|
|
149
|
+
> **Two: one run checks everything.** When the browser agent tests a page, the same run also checks accessibility,
|
|
150
|
+
> can someone with a screen reader use it, how fast it loads, and whether the page *looks* different from the
|
|
151
|
+
> approved version. Today that last one matters a lot: our bug is literally "the pictures are wrong."
|
|
152
|
+
>
|
|
153
|
+
> **Three: it proves its own work.** When Lena's fix arrives as a code change, the PR reviewer and the test finder
|
|
154
|
+
> work out which tests that change can actually break. On the slide, 6 out of 214. So we don't spend a day running
|
|
155
|
+
> everything; we run what matters in minutes. And nothing counts as passed unless it passed in a real run.
|
|
156
|
+
>
|
|
157
|
+
> **Four: it runs on GitHub Copilot.** If you have a Copilot seat, you already have what it needs. No new AI
|
|
158
|
+
> account, no key to request on a day like today.
|
|
159
|
+
>
|
|
160
|
+
> And around them, the rest of the day's checklist: **Defect RCA** for Lena's "why", **self-healing** when the fix
|
|
161
|
+
> renames a button, **memory replay** for retesting, **flaky tests** spotted for what they are, **regression
|
|
162
|
+
> packs**, **monitoring** after release, and a **release verdict** for Oliver at six.
|
|
115
163
|
|
|
116
164
|
**Hand-off:**
|
|
117
165
|
|
|
118
|
-
> Lena
|
|
166
|
+
> Lena has been listening, and is worried about something else: "Please tell me I don't have to learn a new tool
|
|
167
|
+
> today."
|
|
119
168
|
|
|
120
|
-
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## Slide 4. Integrations: "Plugs into the stack you already run" (08:15)
|
|
172
|
+
|
|
173
|
+
**Story:** Lena and Priya check it works with their tools.
|
|
121
174
|
|
|
122
175
|
**Say:**
|
|
123
176
|
|
|
124
|
-
> No
|
|
125
|
-
>
|
|
177
|
+
> No new tool. Every logo here is something a team already uses.
|
|
178
|
+
>
|
|
179
|
+
> The bug ticket stays in **Azure DevOps** or **Jira**, and so do our test cases, or in Xray, TestRail, Zephyr,
|
|
180
|
+
> qTest. The results go back there automatically. Our tests stay in **Playwright**, in **our** repository. Our
|
|
181
|
+
> pipelines stay in **GitHub Actions** or **Azure Pipelines**. It drives **Chrome** on Sam's laptop, or browser and
|
|
182
|
+
> device clouds like BrowserStack and TestMu AI, phones through **Appium** and **Maestro**, and fake versions of
|
|
183
|
+
> other systems in **Docker** with **WireMock** when a partner's test environment is down. Alerts go to **Teams** or
|
|
184
|
+
> email.
|
|
185
|
+
>
|
|
186
|
+
> And for Lena specifically: if Lena writes code with **Claude Code, Cursor or Codex**, those assistants can call
|
|
187
|
+
> ForgeQE directly. Lena can ask it to test the fix without leaving the editor.
|
|
188
|
+
>
|
|
189
|
+
> So today nobody moves into a new tool. ForgeQE comes to where the team already works.
|
|
126
190
|
|
|
127
191
|
**Hand-off:**
|
|
128
192
|
|
|
129
|
-
> Oliver
|
|
193
|
+
> Oliver isn't technical, and wants to understand one thing before trusting it: "What actually happens
|
|
194
|
+
> when Sam asks it something?"
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## Slide 5. How it works: "From one command to a passing test" (08:20)
|
|
130
199
|
|
|
131
|
-
|
|
200
|
+
**Story:** we follow Sam's first request of the day through the system.
|
|
132
201
|
|
|
133
202
|
**Say:**
|
|
134
203
|
|
|
135
|
-
>
|
|
136
|
-
>
|
|
137
|
-
>
|
|
138
|
-
>
|
|
204
|
+
> Let's follow Sam's first request: "Check customers can sign in and see the products." Follow the dots from left
|
|
205
|
+
> to right.
|
|
206
|
+
>
|
|
207
|
+
> Sam can ask three ways: in a chat-style shell, as a single command, or a pipeline asks automatically. Today Sam
|
|
208
|
+
> uses the shell.
|
|
209
|
+
>
|
|
210
|
+
> The request reaches ForgeQE on Sam's own laptop. The lead agent plans it and hands it to the **browser agent**,
|
|
211
|
+
> which starts the browser engine. That opens Chrome and uses the shop just like a customer, and reports every step
|
|
212
|
+
> back as it goes.
|
|
213
|
+
>
|
|
214
|
+
> Everything the run did lands in a folder on disk: screenshots, results, a report. And when a run passes, **Scribe**
|
|
215
|
+
> can turn it into an automated test in our repository.
|
|
216
|
+
>
|
|
217
|
+
> Three things on the bottom of the slide, for Oliver: **no server and no database**, it runs on Sam's laptop. Its
|
|
218
|
+
> tools **only listen on that laptop**, behind a random key. And **only two agents can change files in our repo**,
|
|
219
|
+
> Scribe and the healer. Every other agent only reads.
|
|
139
220
|
|
|
140
221
|
**Hand-off:**
|
|
141
222
|
|
|
142
|
-
> Oliver
|
|
223
|
+
> Oliver nods, then asks the question that matters most to a release manager: "At six o'clock, how do I know a pass
|
|
224
|
+
> is a real pass, and not the AI being optimistic?"
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Slide 6. Key ideas: "Why you can trust every run" (08:25)
|
|
143
229
|
|
|
144
|
-
|
|
230
|
+
**Story:** Priya answers Oliver. Each box is a reason Oliver can sign off tonight.
|
|
145
231
|
|
|
146
232
|
**Say:**
|
|
147
233
|
|
|
148
|
-
> Six reasons, and
|
|
149
|
-
>
|
|
150
|
-
>
|
|
151
|
-
>
|
|
152
|
-
>
|
|
234
|
+
> Six reasons, and Oliver can check every one.
|
|
235
|
+
>
|
|
236
|
+
> **Recorded checks.** Look at the little table. For every step, ForgeQE writes down what was *expected* and the
|
|
237
|
+
> *exact text it found* on the page, with a screenshot. A pass is evidence Oliver can read directly, not the AI's
|
|
238
|
+
> opinion. And the **eval judge** grades the agents' own answers, so the team knows the agents themselves are doing a
|
|
239
|
+
> good job.
|
|
240
|
+
>
|
|
241
|
+
> **Page memory.** That's the team notebook. Every button, with several ways to find it and a confidence score. If
|
|
242
|
+
> Lena's fix renames a button, the test finds it another way instead of failing for no reason. And a check that
|
|
243
|
+
> passed before can replay **without calling the AI at all**.
|
|
244
|
+
>
|
|
245
|
+
> **Guardrails.** The team's rules, in plain English: "never open a production URL", "only use the test cards". Every
|
|
246
|
+
> agent follows them, whatever a ticket or a web page says. Priya will add one this afternoon.
|
|
247
|
+
>
|
|
248
|
+
> **Skills.** Playbooks that teach the agents how *our* team writes tests and how *our* apps work. Written once.
|
|
249
|
+
>
|
|
250
|
+
> **Environments.** The same tests on dev, QA or UAT, by switching a name. Today: test the fix on QA, then the same
|
|
251
|
+
> tests on UAT.
|
|
252
|
+
>
|
|
253
|
+
> **Hidden logins.** The AI never sees a password. It sees a placeholder; the real one goes straight into the
|
|
254
|
+
> browser.
|
|
255
|
+
>
|
|
256
|
+
> And honestly, what it doesn't do: load testing and penetration testing.
|
|
153
257
|
|
|
154
258
|
**Hand-off:**
|
|
155
259
|
|
|
156
|
-
> Lena
|
|
260
|
+
> Lena has a sharper worry: "These agents read our tickets and web pages. What if someone hides an instruction in a
|
|
261
|
+
> ticket, 'push this to main'? What stops it?"
|
|
157
262
|
|
|
158
|
-
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## Slide 7. Safety: "Refused in code, not left to the prompt" (08:30)
|
|
266
|
+
|
|
267
|
+
**Story:** Lena's question, answered.
|
|
159
268
|
|
|
160
269
|
**Say:**
|
|
161
270
|
|
|
162
|
-
>
|
|
163
|
-
>
|
|
164
|
-
>
|
|
271
|
+
> Lena's right to ask. Agents read text other people wrote, and someone could hide an instruction in it. So the
|
|
272
|
+
> important limits aren't requests to the AI to behave. They're **built into ForgeQE**, so the AI simply can't do
|
|
273
|
+
> them, however it's asked:
|
|
274
|
+
>
|
|
275
|
+
> - It can't run any command it likes: anything outside a strict allowed list is shown to Sam first.
|
|
276
|
+
> - It can't push to main, and never overwrites history.
|
|
277
|
+
> - No passwords in the AI, ever.
|
|
278
|
+
> - It can't change data through an API, only read.
|
|
279
|
+
> - It won't attach hidden files or credential files to a ticket.
|
|
280
|
+
> - Reports never contain raw code from the AI or a tracker.
|
|
281
|
+
>
|
|
282
|
+
> And that matters most on a day like today. At five o'clock, under pressure, people cut corners. ForgeQE can't.
|
|
165
283
|
|
|
166
284
|
**Hand-off:**
|
|
167
285
|
|
|
168
|
-
> Priya
|
|
286
|
+
> Priya's convinced. "Let's start." One problem: Sam doesn't even have it installed yet.
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
## Slide 8. Setup: "Running in three steps" (08:35)
|
|
169
291
|
|
|
170
|
-
|
|
292
|
+
**Story:** Sam installs it while Priya writes the plan.
|
|
171
293
|
|
|
172
294
|
**Say:**
|
|
173
295
|
|
|
174
|
-
>
|
|
175
|
-
>
|
|
296
|
+
> Sam needs about three minutes. One: install one package. Two: connect a model, Sam signs in with the team's
|
|
297
|
+
> Copilot seat. Three: `forgeqe init` and `forgeqe start`. The first run downloads everything else by itself.
|
|
298
|
+
>
|
|
299
|
+
> No admin rights, no server, no database. On a hotfix day, nobody raises an IT ticket and waits.
|
|
300
|
+
>
|
|
301
|
+
> And `forgeqe init` creates a folder with the team's prompts, skills, knowledge and guardrails. That's how Priya's
|
|
302
|
+
> team shapes the agents, and they commit it so everyone's agents behave the same way.
|
|
176
303
|
|
|
177
304
|
**Hand-off:**
|
|
178
305
|
|
|
179
|
-
> Priya
|
|
306
|
+
> While Sam installs, Priya puts the plan for the day on the whiteboard.
|
|
307
|
+
|
|
308
|
+
---
|
|
180
309
|
|
|
181
|
-
|
|
310
|
+
## Slide 9. Demo agenda: "What you'll see today" (08:45)
|
|
182
311
|
|
|
183
|
-
**Story:** Priya's
|
|
312
|
+
**Story:** Priya's whiteboard. Each act has a person who asks and an agent who does it.
|
|
184
313
|
|
|
185
314
|
**Say:**
|
|
186
315
|
|
|
187
|
-
>
|
|
316
|
+
> This is Priya's plan. Seven steps, each one building on the last, each one a person asking and an agent doing.
|
|
188
317
|
>
|
|
189
|
-
> - **09:00, Act 1.** Oliver asks: "Is the shop even working?"
|
|
190
|
-
> - **09:30, Act 2.** Priya: "Can we reproduce
|
|
191
|
-
> - **10:00, Act 3.** Lena: "Show me exactly what the customer sees."
|
|
192
|
-
> - **11:00, Act 4.** Priya: "
|
|
193
|
-
> - **14:00, Act 5.** Lena: "The fix is in."
|
|
194
|
-
> - **16:00, Act 6.** Priya
|
|
195
|
-
> - **17:30, Act 7.** Oliver
|
|
318
|
+
> - **09:00, Act 1.** Oliver asks: "Is the shop even working?" Sam asks the browser agent, in one sentence.
|
|
319
|
+
> - **09:30, Act 2.** Priya asks: "Can we reproduce it?" Sam runs our test cases on three browsers at once.
|
|
320
|
+
> - **10:00, Act 3.** Lena asks: "Show me exactly what the customer sees." One report.
|
|
321
|
+
> - **11:00, Act 4.** Priya says: "Make sure this can never come back unnoticed." Scribe writes the automated test.
|
|
322
|
+
> - **14:00, Act 5.** Lena says: "The fix is in." Sam retests from the team notebook, the memory.
|
|
323
|
+
> - **16:00, Act 6, if we have time.** Priya adds a team rule before testing near real payments.
|
|
324
|
+
> - **17:30, Act 7, if we have time.** Oliver's release pipeline runs the same tests by itself.
|
|
196
325
|
>
|
|
197
|
-
> Sauce Demo plays our shop, and it really has our bug.
|
|
326
|
+
> On screen, Sauce Demo plays our shop, and it really has our bug. Everything runs on public practice sites, so
|
|
327
|
+
> nothing here touches a real system.
|
|
198
328
|
|
|
199
329
|
**Hand-off:**
|
|
200
330
|
|
|
201
|
-
> It's nine o'clock. Let's go.
|
|
331
|
+
> Sam's install has finished. It's nine o'clock. Let's go.
|
|
202
332
|
|
|
203
333
|
---
|
|
204
334
|
|
|
205
|
-
##
|
|
335
|
+
## Slide 10. Live demo: "Let's see it run" (09:00–18:00)
|
|
206
336
|
|
|
207
|
-
|
|
337
|
+
Leave the slide up and switch to the terminal. Before each act, say the time and who is asking.
|
|
208
338
|
|
|
209
|
-
|
|
210
|
-
5–7 get explained, on screen.
|
|
339
|
+
### Act 1. 09:00 Oliver: "Is the shop even working?"
|
|
211
340
|
|
|
212
|
-
|
|
341
|
+
**Story:** before anything else, Oliver needs to know how bad it is.
|
|
213
342
|
|
|
214
|
-
**
|
|
343
|
+
**Say:**
|
|
215
344
|
|
|
216
|
-
|
|
345
|
+
> Nine o'clock. Oliver's first question: is the shop down, or is it something smaller? Normally Sam opens a browser
|
|
346
|
+
> and clicks around. Today Sam asks the team, in one sentence.
|
|
217
347
|
|
|
218
|
-
|
|
219
|
-
forgeqe start --repo ../demo-app
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
> /headed on
|
|
348
|
+
**Type** (after `forgeqe start --repo ../demo-app` and `/headed on`):
|
|
223
349
|
|
|
224
350
|
> Sign in to saucedemo.com as standard_user with password secret_sauce and check that 6 products are listed
|
|
225
351
|
|
|
226
352
|
**While it runs, say:**
|
|
227
353
|
|
|
228
|
-
> I didn't write a script or say which buttons to press. I said what a customer does and what should
|
|
229
|
-
>
|
|
230
|
-
>
|
|
231
|
-
>
|
|
232
|
-
> After each step it checks: did what should happen actually happen?
|
|
354
|
+
> I didn't write a script, pick a mode or say which buttons to press. I said what a customer does and what should
|
|
355
|
+
> happen. The lead agent passed it to the **browser agent**, and that's it working, on the right: find the username,
|
|
356
|
+
> type, find the password, sign in, count the products. After each step it checks that what should happen did.
|
|
233
357
|
|
|
234
358
|
**Point at** the redacted password:
|
|
235
359
|
|
|
236
|
-
> And
|
|
237
|
-
> the AI never saw "secret_sauce". The browser typed it; the AI only knows there is a login called that.
|
|
360
|
+
> And the password has been turned into a saved login and hidden. The AI never saw it. That's slide 6, live.
|
|
238
361
|
|
|
239
362
|
**When it finishes, say:**
|
|
240
363
|
|
|
241
|
-
> Six products.
|
|
242
|
-
>
|
|
243
|
-
>
|
|
244
|
-
> And for Oliver: the shop isn't down. A normal customer can sign in and shop. So the bug is narrower, just like
|
|
245
|
-
> support said: *some* customers.
|
|
364
|
+
> Six products. A normal customer can sign in and shop. So the shop isn't down. It's something narrower, which
|
|
365
|
+
> matches what support said: *some* customers. Oliver can breathe a little.
|
|
246
366
|
|
|
247
367
|
**Hand-off:**
|
|
248
368
|
|
|
249
|
-
>
|
|
250
|
-
> ourselves?"
|
|
369
|
+
> And the browser agent wrote the shop's pages into the notebook as it went. Priya's next question: "Can we see the
|
|
370
|
+
> bug ourselves?"
|
|
251
371
|
|
|
252
372
|
*If it stalls: Esc or `/stop`, then `/details on`.*
|
|
253
373
|
|
|
254
|
-
|
|
374
|
+
---
|
|
375
|
+
|
|
376
|
+
### Act 2. 09:30 Priya: "Can we reproduce it?"
|
|
255
377
|
|
|
256
|
-
**Story:** Priya wants proof on more than one browser before anyone touches the code.
|
|
378
|
+
**Story:** Priya wants proof, on more than one browser, before anyone touches the code.
|
|
257
379
|
|
|
258
|
-
**Say
|
|
380
|
+
**Say:**
|
|
259
381
|
|
|
260
|
-
>
|
|
261
|
-
>
|
|
262
|
-
>
|
|
382
|
+
> We already have test cases for the shop, written in plain English like any tester writes them. *(Optionally show
|
|
383
|
+
> `demo-sites.txt` for a few seconds.)* One of them checks that a different kind of customer sees the right product
|
|
384
|
+
> pictures. Sam runs them all, on three browsers at once.
|
|
263
385
|
|
|
264
386
|
**Type:**
|
|
265
387
|
|
|
@@ -267,44 +389,37 @@ forgeqe start --repo ../demo-app
|
|
|
267
389
|
|
|
268
390
|
**While it runs, say:**
|
|
269
391
|
|
|
270
|
-
> Three browsers at once: three testers working in parallel. Every case gets a verdict, and so does
|
|
271
|
-
> inside it: passed, failed or not run, with what the page actually showed.
|
|
272
|
-
>
|
|
273
|
-
> Some of these cases start with a sign-in Act 1 already did, so those steps come straight from the notebook.
|
|
274
|
-
>
|
|
275
|
-
> On a real project, a failed case can file a bug in Jira or Azure DevOps with the steps and the screenshot. And if
|
|
276
|
-
> it fails again tomorrow, it adds "still failing" to the same bug, not a duplicate.
|
|
277
|
-
|
|
278
|
-
**When results come in, point at the problem_user case and say:**
|
|
279
|
-
|
|
280
|
-
> **Bug reproduced.** Sign in as this customer and the pictures don't match the product names. Same shop, same
|
|
281
|
-
> products: the normal customer passes, this one fails. That's support's "only some customers", now with proof.
|
|
392
|
+
> Three browsers at once: think of it as three testers working in parallel. Every case gets a verdict, and so does
|
|
393
|
+
> every step inside it: passed, failed or not run, with what the page actually showed.
|
|
282
394
|
|
|
283
|
-
**
|
|
395
|
+
**When results come in, say:**
|
|
284
396
|
|
|
285
|
-
>
|
|
286
|
-
>
|
|
287
|
-
>
|
|
288
|
-
> hour and moving on.
|
|
397
|
+
> There it is. *(Point at the problem_user case.)* **Bug reproduced.** Sign in as this customer and the pictures
|
|
398
|
+
> don't match the product names. Same shop, same products: the normal customer passes, this one fails. That's
|
|
399
|
+
> support's "only some customers", and now Priya has proof.
|
|
289
400
|
>
|
|
290
|
-
>
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
>
|
|
295
|
-
|
|
296
|
-
|
|
401
|
+
> There's a second red one. *(Point at Books to Scrape.)* The test case says the price should be £10.00; the page
|
|
402
|
+
> shows £51.77. ForgeQE doesn't decide who's wrong. It shows exactly what it expected and what it found. Here the
|
|
403
|
+
> *test case* is wrong, the book really is £51.77, and Sam sees that in two seconds. On a hotfix day, that's the
|
|
404
|
+
> difference between chasing a ghost for an hour and moving on.
|
|
405
|
+
>
|
|
406
|
+
> Everything else passed: sign-in, checkout, sorting, the error messages. So the bug is narrow. Priya has a better
|
|
407
|
+
> picture at half past nine than most teams have at lunch.
|
|
297
408
|
|
|
298
|
-
|
|
299
|
-
|
|
409
|
+
**Point out:** these cases could come straight from Azure DevOps, Jira, Xray or TestRail, with results posted back
|
|
410
|
+
there. With bug filing on, each failure becomes a bug with steps and a screenshot, and a repeat failure adds "still
|
|
411
|
+
failing" to the same bug instead of a duplicate. From here, **Defect RCA** can give Lena its best guess at the
|
|
412
|
+
cause, with how confident it is.
|
|
300
413
|
|
|
301
414
|
**Hand-off:**
|
|
302
415
|
|
|
303
|
-
> Lena walks over: "
|
|
416
|
+
> Lena walks over: "Great, it's broken. Now show me *exactly* what the customer sees."
|
|
304
417
|
|
|
305
418
|
*Skip a site that is down.*
|
|
306
419
|
|
|
307
|
-
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
### Act 3. 10:00 Lena: "Show me exactly what the customer sees."
|
|
308
423
|
|
|
309
424
|
**Story:** Lena needs evidence to fix it; Oliver needs a summary. One file does both.
|
|
310
425
|
|
|
@@ -312,74 +427,77 @@ forgeqe start --repo ../demo-app
|
|
|
312
427
|
|
|
313
428
|
**Say, walking through it:**
|
|
314
429
|
|
|
315
|
-
> **The overview**, for Oliver: passed, failed, how long it took.
|
|
430
|
+
> **The overview**, for Oliver: how many passed, how many failed, how long it took.
|
|
316
431
|
>
|
|
317
432
|
> **The failing case**, for Lena: *(open the problem_user case)* every step, its screenshot, what was expected and
|
|
318
433
|
> what was found. Lena sees the bug without having to reproduce it. This goes straight onto the bug ticket.
|
|
319
434
|
>
|
|
320
|
-
> **Accessibility
|
|
321
|
-
>
|
|
435
|
+
> **Accessibility**, for free: every page was also checked against accessibility standards. Nobody asked; it comes
|
|
436
|
+
> with every run. If the fix breaks the shop for keyboard users, it shows up here.
|
|
322
437
|
>
|
|
323
438
|
> **Cost**: *(the Tokenomics section)* exactly what this run cost in AI usage. Priya won't get a surprise bill.
|
|
324
439
|
>
|
|
325
|
-
>
|
|
440
|
+
> It's one HTML file with the screenshots inside. Attach it, email it, open it from disk. No login, no server.
|
|
326
441
|
|
|
327
|
-
**
|
|
442
|
+
**Hand-off:**
|
|
328
443
|
|
|
329
|
-
>
|
|
444
|
+
> Lena goes off to fix it. And Priya says the thing every QA lead says after a production bug: "This must never come
|
|
445
|
+
> back without us noticing."
|
|
330
446
|
|
|
331
|
-
|
|
447
|
+
---
|
|
332
448
|
|
|
333
|
-
|
|
334
|
-
> without us noticing."
|
|
449
|
+
### Act 4. 11:00 Priya: "This must never come back unnoticed."
|
|
335
450
|
|
|
336
|
-
|
|
451
|
+
**Story:** turn a check into an automated test in the team's own repo. Usually that's an automation engineer's
|
|
452
|
+
afternoon. Today it's three agents working as a relay.
|
|
337
453
|
|
|
338
|
-
**
|
|
339
|
-
|
|
454
|
+
**Say:**
|
|
455
|
+
|
|
456
|
+
> The answer is an **automated test** in our repository, one that runs on every release from now on. Watch the
|
|
457
|
+
> relay between three agents.
|
|
340
458
|
|
|
341
459
|
**Type:**
|
|
342
460
|
|
|
343
461
|
> Write a Playwright test for the Sauce Demo sign-in run
|
|
344
462
|
|
|
345
|
-
(For the bug's own test, rehearsed first: *Write a Playwright test for the problem_user product images case. It
|
|
346
|
-
should fail until the images are fixed.*)
|
|
347
|
-
|
|
348
463
|
**While it runs, say:**
|
|
349
464
|
|
|
350
|
-
>
|
|
351
|
-
>
|
|
352
|
-
> how *our* team writes tests.
|
|
465
|
+
> First the **repo reader** studies our repository: how this team writes tests, its helpers, its style. Like a new
|
|
466
|
+
> team member reading the codebase before writing a line.
|
|
353
467
|
>
|
|
354
|
-
> Then **Scribe** writes the test, using the buttons
|
|
355
|
-
> Act 1.
|
|
468
|
+
> Then **Scribe** writes the test, using the buttons it finds in the notebook, the page memory, and the checks the
|
|
469
|
+
> browser agent recorded in Act 1.
|
|
356
470
|
>
|
|
357
471
|
> Then ForgeQE **runs the test until it passes**, and the **reviewer** checks it. Priya doesn't get a test that
|
|
358
472
|
> "should work". Priya gets one that did.
|
|
359
|
-
>
|
|
360
|
-
> Scribe is one of only two agents allowed to change our repo, and everything it changes shows up for us to see.
|
|
361
473
|
|
|
362
474
|
**Open the spec, saying:**
|
|
363
475
|
|
|
364
|
-
> Ordinary Playwright code, in our repository. It runs without ForgeQE:
|
|
365
|
-
> still works. And it reads the shop's address from the environment, so it runs on QA today and UAT
|
|
366
|
-
>
|
|
476
|
+
> Ordinary Playwright code, in our repository. It runs without ForgeQE: if we stopped using ForgeQE tomorrow, the
|
|
477
|
+
> test stays and still works. And it reads the shop's address from the environment, so it runs on QA today and UAT
|
|
478
|
+
> tomorrow.
|
|
367
479
|
>
|
|
368
|
-
> For the bug, the same
|
|
369
|
-
> moment Lena's fix works. That's how
|
|
480
|
+
> For the bug, Sam does exactly the same with the problem-pictures case. That test fails today, and turns green the
|
|
481
|
+
> moment Lena's fix works. That's how the team will *know* the fix works, not hope.
|
|
370
482
|
|
|
371
483
|
*Backup: `samples/reports/single-run-login/forgeqe.spec.ts`.*
|
|
372
484
|
|
|
373
485
|
**Hand-off:**
|
|
374
486
|
|
|
375
|
-
> Lunch.
|
|
487
|
+
> Lunch. And at two o'clock, a message from Lena: "Fix is deployed to QA."
|
|
376
488
|
|
|
377
|
-
|
|
489
|
+
---
|
|
490
|
+
|
|
491
|
+
### Act 5. 14:00 Lena: "The fix is in."
|
|
378
492
|
|
|
379
|
-
**Story:** Sam retests, probably several times this afternoon
|
|
380
|
-
the notebook pays off.
|
|
493
|
+
**Story:** now Sam retests, probably several times this afternoon, every time Lena tweaks something. This is where
|
|
494
|
+
testing usually eats the day, and where the notebook pays off.
|
|
495
|
+
|
|
496
|
+
**Say:**
|
|
381
497
|
|
|
382
|
-
|
|
498
|
+
> Remember the notebook at the centre of the architecture slide? Let's open it.
|
|
499
|
+
|
|
500
|
+
**Type:**
|
|
383
501
|
|
|
384
502
|
```bash
|
|
385
503
|
forgeqe memory show saucedemo.com --locators
|
|
@@ -387,55 +505,46 @@ forgeqe memory show saucedemo.com --locators
|
|
|
387
505
|
|
|
388
506
|
**Say:**
|
|
389
507
|
|
|
390
|
-
>
|
|
391
|
-
>
|
|
392
|
-
>
|
|
393
|
-
>
|
|
508
|
+
> Every button and field the team has seen on this shop, every way to find each one, with a confidence score. The
|
|
509
|
+
> login button: by its test id, 98%; by its role; by its CSS; by its text. If Lena's fix renamed a button, the
|
|
510
|
+
> agents just use the next way, and if a test really did outgrow the app, the **healer** updates it, or reports a
|
|
511
|
+
> real bug and never weakens the test.
|
|
394
512
|
|
|
395
|
-
**
|
|
513
|
+
**Repeat Act 1**, then **compare the two summary cards**, saying:
|
|
396
514
|
|
|
397
|
-
>
|
|
398
|
-
|
|
399
|
-
**Compare the two summary cards, saying:**
|
|
400
|
-
|
|
401
|
-
> Same request as nine o'clock. Look at the two cards side by side. *(Read out the real time and cost from each.)*
|
|
402
|
-
> The second run replayed from the notebook and barely needed the AI: faster, and a fraction of the cost.
|
|
515
|
+
> Same request as nine o'clock. Look at the two cards side by side. *(Read out the time and cost from each.)* The
|
|
516
|
+
> second run replayed from the notebook and barely needed the AI. Faster, and a fraction of the cost.
|
|
403
517
|
>
|
|
404
|
-
>
|
|
405
|
-
|
|
406
|
-
**Follow-up (if time):**
|
|
407
|
-
|
|
408
|
-
> Compare the last two Sauce Demo sign-in runs: time, model calls and cost.
|
|
518
|
+
> That's what makes retesting all afternoon possible: the first run explores, every run after replays.
|
|
409
519
|
|
|
410
|
-
**
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
> **test finder** picks only the tests that change can break: slide 3's 6 out of 214.
|
|
520
|
+
**Point out:** in real life Lena's fix arrives as a pull request. The **PR reviewer** reviews it against the story,
|
|
521
|
+
the **test finder** picks only the tests the change can break (the 6 of 214 on slide 3), and a **regression pack**
|
|
522
|
+
picks the tests for the whole release from its stories.
|
|
414
523
|
|
|
415
524
|
**Hand-off:**
|
|
416
525
|
|
|
417
|
-
> The fix holds on QA. Priya wants one more check
|
|
418
|
-
> provider.
|
|
526
|
+
> The fix holds on QA. Priya wants one more check before signing off: the same tests on pre-production. But
|
|
527
|
+
> pre-production is wired to a real payment provider.
|
|
528
|
+
|
|
529
|
+
---
|
|
419
530
|
|
|
420
|
-
### Act 6. 16:00 Priya: "Nobody places a real order."
|
|
531
|
+
### Act 6 (if time). 16:00 Priya: "Nobody places a real order."
|
|
421
532
|
|
|
422
533
|
**Story:** before testing near real payments, Priya adds a team rule.
|
|
423
534
|
|
|
424
535
|
**Say:**
|
|
425
536
|
|
|
426
|
-
>
|
|
537
|
+
> Pre-production talks to real payments. Nobody wants an agent placing a real order at four o'clock. So Priya adds a
|
|
538
|
+
> team rule, in plain English, the guardrails from slide 6.
|
|
427
539
|
|
|
428
540
|
**Type:**
|
|
429
541
|
|
|
430
542
|
> Add a guardrail: never press Finish on a checkout page
|
|
431
543
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
**As it stops, say:**
|
|
544
|
+
**Then run the backpack checkout case, and say as it stops:**
|
|
435
545
|
|
|
436
546
|
> It went through the checkout, reached the last button, and **stopped**, and it names the rule that stopped it.
|
|
437
|
-
> Priya's rule beats whatever a test case, a ticket or a web page tells the agents to do.
|
|
438
|
-
> not the AI being polite, ForgeQE enforcing it.
|
|
547
|
+
> Priya's rule beats whatever a test case, a ticket or a web page tells the agents to do.
|
|
439
548
|
|
|
440
549
|
*Remove it afterwards with `forgeqe guardrails`.*
|
|
441
550
|
|
|
@@ -443,75 +552,93 @@ forgeqe memory show saucedemo.com --locators
|
|
|
443
552
|
|
|
444
553
|
> Half past five. Oliver's turn.
|
|
445
554
|
|
|
446
|
-
|
|
555
|
+
---
|
|
556
|
+
|
|
557
|
+
### Act 7 (if time). 17:30 Oliver: "And next time, without Sam."
|
|
447
558
|
|
|
448
559
|
**Story:** Oliver wants the release pipeline to run the same tests by itself and block a bad release.
|
|
449
560
|
|
|
450
|
-
**
|
|
561
|
+
**Say:**
|
|
451
562
|
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
563
|
+
> Oliver doesn't want this to depend on Sam's laptop next time. The pipeline should run the same tests, the same
|
|
564
|
+
> way, every time, with no AI choosing anything, and stop the release if one fails.
|
|
565
|
+
|
|
566
|
+
**Type:**
|
|
455
567
|
|
|
456
568
|
```bash
|
|
569
|
+
forgeqe suite demo-sites.txt --parallel 3 --no-code --plain
|
|
457
570
|
echo $?
|
|
458
571
|
```
|
|
459
572
|
|
|
460
573
|
**Say:**
|
|
461
574
|
|
|
462
|
-
>
|
|
463
|
-
>
|
|
464
|
-
> the GitHub or Azure pipeline for us, and it's not allowed to push it to main: a person merges it.
|
|
575
|
+
> That number at the end is the **exit code**: zero means pass, anything else stops the release. That's the
|
|
576
|
+
> language pipelines speak. *(Or ask ForgeQE to write a GitHub Actions workflow and show the file.)*
|
|
465
577
|
>
|
|
466
|
-
>
|
|
467
|
-
> they're cheap, and post to Teams if the shop breaks at
|
|
578
|
+
> And after release, the same checks can run every 15 minutes against the live shop, replayed from the notebook so
|
|
579
|
+
> they're cheap, and post to the team's Teams channel if the shop breaks at three in the morning.
|
|
468
580
|
|
|
469
581
|
**Hand-off:**
|
|
470
582
|
|
|
471
|
-
>
|
|
583
|
+
> It's six o'clock. Oliver asks the question.
|
|
584
|
+
|
|
585
|
+
---
|
|
586
|
+
|
|
587
|
+
### 18:00 Wrap-up (stay on the Live demo slide)
|
|
472
588
|
|
|
473
|
-
|
|
589
|
+
**Story:** go/no-go.
|
|
474
590
|
|
|
475
591
|
**Say:**
|
|
476
592
|
|
|
477
593
|
> "Can we ship?" And Priya has an answer with evidence behind every word.
|
|
478
594
|
>
|
|
479
|
-
> At nine,
|
|
480
|
-
> with proof. At ten, Lena had a report showing what the customer
|
|
481
|
-
>
|
|
482
|
-
>
|
|
595
|
+
> At nine, the browser agent showed the shop worked for normal customers. At half nine, we reproduced the bug for
|
|
596
|
+
> the affected customers, on three browsers, with proof. At ten, Lena had a report showing exactly what the customer
|
|
597
|
+
> sees. At eleven, the repo reader, Scribe and the reviewer locked the check into an automated test in our own repo.
|
|
598
|
+
> All afternoon, Sam retested Lena's fix from the notebook in a fraction of the time. Priya's guardrail kept the
|
|
599
|
+
> agents away from real orders. And now Oliver's pipeline guards every release after this one.
|
|
483
600
|
>
|
|
484
|
-
>
|
|
485
|
-
>
|
|
601
|
+
> Oliver says **go**.
|
|
602
|
+
>
|
|
603
|
+
> Notice who made every decision today: Priya decided what to test, Sam decided which failure was a real bug and
|
|
604
|
+
> which was a wrong test case, Lena fixed the code, Oliver decided to ship. The agents did the clicking, the typing,
|
|
605
|
+
> the re-checking and the paperwork.
|
|
486
606
|
>
|
|
487
607
|
> **That's the shift: testers stop being the bottleneck and become the people who decide.**
|
|
488
608
|
|
|
609
|
+
**Hand-off:**
|
|
610
|
+
|
|
611
|
+
> Questions.
|
|
612
|
+
|
|
489
613
|
---
|
|
490
614
|
|
|
491
|
-
## Slide 11. Questions
|
|
615
|
+
## Slide 11. Questions
|
|
492
616
|
|
|
493
617
|
**Say:**
|
|
494
618
|
|
|
495
|
-
> Ask anything: models, cost, data, our framework, what it doesn't do.
|
|
496
|
-
> `forgeqe docs --guide`.
|
|
619
|
+
> The fix is live and the team knows it works. Ask anything: models, cost, data, our framework, what it doesn't do.
|
|
620
|
+
> To try it yourself: one install, `forgeqe init`, and `forgeqe docs --guide`.
|
|
621
|
+
|
|
622
|
+
**Likely questions**, answered through the cast where it helps:
|
|
497
623
|
|
|
498
624
|
| Question | Answer |
|
|
499
625
|
|---|---|
|
|
500
|
-
| Will it replace testers? | No.
|
|
501
|
-
| What if the AI is wrong? | Every step records expected
|
|
502
|
-
| Does it replace our framework? | No. Scribe writes tests in
|
|
503
|
-
| What does it cost? | The report shows cost per case; budgets warn at 80, 90 and 100%; replays from memory cut repeat runs to one
|
|
504
|
-
| Where does our data go? |
|
|
505
|
-
| What if the app changes? | `forgeqe heal` updates outdated tests from the live app, or reports
|
|
506
|
-
| SSO or captchas? | `forgeqe login`: sign in once by hand, later runs reuse the session. |
|
|
507
|
-
| Phones and desktop apps? | Android and iOS through Appium or Maestro
|
|
626
|
+
| Will it replace testers? | No. In the story every decision was a person's: Priya's, Sam's, Lena's, Oliver's. Anything that changes something outside ForgeQE waits for a yes. |
|
|
627
|
+
| What if the AI is wrong? | Every step records what was expected and what was found, with a screenshot, so you check evidence, not the AI's word. Scribe's tests must pass a real run and the reviewer. |
|
|
628
|
+
| Does it replace our framework? | No. Scribe writes tests in the framework we use, with our page objects, and they run without ForgeQE. |
|
|
629
|
+
| What does it cost? | The report shows cost per case; budgets warn at 80, 90 and 100%; replays from memory cut repeat runs to one AI call or none. With a Copilot seat there's no separate key. |
|
|
630
|
+
| Where does our data go? | To our AI model, the sites under test and the systems we connect. No telemetry. Passwords never reach the model. |
|
|
631
|
+
| What if the app changes? | `forgeqe heal` updates outdated tests from the live app, or reports a real bug. Nothing is skipped or loosened. |
|
|
632
|
+
| SSO or captchas? | `forgeqe login`: sign in once by hand, and later runs reuse the session. |
|
|
633
|
+
| Phones and desktop apps? | Yes: the mobile agent drives Android and iOS through Appium or Maestro, the desktop agent drives Windows apps. Same plain-English requests. |
|
|
508
634
|
| What doesn't it do? | Load or stress testing with many users, and penetration testing. |
|
|
509
635
|
|
|
510
636
|
---
|
|
511
637
|
|
|
512
638
|
## Prompt sheet
|
|
513
639
|
|
|
514
|
-
Every prompt in the order you use
|
|
640
|
+
Every prompt for the demo in one place, in the order you use them. Print this page or keep it on a second screen.
|
|
641
|
+
Lines in a box are typed into the ForgeQE shell; lines marked `bash` go in a terminal.
|
|
515
642
|
|
|
516
643
|
### Before the call (the evening before)
|
|
517
644
|
|
|
@@ -535,63 +662,81 @@ mkdir demo && cd demo && forgeqe init
|
|
|
535
662
|
cp <path-to-repo>/ForgeQE/samples/cases/demo-sites.txt <path-to-repo>/ForgeQE/samples/cases/expected-failure.txt .
|
|
536
663
|
```
|
|
537
664
|
|
|
538
|
-
Then run Acts 1 and 2
|
|
539
|
-
|
|
665
|
+
Then do a full dry run of Acts 1 and 2 (it fills page memory for Act 5) and check every site in `demo-sites.txt`
|
|
666
|
+
loads.
|
|
540
667
|
|
|
541
|
-
### Live
|
|
668
|
+
### Live: the core acts
|
|
542
669
|
|
|
543
|
-
| Act |
|
|
544
|
-
|---|---|---|---|
|
|
545
|
-
| start | | | `forgeqe start --repo ../demo-app` (terminal), then `/headed on` |
|
|
546
|
-
| 1 | 4 | Oliver | `Sign in to saucedemo.com as standard_user with password secret_sauce and check that 6 products are listed` |
|
|
547
|
-
| 2 | 6 | Priya | `Run the cases in demo-sites.txt and expected-failure.txt, 3 browsers at once, and don't write tests for them` |
|
|
548
|
-
| 2, follow-up | | Sam | `Why did the problem_user case fail? Show me what the page showed at that step.` |
|
|
549
|
-
| 3 | 4 | Lena | open `.forgeqe/reports/suites/<time>/report.html` |
|
|
550
|
-
| 3, follow-up | | Lena | `Which accessibility issues did that run find, and on which pages?` |
|
|
551
|
-
| 4 | 6 | Priya | `Write a Playwright test for the Sauce Demo sign-in run` |
|
|
552
|
-
| 4, the bug's test (rehearse first) | | Priya | `Write a Playwright test for the problem_user product images case. It should fail until the images are fixed.` |
|
|
553
|
-
| 5 | 4 | Lena | `forgeqe memory show saucedemo.com --locators` (terminal), then Act 1's prompt again |
|
|
554
|
-
| 5, follow-up | | Oliver | `Compare the last two Sauce Demo sign-in runs: time, model calls and cost.` |
|
|
555
|
-
| 6 | 3 | Priya | `Add a guardrail: never press Finish on a checkout page`, then `Run the case "Sauce Demo: buy a backpack from cart to confirmation" from demo-sites.txt` |
|
|
556
|
-
| 6, clean-up | | | `forgeqe guardrails` (terminal), remove the rule |
|
|
557
|
-
| 7 | 2 | Oliver | `forgeqe suite demo-sites.txt --parallel 3 --no-code --plain`, then `echo $?` (terminal) |
|
|
558
|
-
|
|
559
|
-
### Extras if you have spare minutes (rehearse first)
|
|
560
|
-
|
|
561
|
-
| Fits after | Feature | Type |
|
|
670
|
+
| Act | Story beat | Type exactly |
|
|
562
671
|
|---|---|---|
|
|
563
|
-
|
|
|
564
|
-
|
|
|
565
|
-
|
|
|
566
|
-
|
|
|
672
|
+
| start | Sam opens ForgeQE | `forgeqe start --repo ../demo-app` (terminal), then `/headed on` |
|
|
673
|
+
| 1 | Oliver: "Is the shop even working?" | `Sign in to saucedemo.com as standard_user with password secret_sauce and check that 6 products are listed` |
|
|
674
|
+
| 2 | Priya: "Can we reproduce it?" | `Run the cases in demo-sites.txt and expected-failure.txt, 3 browsers at once, and don't write tests for them` |
|
|
675
|
+
| 2, follow-up | Sam asks about the red case | `Why did the problem_user case fail? Show me what the page showed at that step.` |
|
|
676
|
+
| 3 | Lena: "Show me what the customer sees" | open `.forgeqe/reports/suites/<time>/report.html` |
|
|
677
|
+
| 3, follow-up | Lena asks about accessibility | `Which accessibility issues did that run find, and on which pages?` |
|
|
678
|
+
| 4 | Priya: "Never again unnoticed" | `Write a Playwright test for the Sauce Demo sign-in run` |
|
|
679
|
+
| 4, the bug's own test (rehearse first) | the same, for the bug | `Write a Playwright test for the problem_user product images case. It should fail until the images are fixed.` |
|
|
680
|
+
| 5 | Lena: "The fix is in" | `forgeqe memory show saucedemo.com --locators` (terminal), then Act 1's prompt again |
|
|
681
|
+
| 5, follow-up | Oliver: "Was it cheaper?" | `Compare the last two Sauce Demo sign-in runs: time, model calls and cost.` |
|
|
682
|
+
| 6 | Priya: "No real orders" | `Add a guardrail: never press Finish on a checkout page`, then `Run the case "Sauce Demo: buy a backpack from cart to confirmation" from demo-sites.txt` |
|
|
683
|
+
| 6, clean-up | | `forgeqe guardrails` (terminal), remove the rule |
|
|
684
|
+
| 7 | Oliver: "Next time, without Sam" | `forgeqe suite demo-sites.txt --parallel 3 --no-code --plain` then `echo $?` (terminal) |
|
|
685
|
+
| 7, alternative | the pipeline file | `Add a GitHub Actions workflow to demo-app that runs the cases in demo-sites.txt on every pull request and publishes the report` |
|
|
686
|
+
|
|
687
|
+
### Live: extras if the room wants more (rehearse before using)
|
|
688
|
+
|
|
689
|
+
These run on the same public sites and fit the story, but take longer or vary more, so try each one the evening
|
|
690
|
+
before.
|
|
691
|
+
|
|
692
|
+
| Feature | Story beat | Type |
|
|
693
|
+
|---|---|---|
|
|
694
|
+
| Explorer | Priya: "What else is broken around this?" | `Explore this story on https://www.saucedemo.com and don't change any data. "Product pictures: every customer sees the right picture for each product, on the product list and on the product page." Sign in as standard_user and as problem_user, both with password secret_sauce.` |
|
|
695
|
+
| Visual check | "The pictures are wrong": the screenshot comparison | `forgeqe visual` (terminal) after two runs of the same page |
|
|
696
|
+
| Memory savings | Oliver: "How much did memory save us?" | `forgeqe memory stats` (terminal) |
|
|
697
|
+
| Test cases from a story | Priya: "Write the cases for the bug" | `Write test cases for this story: "Every customer sees the right picture for each product on saucedemo.com." Save them to product-pictures.txt.` |
|
|
567
698
|
|
|
568
|
-
The explorer
|
|
569
|
-
back.
|
|
699
|
+
The explorer plans about six charters and runs each in a browser, with a second run for a possible defect, so it
|
|
700
|
+
takes several minutes. Start it, keep talking through slide 3's list, and come back to the result.
|
|
570
701
|
|
|
571
702
|
### Say, don't run: the same day on our real project
|
|
572
703
|
|
|
573
|
-
|
|
574
|
-
|
|
704
|
+
These need our tracker, repositories and pipelines, so don't run them in the demo. Say them out loud at the point
|
|
705
|
+
in the story where they belong, to show what Sam, Lena or Priya would type on a real hotfix day.
|
|
575
706
|
|
|
576
|
-
|
|
|
707
|
+
| Story beat | Who | What they would type |
|
|
577
708
|
|---|---|---|
|
|
578
|
-
|
|
|
579
|
-
|
|
|
580
|
-
|
|
|
581
|
-
|
|
|
582
|
-
|
|
|
583
|
-
|
|
|
709
|
+
| 08:00, after Act 2 | Sam | `Bug 4512 is a Sev-1 on product images. Reproduce it on qa signed in as the affected customer and attach the evidence to the bug.` |
|
|
710
|
+
| 10:00, after Act 3 | Lena | `What is the likely cause of bug 4512? The product code is in ../shop-web.` |
|
|
711
|
+
| 10:30 | Priya | `Explore story 4498 on qa. Focus on product images for every customer type. Don't change any data.` |
|
|
712
|
+
| 13:00, after Act 4 | Lena | `Review PR 871 against story 4498's acceptance criteria, and tell me which tests and manual cases it can break.` |
|
|
713
|
+
| 14:00, after Act 5 | Sam | `Run the tests PR 871 can break. If one fails because the app changed on purpose, heal it; if it's a real bug, report it.` |
|
|
714
|
+
| 15:00 | Priya | `Build a regression pack for this release and run it. Retry failures once and tell me which are flaky.` |
|
|
715
|
+
| 17:00 | Oliver | `Are we ready to release the fix for bug 4512? Include open bugs, untested stories and flaky tests. Publish it to the wiki and tell the QA channel.` |
|
|
716
|
+
| 18:00, after Act 7 | Priya | `Monitor the shop's smoke cases on production every 15 minutes and alert the QA channel if one keeps failing.` |
|
|
717
|
+
|
|
718
|
+
The numbers (4512, 4498, 871, `../shop-web`) are placeholders: swap in a real bug, story and PR from your own
|
|
719
|
+
tracker if you want the room to recognise them.
|
|
584
720
|
|
|
585
721
|
### If something goes wrong live
|
|
586
722
|
|
|
587
723
|
| Problem | What to do |
|
|
588
724
|
|---|---|
|
|
589
|
-
| A run stalls | Esc or `/stop`, then `/details on` and run it again |
|
|
590
|
-
| A site is down | `Run the cases in demo-sites.txt except the Books to Scrape ones
|
|
591
|
-
| Act 2 is slow | Keep talking about step verdicts
|
|
592
|
-
| Scribe takes too long | Open the backup `samples/reports/single-run-login/forgeqe.spec.ts` and walk through it |
|
|
725
|
+
| A run stalls | Press Esc or type `/stop`, then `/details on` and run it again |
|
|
726
|
+
| A site is down | `Run the cases in demo-sites.txt except the Books to Scrape ones` and say "a real tester would skip it too" |
|
|
727
|
+
| Act 2 is slow | Keep talking about step verdicts; or open the backup report `samples/reports/nightly/20260929-020005/report.html` |
|
|
728
|
+
| Scribe takes too long in Act 4 | Open the backup `samples/reports/single-run-login/forgeqe.spec.ts` and walk through it |
|
|
593
729
|
| Act 5 doesn't replay from memory | Say "this is the run that fills the notebook" and run it once more |
|
|
594
730
|
|
|
731
|
+
## Before tomorrow
|
|
732
|
+
|
|
733
|
+
- **Rehearse Acts 1 and 2 tonight.** It fills the page memory that Act 5 relies on.
|
|
734
|
+
- **Act 4 for the bug itself:** the script uses the sign-in run (as the deck does) and tells the bug's test in words.
|
|
735
|
+
To show it live, ask instead: "Write a Playwright test for the problem_user product images case", and rehearse it
|
|
736
|
+
first, since that test is meant to fail until the fix.
|
|
737
|
+
- **Read real numbers in Act 5** from the two summary cards. The times in the story (09:00, 14:00 …) are the story's
|
|
738
|
+
clock, not measurements.
|
|
739
|
+
|
|
595
740
|
## Words to explain if the room looks lost
|
|
596
741
|
|
|
597
742
|
| Word | Plain version |
|
|
@@ -603,4 +748,5 @@ placeholders; swap in a real bug, story and PR from your tracker.
|
|
|
603
748
|
| Pull request | A proposed code change waiting for approval |
|
|
604
749
|
| Pipeline | The automatic checks that run whenever code changes or is released |
|
|
605
750
|
| Page memory | The team notebook: every button and field it has seen, and several ways to find each |
|
|
751
|
+
| Flaky test | A test that sometimes fails for no real reason |
|
|
606
752
|
| Guardrail | A team rule every agent must follow |
|