Download tests/cases/o2c/O2C-CUS-001.yaml from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 2.68 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-CUS-001.yaml
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/tests/cases/o2c/O2C-CUS-001.yaml
-
curl -L -o O2C-CUS-001.yaml https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-CUS-001.yaml
2.68 kB
| # Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod. | |
| id: O2C-CUS-001 | |
| title: Create customer with account, site and bill-to/ship-to uses | |
| module: O2C | |
| process: Customer mgmt | |
| priority: P2 | |
| priority_rationale: "Master data feeds every order. I4 x C3 x U4 = 48 -> P2 (map row CUS-01 is P2, score 48). Usage placeholder drove tier: usage\ | |
| \ 3 would give P3." | |
| priority_source: case-level risk x usage (analysis/o2c-coverage-map.md §4 method) scored on what this case tests; not the row tier | |
| priority_score: | |
| impact: 4 | |
| change_likelihood: 3 | |
| usage: 4 | |
| usage_basis: ASSUMED (placeholder until Scout usage counts) | |
| risk: 12 | |
| score: 48 | |
| tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20 | |
| usage_sensitive: true | |
| map_ids: | |
| - CUS-01 | |
| verification: UNVERIFIED | |
| approval_status: draft - pending consultant approval (architecture approval gate) | |
| type: happy | |
| tags: | |
| - customer | |
| - master-data | |
| - o2c | |
| - p2 | |
| roles: | |
| - customer_admin | |
| preconditions: | |
| - Synthetic customer data only. | |
| data_recipes: | |
| - DR-O2C-USR-001 | |
| - DR-O2C-CUS-001 | |
| steps: | |
| - n: 1 | |
| action: login_as | |
| value: "{{users.customer_admin}}" | |
| expected: Home page loads for the customer_admin test user; no error banner. | |
| - n: 2 | |
| action: navigate | |
| value: "{{nav.customers}}" | |
| expected: Work area 'customers' opens (path resolved from ui-glossary nav map). | |
| - n: 3 | |
| action: click | |
| target: | |
| role: button | |
| name: Create | |
| expected: Create Customer page. | |
| - n: 4 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Organization Name | |
| value: "ZZ Test Customer {{run.suffix}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 5 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Account Number | |
| value: "ZZ-{{run.suffix}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 6 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Address Line 1 | |
| value: "{{data.synthetic_address}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 7 | |
| action: click | |
| target: | |
| role: checkbox | |
| name: Bill-to | |
| expected: Action completes without error. | |
| - n: 8 | |
| action: click | |
| target: | |
| role: checkbox | |
| name: Ship-to | |
| expected: Action completes without error. | |
| - n: 9 | |
| action: click | |
| target: | |
| role: button | |
| name: Save and Close | |
| expected: Customer, account, site with bill-to and ship-to uses created. | |
| - n: 10 | |
| action: verify_api | |
| target: | |
| method: GET | |
| path: "{{env.rest_base}}/accounts?q=AccountNumber='ZZ-{{run.suffix}}'" | |
| expected: Account active with 2 site uses. | |
| expected_result: Account active with 2 site uses. | |
| notes: | |
| - Runs against a mock prove only the mock, never Oracle Fusion. | |