@orion-qa/orion 3.4.0 → 3.4.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/.claude/skills/automation-implementation/SKILL.md +1 -1
- package/.claude/skills/failure-analysis/SKILL.md +1 -0
- package/.claude/skills/failure-analysis/references/bug-report-standard.md +27 -0
- package/.claude/skills/orion/references/conversation.md +1 -1
- package/.claude/skills/orion/references/setup-card.md +1 -1
- package/.claude/skills/test-design/SKILL.md +1 -0
- package/.claude/skills/test-design/references/test-case-standard.md +31 -0
- package/.claude/skills/ui-observation/SKILL.md +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +2 -2
- package/hosts/gemini-extension/gemini-extension.json +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ description: Writes or modifies automated tests in the project's existing style,
|
|
|
15
15
|
0. **Where you write.** The test project from the brief's `project` field ([work-branch.md](../orion/references/work-branch.md)): `sut/<short-app-name>/` when the workspace is the agent install (it holds `.claude/` or `registry/`), else the existing suite. Never write `package.json`, `pages/`, `tests/`, `.env`, `node_modules/` or `test-results/` at the install root, and never use `project-context/` as the project. A suite already written elsewhere stays where it is unless the user asks. Record `base` (`git rev-parse HEAD`, or `none` when the repo has no commit) before the first edit. Claude Code: in `sut/<app>/` write there directly (no commit or worktree needed); in an existing repo with a commit, create a worktree on the brief's work branch before the first edit (`git worktree add ../<repo>-<run> -b <work_branch>`, run from inside the repo) and put its absolute path and `base` in `Artifacts`. Cursor and single-agent hosts: work on the local branch `work_branch` from the brief. Copilot Studio: write only to `work_branch` through the GitHub write tool, and only when the brief cites the H3 D-nnn for it; create the branch if it doesn't exist, and if it already exists but wasn't created in this run, stop with `needs_user` (never write into another run's branch). **Chat delivery** (`build` mode, no repo, or a host with no file system): write nothing; return every file in full in `Artifacts` as its path followed by one code block, start from the adapter's starter template, and mark compile, fail check and runs `not run` unless the brief says the host can run them.
|
|
16
16
|
0a. **Packaging and render tasks** (`orion/references/delivery-formats.md`): a zip of the delivered project is made after the checks with the pack script there (next to the project folder, or at the top of your worktree; never outside it), and listed before you return its path. Test-case files (Excel, PDF, Word and the rest) are written by the orchestrator with `cases_export.py`, not by you.
|
|
17
17
|
1. Load the adapter skills named in the technology profile. No adapter → stop with NEEDS_ADAPTER.
|
|
18
|
-
- **New project** (the default stack, or one the user named): copy the adapter's starter template (`templates/<stack>/`, listed in its `templates/README.md`) into the test project, get its smoke test green, then continue. Never start from, copy or read code in the platform's `evals/` (fixtures and reference suites are the answer key) or another app's suite; every page object and test comes from this app's pages as you explored them. Structure follows the layers in [patterns.md](references/patterns.md): config, errors, base page, pages, flows, fixtures, data, tests, runner config.
|
|
18
|
+
- **New project** (the default stack, or one the user named): copy the adapter's starter template (`templates/<stack>/`, listed in its `templates/README.md`) into the test project, get its smoke test green, then continue. Starter parts the story and the site don't use (a sample API check for a site with no public API, a sign-out step the site does differently) are removed or adapted to the explored site without asking, and listed in the report under what was changed; never stop the build to ask about them. Never start from, copy or read code in the platform's `evals/` (fixtures and reference suites are the answer key) or another app's suite; every page object and test comes from this app's pages as you explored them. Structure follows the layers in [patterns.md](references/patterns.md): config, errors, base page, pages, flows, fixtures, data, tests, runner config.
|
|
19
19
|
- **The account:** a test account the user pasted goes into the project's `.env` (`BASE_URL`, `E2E_USER`, `E2E_PASSWORD`; `HTTP_USER`, `HTTP_PASSWORD` only for a different browser login prompt), which the template's `.gitignore` ignores; check with `git check-ignore .env` before writing it. That is the only copy: never `playwright/.auth/http.json`, never a file outside the project, never a value in notes or logs. Write it with one command from inside the project (`printf … > .env` in bash; `[IO.File]::WriteAllLines` in PowerShell, never `>` there: [conversation.md](../orion/references/conversation.md) item 6) and never read it back (`grep -c '^NAME=' .env` checks a name); run git from inside the folder (`git check-ignore .env`), never `git -C`.
|
|
20
20
|
- **New adapter** (H12 D-nnn): use the `adapter-authoring` skill instead of this procedure.
|
|
21
21
|
2. Plan the files: new tests where the strategy says. **In an existing suite, the approved file plan is the limit** (the test-case checkpoint's "Files" line, recorded in `test-designs/<story>/design.md`): change the files it lists and create only the new files it lists. Everything else goes into the suite's existing files: test data into its data file (e.g. `data/users.ts`), never a new data, desc, helper or config file of Orion's own layout (no `*.desc.*`, no `resources/`, no `testData` file the suite doesn't have). A file the plan didn't list is needed: stop and say which and why; the orchestrator asks the user before it is added. Before returning, `git status --porcelain` lists every new and changed file; one outside the plan is removed. **Search before you add** (AGENTS rule 7): for every page object, method, locator, helper, fixture, data builder, sign-in or config you would add, search the repo first (Grep by name, selector, URL fragment, visible text) as well as the reuse report; reuse or extend what exists. Add new only when nothing fits, and list each search in `Findings` (`searched: <terms> → <hits> → reused <file:line> | new because <reason>`). An existing helper that is wrong for this case is extended or reported, never copied.
|
|
@@ -34,6 +34,7 @@ Decision tree (first match wins):
|
|
|
34
34
|
# Failure analysis
|
|
35
35
|
| Test | Class | Next likely | Evidence | In diff? |
|
|
36
36
|
## Defect drafts
|
|
37
|
+
Every draft has the fields and follows the rules of [references/bug-report-standard.md](references/bug-report-standard.md): `[Area]` title, environment, preconditions, numbered steps, expected (with its AC), actual (exact), reproducibility, severity and proposed priority, masked evidence, links.
|
|
37
38
|
(each draft ends with: _Drafted by the AI failure-analyst; not filed until a person approves (H9)._)
|
|
38
39
|
```
|
|
39
40
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# What a good bug report looks like
|
|
2
|
+
|
|
3
|
+
Built on ISO/IEC/IEEE 29119-3 (incident report), the ISTQB Foundation syllabus (defect report objectives and contents) and common tracker practice (Jira, Azure DevOps). A developer must be able to reproduce the bug from the report alone, and a lead must be able to rank it without opening anything else.
|
|
4
|
+
|
|
5
|
+
## Fields (every defect draft)
|
|
6
|
+
| Field | Rule | Good | Bad |
|
|
7
|
+
|---|---|---|---|
|
|
8
|
+
| **Title** | `[Area] What is wrong + when`, at most ~12 words, no blame, no "doesn't work" | "[Sign in] /session returns 500 after a successful sign-in" | "Login broken", "Bug in app" |
|
|
9
|
+
| **Environment** | URL and environment name, app build or version if shown, browser and version, OS, role of the account, date and time with zone | https://… (test) · Chrome 1xx · Windows 11 · role Admin · 2026-11-20 09:30 PKT | — |
|
|
10
|
+
| **Preconditions** | Account role and state, data that must exist | Signed out, fresh browser | — |
|
|
11
|
+
| **Steps to reproduce** | Numbered, minimal, one action each, the UI's own words in **bold**, synthetic data | 1 Open the site · 2 Sign in with a User-role account · 3 Watch the network tab | "Use the app" |
|
|
12
|
+
| **Expected result** | What should happen, citing the story/AC or the standard behaviour | Sign-in completes with no server error (PR-1 AC-4) | — |
|
|
13
|
+
| **Actual result** | What happened, exact: message text, status code, what changed | `GET /session` → 500; the page still opens Daily Work Summary | "It fails" |
|
|
14
|
+
| **Reproducibility** | x of y attempts, and when it doesn't happen | 3 of 3, every sign-in | "sometimes" |
|
|
15
|
+
| **Severity** | Impact on the product: Critical (data loss, security, no workaround) · Major (a main flow broken) · Minor (a flow works with a workaround or wrong message) · Trivial (cosmetic) | Minor: the page still works | — |
|
|
16
|
+
| **Priority** | How soon to fix (set or proposed; the team decides) | Medium | — |
|
|
17
|
+
| **Evidence** | Screenshot, trace, failing test name, the relevant log or network line, secrets and personal data masked as `***` | `test-results/…/trace.zip`, network line | full logs, tokens |
|
|
18
|
+
| **Links** | The story, the test case, the failing test, any duplicate found | PR-1 · TS-5 · `signIn.spec.js:42` | — |
|
|
19
|
+
|
|
20
|
+
## Rules
|
|
21
|
+
1. **One bug per report.** Two symptoms with different causes are two drafts.
|
|
22
|
+
2. **Reproduce first** from a fresh session before drafting; record the attempts. Not reproducible → say so, it stays a finding, not a defect.
|
|
23
|
+
3. **Search for a duplicate** in the tracker (same area and symptom) and link it instead of filing again.
|
|
24
|
+
4. **Facts, not guesses.** The suspected cause goes in an optional "Notes" line, marked as a guess.
|
|
25
|
+
5. **No secrets, no real personal data** anywhere in the report or its attachments.
|
|
26
|
+
6. **A test that fails because the app differs from the story is the app's bug, not the test's** (never change the test to pass); a story that is outdated is said so and asked about.
|
|
27
|
+
7. **Drafted, not filed:** filing is H9, after the user sees the draft. Each draft ends with the line the failure-analysis skill names.
|
|
@@ -22,7 +22,7 @@ Two checkpoints, nothing more: the setup card (all questions at once, defaults i
|
|
|
22
22
|
1a. **The next story in the same chat gets no greeting and no full card.** Once this chat has had a card answered (the answers are in `decisions.md` and the chat), a new story or request ("now automate the checkout story", a second issue key) reuses those answers: reply with one line, "Same setup as before: <tool · language · test project · site · account>. Say go, or change a line.", then the steps as usual. The full card comes back only for a different site or test project, or when the user asks for it. A greeting card is for a greeting only, never as a reply to a request.
|
|
23
23
|
2. **"go", "yes", "ok" or "looks good" in reply to the card confirm exactly what the card lists** (every bold default on its 8 lines). A change ("use Java", "add it to this repo") updates the card; show only the changed lines and wait again. The card covers exploring the URL, installing the runner in the test project and running the new tests here; it never covers commit, push, PR, production, trackers or installs outside the test project (asked when they come up, AGENTS rule 2).
|
|
24
24
|
2a. **A story that can't be read never stops the run.** The tracker isn't connected and the user didn't connect it, or the link can't be opened: say so in one line, offer the connection once (its row from [connect-tools.md](connect-tools.md)) and carry on in the same message: design the cases from the request's own words and the explored site, title the table "Story PR-1 not read: cases from your request and the site", and show it for go. Never end a turn asking only for acceptance criteria. "Not connected" is what the check shows now, not what the user may do later: a yes to the setup message, a go, or any reply other than "done" or the story's text leaves it unconnected, so carry on. A turn that offers the connection or asks for the story also shows the test-case table (or, before exploring has finished, keeps exploring in that turn); waiting for a tracker is never a stop.
|
|
25
|
-
3. **Second checkpoint: the test cases.** After exploring, show the test-case table with exactly this header, one line per case: `| ID | What it checks | Type | Priority | Expected result |` (Type: positive, negative, boundary or edge; Priority: High, Medium or Low; the ID is TS-n, never `#`, and tags such as `@smoke` stay out of the ID cell), say in one line where the cases came from (your request, the site, the coverage checklist, your imported cases) and anything the site changed from the plan, and, **in an existing suite, the file plan under the table**: "Files: change `pages/DashboardPage.ts` (add `openSettings()`), `tests/fixtures.ts`, `data/users.ts`; new `pages/SettingsPage.ts` (no page object for Settings yet), `tests/settings.spec.ts` (one spec per feature, as `login.spec.ts`)". Each new file says why no existing file fits. Then ask "**Shall I write these?** Reply **go**, or tell me what to change in your own words, like \"add a locked-out user\" or \"drop the fourth one\"." Go approves exactly that file plan: a file not in it is not created or changed without asking again An edit updates the table and asks again. Write code only after the user's reply. A design-only request stops here for acceptance. Under the question, one line says how to look closer: "Ask to see any case in full (\"show me the third one\", \"all of them\"), or for the cases as Excel, PDF, Word or any other file to review." (item 3b). After **go** on the table, a build runs to the end in the same turn: fill every starter `{{TOKEN}}` from the UI map (`suite_check.mjs` reports any left), run the smoke test, write the story's tests, run them
|
|
25
|
+
3. **Second checkpoint: the test cases.** After exploring, show the test-case table with exactly this header, one line per case: `| ID | What it checks | Type | Priority | Expected result |` (Type: positive, negative, boundary or edge; Priority: High, Medium or Low; the ID is TS-n, never `#`, and tags such as `@smoke` stay out of the ID cell), say in one line where the cases came from (your request, the site, the coverage checklist, your imported cases) and anything the site changed from the plan, and, **in an existing suite, the file plan under the table**: "Files: change `pages/DashboardPage.ts` (add `openSettings()`), `tests/fixtures.ts`, `data/users.ts`; new `pages/SettingsPage.ts` (no page object for Settings yet), `tests/settings.spec.ts` (one spec per feature, as `login.spec.ts`)". Each new file says why no existing file fits. Then ask "**Shall I write these?** Reply **go**, or tell me what to change in your own words, like \"add a locked-out user\" or \"drop the fourth one\"." Go approves exactly that file plan: a file not in it is not created or changed without asking again An edit updates the table and asks again. Write code only after the user's reply. A design-only request stops here for acceptance. Under the question, one line says how to look closer: "Ask to see any case in full (\"show me the third one\", \"all of them\"), or for the cases as Excel, PDF, Word or any other file to review." (item 3b). After **go** on the table, a build runs to the end in the same turn: fill every starter `{{TOKEN}}` from the UI map (`suite_check.mjs` reports any left), run the smoke test, write the story's tests, run them once with retries off (and N times only when the user asks for a stability check) and show the result; it never stops with tests unwritten or not run unless a blocker says what stopped it and the one fix.
|
|
26
26
|
3b. **Reviewing the cases, as long as the user likes.** At the test-case checkpoint, and again after the result, the user can look at any case in full and change it before anything is written or pushed, **in any words** ([plain-language.md](plain-language.md): "the third one", "the login case", "remove the last one" all work). The forms below are what each request does; the backticked ones are optional shortcuts, never something the user must type:
|
|
27
27
|
- `show TS-3` · `show TS-2, TS-5` · `show all`: each case as a short card, nothing else in the message:
|
|
28
28
|
`**TS-3 · <what it checks>** · <Type> · <Priority> · covers <AC-n (its words)>` then `Preconditions:` (one line), `Steps:` (numbered), `Expected:` (one line) and `Data:` (only when it has test data; a secret is its variable name, `E2E_PASSWORD`, never a value). Then the same question as the table.
|
|
@@ -24,7 +24,7 @@ Nothing missing: no message; carry on. Otherwise:
|
|
|
24
24
|
4. **You install:** <runtime> (<download page>); I can't install it for you.
|
|
25
25
|
5. **<Jira> (to read <PR-1>):** not connected. To connect it: <its row from connect-tools.md, one line>. I won't wait for it: I'll design the cases from your request and the site now, and re-check them against <PR-1> once it's connected.
|
|
26
26
|
Reply **yes** to set up all, **yes, not 1** to skip one, or **no**."
|
|
27
|
-
Number only the items that are missing, in this order. Item 1 is offered only when the check printed `setup in the chat`; when it didn't, item 1 is "**Browser for exploring:** <its `ready: no` reason>; to fix it: <its Fix>", for the user to do.
|
|
27
|
+
Number only the items that are missing, in this order. Item 1 is offered only when the check printed `setup in the chat`; when it didn't, item 1 is "**Browser for exploring:** <its `ready: no` reason>; to fix it: <its Fix>", for the user to do. Never ask the user to switch browser tools off in their tool's settings: the agents use only the tools their skills list, the host asks before any other one runs, and the doctor ("is everything set up?") reports the setting. Windsurf and other tools whose settings live elsewhere (exit 3): "**Browser for exploring:** I can't see your tool's MCP settings; make sure its `playwright` entry points at `sut/<site>/.env`."
|
|
28
28
|
|
|
29
29
|
Nothing else goes in this message, with one exception that saves a round: when line 7 (the login, which has no default) is still unanswered, the message ends, after the reply line, with "**Login:** paste it with your reply (it goes only into the git-ignored `.env`), or say *I'll add it*." The yes approves only the numbered items; a login pasted in the same reply is written as [conversation.md](conversation.md) item 6. Any other unanswered card line is asked in its own message **after** the setup is done. Only a yes typed after this message counts; the card's "go" never approves it, and it's never bundled with the card or another question. Record message and reply in `decisions.md`. On yes, do the items approved, in order: item 1 with `node .claude/skills/orion/scripts/browser_setup.mjs <URL>` from the workspace root (an existing suite: add `--env-file <its own env file>`, so the browser signs in with the suite's account and no `sut/<site>/` is created) (never edit the file yourself; if it exits 1 or 2, give its warning in one line and use the test project's Playwright); items 2 and 3 with the install commands (the host shows its own prompts). Then one line on what was set up and what needs a reload ("**All set:** the browser for saucedemo (starts after you reload Cursor), Playwright in `sut/saucedemo/`. Exploring now.") and carry on; it never repeats the browser-tools reminder (said once, in the setup message). If the reply brought no login and the site needs one, the same line ends with the login question, once ("…in `sut/saucedemo/`. **Login:** paste it, or say *I'll add it*."), never a separate message. The tracker item (5) is never waited for: it is the user's to do whenever they like, so after **yes** (or **no**, or any reply that isn't "done") the run carries on without it, by [conversation.md](conversation.md) item 2a, in the same turn: explore, then the test-case table titled "Story <PR-1> not read: cases from your request and the site". Never end the turn after this message with only "connect <Jira> or paste the story". A skipped item 1 means the test project's Playwright for this run. **no**, or a skipped item the run can't do without: say in one line what that stops (for example "Without the test project I can't explore or run tests: I'll design the test cases from your description and mark the screens not observed") and carry on with what's possible; don't ask again in this run. "done" or "reloaded" means: run the checks again, then continue.
|
|
30
30
|
|
|
@@ -16,6 +16,7 @@ description: "Designs implementation-independent test scenarios from acceptance
|
|
|
16
16
|
2. Pick the technique that fits each AC and name it: equivalence partitioning (input classes), boundary values (limits, just inside/outside), decision table (combinations of rules), state transition (status flows, e.g. locked/unlocked), error guessing (empty, invalid, permissions, concurrency where relevant). Add the negative, boundary and edge scenarios the technique produces.
|
|
17
17
|
2a. **Mobile and desktop** ACs: also consider the conditions the platform adds where they affect the AC: permission prompts, the app going to the background and back, rotation or window resize, network loss, the keyboard covering input, focus after dialogs.
|
|
18
18
|
2b. **API** ACs: per endpoint the AC touches, consider the status codes it implies (success, 400/422 validation, 401/403 auth, 404, 409 conflict), required, missing and invalid fields (equivalence partitions and boundaries on the payload), and what a later GET must show after a write. Set data up and clean it up through the API. Add a schema or contract check only where the project has one or the AC is about the response shape.
|
|
19
|
+
2b2. **Case format.** Every case follows [references/test-case-standard.md](references/test-case-standard.md): an action-condition-outcome title, preconditions, numbered one-action steps, test data by name, an exact expected result for every check (a negative case checks the message and that nothing happened), postconditions.
|
|
19
20
|
2c. **Coverage checklist.** Pick the feature types the story touches from [references/coverage-catalogs.md](references/coverage-catalogs.md) (login, forms, search, tables, CRUD, upload, cart and checkout, API). Rows the coverage minimum (3e) needs and the live site shows are included without asking; the other rows that apply are listed under "Proposed (not included)" for the user to add later. The test-case table (ID · What it checks · Type · Priority · Expected) is shown with "Shall I write these?" and code waits for the reply (the second checkpoint, [conversation.md](../orion/references/conversation.md)). A login story normally ends with 12 or more scenarios.
|
|
20
21
|
2d. **Imported test cases** keep their source IDs: map each to an AC (or to a ticked checklist row), keep its steps and expected result when they are clear, and list a missing expected result under Questions instead of dropping the case.
|
|
21
22
|
2e. **Checked against the app.** Test cases are designed after the app was explored (Gate 2), so each scenario's steps are matched to the UI map: `observed` (the map's rows cover every step), `top-up` (a step or page the map lacks, e.g. a ticked checklist row the walk didn't reach; the implementer observes just that before writing), or a **difference** (an imported case or the story names a page, field, button or message the app doesn't show, or shows differently): list it under Questions, never adopt the observed text as the expected result (3a). No map (`not observed`): say so once; the scenarios are `not checked against the app`.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# What a good test case looks like
|
|
2
|
+
|
|
3
|
+
Built on ISO/IEC/IEEE 29119-3 (test case specification), the ISTQB Foundation syllabus (test case design) and common tracker practice (Jira/Xray, TestRail, Zephyr). A manual tester must be able to run the case without asking anything, and two testers must reach the same verdict.
|
|
4
|
+
|
|
5
|
+
## Fields (every case)
|
|
6
|
+
| Field | Rule | Good | Bad |
|
|
7
|
+
|---|---|---|---|
|
|
8
|
+
| **ID** | `TS-n`, stable once shown | TS-6 | #6, 6a |
|
|
9
|
+
| **Title** | Action + condition + outcome, one behaviour, at most ~12 words | "Sign-in with a wrong password shows an error and stays signed out" | "Login test", "Verify login" |
|
|
10
|
+
| **Covers** | The AC id(s) it proves; a case with no AC says which checklist row it comes from | AC-4 | — |
|
|
11
|
+
| **Type** | positive · negative · boundary · edge (state, security, accessibility when chosen) | negative | — |
|
|
12
|
+
| **Priority** | High = breaks the main flow or security; Medium = a rule or message; Low = cosmetic. Say why in a few words | High: wrong accounts must never get in | — |
|
|
13
|
+
| **Preconditions** | Who is signed in (or signed out), fresh or reused session, the page, the data that must exist | Signed out, fresh browser, on the sign-in page | "User is ready" |
|
|
14
|
+
| **Test data** | Named values, synthetic, from the project's data file; secrets by variable name only | `E2E_USER`, wrong password `Wrong#123` | the real password |
|
|
15
|
+
| **Steps** | Numbered; one user action each; imperative; the UI's own words in **bold** | 1 Enter `E2E_USER` in **Email** · 2 Enter `Wrong#123` in **Password** · 3 Click **Login** | "Login with wrong data" |
|
|
16
|
+
| **Expected result** | Observable and exact: the text, the state, what changed and what didn't. Every check has a pass/fail answer | "Incorrect email or password." is shown (as seen on site); the form stays; Daily Work Summary doesn't open | "Error is shown", "works fine" |
|
|
17
|
+
| **Postconditions** | What the case leaves behind and how it is cleaned up | None: nothing is saved | — |
|
|
18
|
+
|
|
19
|
+
## Rules
|
|
20
|
+
1. **One behaviour per case.** Split "valid and invalid sign-in" into two cases.
|
|
21
|
+
2. **Every expected result is specific.** A negative case checks the message *and* that nothing happened (still signed out, nothing saved). "Stays signed out" alone is not enough when the page shows a message.
|
|
22
|
+
3. **Exact text: the story's, else the site's.** When the story states a text, use it. When it doesn't but the explorer saw one, use the seen text marked **(as seen on site)**; the test-case table shows the mark and the user's go approves it. A seen text that contradicts the story is a possible defect, never adopted.
|
|
23
|
+
4. **Independent and repeatable.** No case depends on another's result or order; data is unique per run and cleaned up; a case that would lock a shared account (repeated wrong passwords) says how often it runs.
|
|
24
|
+
5. **Plain words.** The UI's labels in **bold**, no code, no selectors, no "verify" without an object. A non-technical reviewer understands each step.
|
|
25
|
+
6. **Coverage beyond the happy path.** For each AC, add the negative, boundary and state cases the coverage catalog lists for that feature (`coverage-catalogs.md`), each marked as from the checklist, not from the story.
|
|
26
|
+
|
|
27
|
+
## In the chat (the test-case table)
|
|
28
|
+
`| ID | What it checks | Type | Priority | Expected result |`: *What it checks* is the case title; *Expected result* is the one-line exact outcome, with "(as seen on site)" where it applies. The full fields above show when the user asks for a case ("show me TS-6") and in every exported file.
|
|
29
|
+
|
|
30
|
+
## Sign-in (common catalog)
|
|
31
|
+
Valid sign-in lands on the signed-in page · wrong password: message, stays signed out · unknown email: same message (no hint which field was wrong) · empty fields: message or the button disabled · malformed email: the browser or app check, page doesn't move on · Enter in the password field submits · password hidden by default, show toggle reveals it · signed in after a reload · sign-out returns to sign-in and a reload stays signed out. Each is a case only when the user keeps it at the checkpoint.
|
|
@@ -61,7 +61,7 @@ Never: `browser_take_screenshot` with a `filename` (an explicit name is written
|
|
|
61
61
|
- An element the AC expects but the page doesn't show is a finding (possible defect or wrong navigation); don't invent a locator for it.
|
|
62
62
|
5. **Project locator.** When the project's framework is known (always in `top-up` and `heal`), write the locator in its language from the recorded forms, using the conversion tables only. Playwright in any language: syntax conversion of the generated locator. Selenium: the proven light selector (or the frame or shadow chain). Appium: the proven strategy in the client's syntax. A converted Selenium locator without a proof row is `unverified`.
|
|
63
63
|
6. **Existing page objects:** a reused locator counts as observed when the step that uses it succeeded in this walk, or when its tests passed in this run's baseline (`execution` baseline). Its row in the map says `reused, observed in <step>`.
|
|
64
|
-
7. **Observed text** (headings, messages) is recorded for navigation and as evidence. It
|
|
64
|
+
7. **Observed text** (headings, messages) is recorded for navigation and as evidence. It becomes an expected value only when the requirement states that text, or, where the requirement states none, marked **(as seen on site)** for the user to approve at the test-case checkpoint ([test-case-standard.md](../test-design/references/test-case-standard.md) rule 3); if it differs from the requirement, report it (possible defect or outdated story), don't adopt it.
|
|
65
65
|
8. **Data setup:** `browser_network_requests` (filter `/api/`) after a step that creates data shows the real endpoint and method the UI used; record method and path only (no headers or bodies). That is the evidence for API setup and cleanup.
|
|
66
66
|
9. **Screen keys.** Give each page or screen a short stable key from its route or title (`login`, `cart`, `product-detail`), the same key every story uses for that screen; the implementer fills `Page object` with the class that models it. A screen several stories use is kept once in `project-context/ui-maps/screens/<screen key>.md` and story maps refer to it, so it is explored once.
|
|
67
67
|
10. **Return the map** in full in the RESULT `Artifacts` (the orchestrator saves it as `project-context/ui-maps/<story>.md`; `top-up` and `heal` return only the new or changed rows with the date). Close the session (`browser_close`, session `delete`).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orion",
|
|
3
3
|
"displayName": "Orion",
|
|
4
|
-
"version": "3.4.
|
|
4
|
+
"version": "3.4.1",
|
|
5
5
|
"description": "Orion: AI test agents that work as one team. An orchestrator and 11 specialist agents, 42 skills and 8 quality gates that extend a project's existing test framework, with your approval at every write.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ahmad44980"
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@orion-qa/orion@3.4.
|
|
1
|
+
<p align="center"><img src="https://cdn.jsdelivr.net/npm/@orion-qa/orion@3.4.1/assets/orion-banner.svg" alt="Orion: AI test agents, one team. 12 agents that explore, design, build and prove." width="720"></p>
|
|
2
2
|
|
|
3
3
|
# Orion
|
|
4
4
|
|
|
@@ -33,7 +33,7 @@ No commands to learn. Typos, half sentences and any language work; anything that
|
|
|
33
33
|
`/orion …` still works as a shortcut where your tool has commands.
|
|
34
34
|
|
|
35
35
|
## How a run goes
|
|
36
|
-
[](https://cdn.jsdelivr.net/npm/@orion-qa/orion@3.4.1/assets/run-flow.svg)
|
|
37
37
|
|
|
38
38
|
1. **You ask**, and answer 8 quick setup questions (each has a default; reply **go**).
|
|
39
39
|
2. **Understand and explore:** the story becomes numbered acceptance criteria; the live app is explored in a real browser and every locator is proven.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orion-qa/orion",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "Orion: AI test agents that work as one team. They explore your live site, design test cases you approve, write Playwright, Selenium, Appium or API tests in your framework, run them and prove them. For Claude Code, Cursor, Copilot, Codex and Gemini CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"orion",
|