patchwise-agent-studio / tests /cases /o2c /O2C-OM-007.yaml
EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
2.3 kB
# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-OM-007
title: Cancel after ship is blocked
module: O2C
process: Order capture
priority: P4
priority_rationale: "Rare negative. I3 x C3 x U2 = 18 -> P4 (map row ORD-04 is P3, score 36). Usage placeholder drove tier: usage 3 would give\
\ P3."
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: 3
change_likelihood: 3
usage: 2
usage_basis: ASSUMED (placeholder until Scout usage counts)
risk: 9
score: 18
tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
usage_sensitive: true
map_ids:
- ORD-04
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- O2C-Q01
- O2C-Q04
type: negative
tags:
- cancel
- negative
- o2c
- order-management
- p4
roles:
- order_entry
preconditions:
- Shipped order.
data_recipes:
- DR-O2C-USR-001
- DR-O2C-ORD-003
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.shipped_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.shipped_order_number}}"
expected: Order page opens.
- n: 6
action: click
target:
role: button
name: Actions
expected: Action completes without error.
- n: 7
action: verify
target:
role: menuitem
name: Cancel Order
expected: Cancel Order disabled for a fully shipped order, or submit returns an error; status stays Shipped/Closed.
expected_result: Cancel Order disabled for a fully shipped order, or submit returns an error; status stays Shipped/Closed.
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.