Download tests/cases/o2c/O2C-OM-005.yaml from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 6.57 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-OM-005.yaml
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/tests/cases/o2c/O2C-OM-005.yaml
-
curl -L -o O2C-OM-005.yaml https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-OM-005.yaml
6.57 kB
| # Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod. | |
| id: O2C-OM-005 | |
| title: Manual order hold blocks pick release until released | |
| module: O2C | |
| process: Order capture | |
| priority: P2 | |
| priority_rationale: "Holds stop fulfillment; wrong behaviour ships held orders. I5 x C3 x U4 = 60 -> P2 (map row ORD-07 is P2, score 60). Usage\ | |
| \ placeholder drove tier: usage 5 would give P1." | |
| 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: 5 | |
| change_likelihood: 3 | |
| usage: 4 | |
| usage_basis: ASSUMED (placeholder until Scout usage counts) | |
| risk: 15 | |
| score: 60 | |
| tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20 | |
| usage_sensitive: true | |
| map_ids: | |
| - ORD-07 | |
| verification: UNVERIFIED | |
| approval_status: draft - pending consultant approval (architecture approval gate) | |
| client_questions: | |
| - O2C-Q01 | |
| - O2C-Q04 | |
| type: negative | |
| tags: | |
| - holds | |
| - o2c | |
| - order-management | |
| - p2 | |
| roles: | |
| - order_entry | |
| - order_manager | |
| preconditions: | |
| - Manual hold code exists (POD-REQUIRED). | |
| data_recipes: | |
| - DR-O2C-USR-001 | |
| - DR-O2C-CUS-001 | |
| - DR-O2C-ITM-001 | |
| - DR-O2C-PRC-001 | |
| - DR-O2C-ORG-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: click | |
| target: | |
| role: link | |
| name: Create Order | |
| note: Tasks panel link | |
| expected: Create Order page opens. | |
| - n: 4 | |
| action: fill | |
| target: | |
| role: combobox | |
| name: Customer | |
| value: "{{data.customer_name}}" | |
| expected: Bill-to account, bill-to site and ship-to default from the customer. | |
| - n: 5 | |
| action: fill | |
| target: | |
| role: combobox | |
| name: Business Unit | |
| value: "{{org.o2c_bu}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 6 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Purchase Order | |
| value: "ZZ-CPO-{{run.suffix}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 7 | |
| action: fill | |
| target: | |
| role: searchbox | |
| name: Search Item | |
| value: "{{data.o2c_item}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 8 | |
| action: fill | |
| target: | |
| role: spinbutton | |
| name: Quantity | |
| value: '5' | |
| expected: Value accepted; no field-level error. | |
| - n: 9 | |
| action: click | |
| target: | |
| role: button | |
| name: Add | |
| expected: "Line added: item {{data.o2c_item}}, quantity 5." | |
| - n: 10 | |
| action: click | |
| target: | |
| role: button | |
| name: Submit | |
| expected: "Order submitted; status 'Processing' (or 'Awaiting Shipping'); capture {{run.order_number}}." | |
| - n: 11 | |
| action: login_as | |
| value: "{{users.order_entry}}" | |
| expected: Home page loads for the order_entry test user; no error banner. | |
| - n: 12 | |
| action: navigate | |
| value: "{{nav.order_management}}" | |
| expected: Work area 'order_management' opens (path resolved from ui-glossary nav map). | |
| - n: 13 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Order | |
| value: "{{run.order_number}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 14 | |
| action: click | |
| target: | |
| role: button | |
| name: Search | |
| expected: Matching row is returned in the results table. | |
| - n: 15 | |
| action: click | |
| target: | |
| role: link | |
| name: "{{run.order_number}}" | |
| expected: Order page opens. | |
| - n: 16 | |
| action: click | |
| target: | |
| role: button | |
| name: Actions | |
| expected: Action completes without error. | |
| - n: 17 | |
| action: click | |
| target: | |
| role: menuitem | |
| name: Apply Hold | |
| expected: Apply Hold dialog. | |
| - n: 18 | |
| action: select | |
| target: | |
| role: combobox | |
| name: Hold Name | |
| value: "{{holds.om_manual_hold}}" | |
| expected: Value selected and shown in field. | |
| - n: 19 | |
| action: click | |
| target: | |
| role: button | |
| name: OK | |
| expected: Hold applied; line status 'On Hold'. | |
| - n: 20 | |
| action: navigate | |
| value: "{{nav.scheduled_processes}}" | |
| expected: Work area 'scheduled_processes' opens (path resolved from ui-glossary nav map). | |
| - n: 21 | |
| action: click | |
| target: | |
| role: button | |
| name: Schedule New Process | |
| expected: Schedule New Process dialog opens. | |
| - n: 22 | |
| action: fill | |
| target: | |
| role: combobox | |
| name: Name | |
| value: Create Pick Wave | |
| expected: Process 'Create Pick Wave' is selectable. | |
| - n: 23 | |
| action: click | |
| target: | |
| role: button | |
| name: OK | |
| expected: Process Details dialog opens. | |
| - n: 24 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Order | |
| value: "{{run.order_number}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 25 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Ship-from Organization | |
| value: "{{org.ship_from_org}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 26 | |
| action: click | |
| target: | |
| role: button | |
| name: Submit | |
| expected: "Confirmation dialog shows a process ID; capture as {{run.process_id}}." | |
| - n: 27 | |
| action: wait_for | |
| target: | |
| role: cell | |
| name: Status | |
| value: "{{run.process_id}}" | |
| expected: "Pick wave log: 0 lines released (line on hold)." | |
| - n: 28 | |
| action: login_as | |
| value: "{{users.order_manager}}" | |
| expected: Home page loads for the order_manager test user; no error banner. | |
| - n: 29 | |
| action: navigate | |
| value: "{{nav.order_management}}" | |
| expected: Work area 'order_management' opens (path resolved from ui-glossary nav map). | |
| - n: 30 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Order | |
| value: "{{run.order_number}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 31 | |
| action: click | |
| target: | |
| role: button | |
| name: Search | |
| expected: Matching row is returned in the results table. | |
| - n: 32 | |
| action: click | |
| target: | |
| role: link | |
| name: "{{run.order_number}}" | |
| expected: Order page opens. | |
| - n: 33 | |
| action: click | |
| target: | |
| role: button | |
| name: Actions | |
| expected: Action completes without error. | |
| - n: 34 | |
| action: click | |
| target: | |
| role: menuitem | |
| name: Release Hold | |
| expected: Action completes without error. | |
| - n: 35 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Comments | |
| value: ZZ test release | |
| expected: Value accepted; no field-level error. | |
| - n: 36 | |
| action: click | |
| target: | |
| role: button | |
| name: OK | |
| expected: Hold released; line Awaiting Shipping. | |
| expected_result: Hold released; line Awaiting Shipping. | |
| notes: | |
| - Runs against a mock prove only the mock, never Oracle Fusion. | |