Download tests/cases/o2c/O2C-INT-003.yaml from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 3.73 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-INT-003.yaml
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/tests/cases/o2c/O2C-INT-003.yaml
-
curl -L -o O2C-INT-003.yaml https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/o2c/O2C-INT-003.yaml
3.73 kB
| # Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod. | |
| id: O2C-INT-003 | |
| title: Order Management extensions, flexfields and page extensions still run and save | |
| module: O2C | |
| process: Integrations / reports | |
| priority: P1 | |
| priority_rationale: "OM extensions run custom code on every order; a patch-changed API breaks submit for all orders. I5 x C5 x U3 = 75 -> P1 (map\ | |
| \ row O2C:INT-05 is P1, score 75). Usage placeholder drove tier: usage 2 would give P2." | |
| 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: 5 | |
| usage: 3 | |
| usage_basis: ASSUMED (placeholder until Scout usage counts) | |
| risk: 25 | |
| score: 75 | |
| tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20 | |
| usage_sensitive: true | |
| map_ids: | |
| - "O2C:INT-05" | |
| - ORD-01 | |
| verification: UNVERIFIED | |
| approval_status: draft - pending consultant approval (architecture approval gate) | |
| client_questions: | |
| - O2C-Q01 | |
| - O2C-Q04 | |
| - X-Q08 | |
| - X-Q09 | |
| type: happy | |
| tags: | |
| - data-driven | |
| - extension | |
| - integration | |
| - o2c | |
| - order-management | |
| - p1 | |
| roles: | |
| - order_entry | |
| preconditions: | |
| - Extension inventory from pod prober (DR-O2C-INT-003). | |
| data_recipes: | |
| - DR-O2C-USR-001 | |
| - DR-O2C-CUS-001 | |
| - DR-O2C-ITM-001 | |
| - DR-O2C-INT-003 | |
| steps: | |
| - n: 1 | |
| action: for_each | |
| target: | |
| source: DR-O2C-INT-003.om_extensions | |
| expected: "For each inventoried OM extension (on-save / on-submit / on-start-of-submission): create an order that triggers it as order_entry;\ | |
| \ the extension's documented effect occurs (e.g. a validation message, a defaulted attribute) and submit is not broken for a compliant order." | |
| - n: 2 | |
| action: login_as | |
| value: "{{users.order_entry}}" | |
| expected: Home page loads for the order_entry test user; no error banner. | |
| - n: 3 | |
| action: navigate | |
| value: "{{nav.order_management}}" | |
| expected: Work area 'order_management' opens (path resolved from ui-glossary nav map). | |
| - n: 4 | |
| action: click | |
| target: | |
| role: link | |
| name: Create Order | |
| note: Tasks panel link | |
| expected: Create Order page opens. | |
| - n: 5 | |
| 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: 6 | |
| action: fill | |
| target: | |
| role: combobox | |
| name: Business Unit | |
| value: "{{org.o2c_bu}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 7 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Purchase Order | |
| value: "ZZ-CPO-{{run.suffix}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 8 | |
| action: fill | |
| target: | |
| role: searchbox | |
| name: Search Item | |
| value: "{{data.o2c_item}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 9 | |
| action: fill | |
| target: | |
| role: spinbutton | |
| name: Quantity | |
| value: '5' | |
| expected: Value accepted; no field-level error. | |
| - n: 10 | |
| action: click | |
| target: | |
| role: button | |
| name: Add | |
| expected: "Line added: item {{data.o2c_item}}, quantity 5." | |
| - n: 11 | |
| action: click | |
| target: | |
| role: button | |
| name: Submit | |
| expected: "Compliant order (5 x item, PO number present) submits successfully: extensions did not break submit." | |
| - n: 12 | |
| action: for_each | |
| target: | |
| source: DR-O2C-INT-003.page_extensions | |
| expected: Each inventoried flexfield/page extension renders on the order page and its value saves. | |
| expected_result: Each inventoried flexfield/page extension renders on the order page and its value saves. | |
| notes: | |
| - Usage 3 is the map's ASSUMED value; the count of extensions is POD-REQUIRED. | |
| - Runs against a mock prove only the mock, never Oracle Fusion. | |