patchwise-agent-studio / tests /cases /o2c /O2C-OM-009.yaml
EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
2.91 kB
# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-OM-009
title: Configured (ATO/PTO) item order
module: O2C
process: Order capture
priority: P3
priority_rationale: "Only if client sells configurable items; usage ASSUMED low. I4 x C4 x U2 = 32 -> P3 (map row ORD-06 is P3, score 32). Usage\
\ placeholder drove tier: usage 1 would give P4."
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: 4
usage: 2
usage_basis: ASSUMED (placeholder until Scout usage counts)
risk: 16
score: 32
tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
usage_sensitive: true
map_ids:
- ORD-06
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- O2C-Q01
- O2C-Q04
type: happy
tags:
- conditional
- configurator
- o2c
- order-management
- p3
roles:
- order_entry
preconditions:
- Configurable model exists (POD-REQUIRED; skip if not used).
data_recipes:
- DR-O2C-USR-001
- DR-O2C-CUS-001
- DR-O2C-ITM-002
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: Value accepted; no field-level error.
- n: 5
action: fill
target:
role: searchbox
name: Search Item
value: "{{data.configured_item}}"
expected: Value accepted; no field-level error.
- n: 6
action: fill
target:
role: spinbutton
name: Quantity
value: '1'
expected: Value accepted; no field-level error.
- n: 7
action: click
target:
role: button
name: Configure
expected: "Configurator opens with model {{data.configured_item}}."
- n: 8
action: select
target:
role: combobox
name: "{{data.config_option_attr}}"
value: "{{data.config_option_value}}"
expected: Option selected; price updates by option price.
- n: 9
action: click
target:
role: button
name: Finish
expected: Configured line returned to order with child lines.
- n: 10
action: click
target:
role: button
name: Submit
expected: Order submitted with model + option lines.
expected_result: Order submitted with model + option lines.
notes:
- "Usage-sensitive: P2 if the client sells configured items daily."
- Runs against a mock prove only the mock, never Oracle Fusion.