patchwise-agent-studio / tests /cases /o2c /O2C-OM-004.yaml
EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
2.49 kB
# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-OM-004
title: Revising a shipped line is blocked
module: O2C
process: Order capture
priority: P3
priority_rationale: "Change-after-ship guard; rare user action. I3 x C4 x U2 = 24 -> P3 (map row ORD-03 is P2, score 64). 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: 3
change_likelihood: 4
usage: 2
usage_basis: ASSUMED (placeholder until Scout usage counts)
risk: 12
score: 24
tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
usage_sensitive: true
map_ids:
- ORD-03
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- O2C-Q01
- O2C-Q04
type: negative
tags:
- change-order
- negative
- o2c
- order-management
- p3
roles:
- order_entry
preconditions:
- Shipped order (DR-O2C-ORD-003).
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: Revise
expected: Action completes without error.
- n: 7
action: click
target:
role: link
name: Line 1
expected: Action completes without error.
- n: 8
action: verify
target:
role: spinbutton
name: Quantity
expected: Quantity is read-only (line shipped) or submit returns a 'line is closed/shipped' error; shipped quantity 5 unchanged.
expected_result: Quantity is read-only (line shipped) or submit returns a 'line is closed/shipped' error; shipped quantity 5 unchanged.
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.