Download tests/cases/o2c/O2C-AR-001.yaml from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 3.98 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-AR-001.yaml
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/tests/cases/o2c/O2C-AR-001.yaml
-
curl -L -o O2C-AR-001.yaml https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-AR-001.yaml
3.98 kB
| # Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod. | |
| id: O2C-AR-001 | |
| title: AutoInvoice creates the AR invoice for a shipped order with correct amounts | |
| module: O2C | |
| process: Billing | |
| priority: P1 | |
| priority_rationale: "Main billing path: AutoInvoice for shipped orders. I5 x C4 x U5 = 100 -> P1 (map row BIL-01 is P1, score 100)." | |
| 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: 4 | |
| usage: 5 | |
| usage_basis: ASSUMED (placeholder until Scout usage counts) | |
| risk: 20 | |
| score: 100 | |
| tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20 | |
| usage_sensitive: false | |
| map_ids: | |
| - BIL-01 | |
| verification: UNVERIFIED | |
| approval_status: draft - pending consultant approval (architecture approval gate) | |
| client_questions: | |
| - O2C-Q08 | |
| type: happy | |
| tags: | |
| - ar | |
| - autoinvoice | |
| - ess | |
| - o2c | |
| - p1 | |
| - smoke | |
| roles: | |
| - billing_specialist | |
| preconditions: | |
| - Shipped, uninvoiced order (DR-O2C-ORD-003). | |
| data_recipes: | |
| - DR-O2C-USR-001 | |
| - DR-O2C-ORD-003 | |
| - DR-O2C-AR-002 | |
| - DR-O2C-TAX-001 | |
| - DR-O2C-PER-001 | |
| test_values: | |
| qty: 5 | |
| unit_price: 108.0 | |
| line_amount: 540.0 | |
| tax: 43.2 | |
| total: 583.2 | |
| rejected_lines: 0 | |
| steps: | |
| - n: 1 | |
| action: navigate | |
| value: "{{nav.scheduled_processes}}" | |
| expected: Work area 'scheduled_processes' opens (path resolved from ui-glossary nav map). | |
| - n: 2 | |
| action: click | |
| target: | |
| role: button | |
| name: Schedule New Process | |
| expected: Schedule New Process dialog opens. | |
| - n: 3 | |
| action: fill | |
| target: | |
| role: combobox | |
| name: Name | |
| value: Import AutoInvoice | |
| expected: Process 'Import AutoInvoice' is selectable. | |
| - n: 4 | |
| action: click | |
| target: | |
| role: button | |
| name: OK | |
| expected: Process Details dialog opens. | |
| - n: 5 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Business Unit | |
| value: "{{org.o2c_bu}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 6 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Transaction Source | |
| value: "{{data.ar_source_om}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 7 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Default Date | |
| value: "{{dates.today}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 8 | |
| action: click | |
| target: | |
| role: button | |
| name: Submit | |
| expected: "Confirmation dialog shows a process ID; capture as {{run.process_id}}." | |
| - n: 9 | |
| action: wait_for | |
| target: | |
| role: cell | |
| name: Status | |
| value: "{{run.process_id}}" | |
| expected: AutoInvoice succeeds; execution report shows 1 transaction imported, 0 rejected. | |
| - n: 10 | |
| action: login_as | |
| value: "{{users.billing_specialist}}" | |
| expected: Home page loads for the billing_specialist test user; no error banner. | |
| - n: 11 | |
| action: navigate | |
| value: "{{nav.billing}}" | |
| expected: Work area 'billing' opens (path resolved from ui-glossary nav map). | |
| - n: 12 | |
| action: click | |
| target: | |
| role: link | |
| name: Manage Transactions | |
| note: Tasks panel link | |
| expected: "'Manage Transactions' page opens." | |
| - n: 13 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Sales Order | |
| value: "{{data.shipped_order_number}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 14 | |
| action: click | |
| target: | |
| role: button | |
| name: Search | |
| expected: "One invoice for the order; capture {{run.ar_invoice_number}}." | |
| - n: 15 | |
| action: click | |
| target: | |
| role: link | |
| name: "{{run.ar_invoice_number}}" | |
| expected: Action completes without error. | |
| - n: 16 | |
| action: verify | |
| target: | |
| role: cell | |
| name: Total | |
| expected: "Line 5 x 108.00 = 540.00; tax 43.20; total 583.20; status Complete; due date per {{data.payment_terms}}." | |
| expected_result: "Line 5 x 108.00 = 540.00; tax 43.20; total 583.20; status Complete; due date per {{data.payment_terms}}." | |
| notes: | |
| - Runs against a mock prove only the mock, never Oracle Fusion. | |