Download tests/cases/o2c/O2C-OM-008.yaml from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 2.46 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-OM-008.yaml
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/tests/cases/o2c/O2C-OM-008.yaml
-
curl -L -o O2C-OM-008.yaml https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-OM-008.yaml
2.46 kB
| # Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod. | |
| id: O2C-OM-008 | |
| title: Copy an existing order and resubmit | |
| module: O2C | |
| process: Order capture | |
| priority: P4 | |
| priority_rationale: Convenience feature; low impact. I2 x C3 x U2 = 12 -> P4 (map row ORD-05 is P4, score 12). | |
| 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: 2 | |
| change_likelihood: 3 | |
| usage: 2 | |
| usage_basis: ASSUMED (placeholder until Scout usage counts) | |
| risk: 6 | |
| score: 12 | |
| tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20 | |
| usage_sensitive: false | |
| map_ids: | |
| - ORD-05 | |
| verification: UNVERIFIED | |
| approval_status: draft - pending consultant approval (architecture approval gate) | |
| client_questions: | |
| - O2C-Q01 | |
| - O2C-Q04 | |
| type: happy | |
| tags: | |
| - o2c | |
| - order-management | |
| - p4 | |
| roles: | |
| - order_entry | |
| preconditions: | |
| - Source order exists. | |
| data_recipes: | |
| - DR-O2C-USR-001 | |
| - DR-O2C-ORD-001 | |
| steps: | |
| - n: 1 | |
| action: login_as | |
| value: "{{users.order_entry}}" | |
| expected: Home page loads for the order_entry test user; no error banner. | |
| - n: 2 | |
| action: navigate | |
| value: "{{nav.order_management}}" | |
| expected: Work area 'order_management' opens (path resolved from ui-glossary nav map). | |
| - n: 3 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Order | |
| value: "{{data.awaiting_ship_order_number}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 4 | |
| action: click | |
| target: | |
| role: button | |
| name: Search | |
| expected: Matching row is returned in the results table. | |
| - n: 5 | |
| action: click | |
| target: | |
| role: link | |
| name: "{{data.awaiting_ship_order_number}}" | |
| expected: Order page opens. | |
| - n: 6 | |
| action: click | |
| target: | |
| role: button | |
| name: Actions | |
| expected: Action completes without error. | |
| - n: 7 | |
| action: click | |
| target: | |
| role: menuitem | |
| name: Copy Order | |
| expected: Copy dialog. | |
| - n: 8 | |
| action: click | |
| target: | |
| role: button | |
| name: OK | |
| expected: "New draft order with same customer, item, quantity 5; new number captured {{run.order_number}}." | |
| - n: 9 | |
| action: click | |
| target: | |
| role: button | |
| name: Submit | |
| expected: Copied order submits; price re-evaluated at 108.00 (not copied blindly). | |
| expected_result: Copied order submits; price re-evaluated at 108.00 (not copied blindly). | |
| notes: | |
| - Runs against a mock prove only the mock, never Oracle Fusion. | |