patchwise-agent-studio / tests /cases /o2c /O2C-COL-003.yaml
EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
3.97 kB
# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-COL-003
title: Aging report buckets and customer statement totals
module: O2C
process: Adjustments & collections
priority: P2
priority_rationale: "Aging used monthly by AR and auditors. I4 x C3 x U4 = 48 -> P2 (map row COL-03 is P2, score 48). 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: 4
change_likelihood: 3
usage: 4
usage_basis: ASSUMED (placeholder until Scout usage counts)
risk: 12
score: 48
tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
usage_sensitive: true
map_ids:
- COL-03
- "O2C:INT-03"
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- O2C-Q10
- X-Q08
- X-Q09
type: happy
tags:
- aging
- collections
- o2c
- p2
- reports
roles:
- ar_manager
preconditions:
- None beyond referenced data recipes.
data_recipes:
- DR-O2C-USR-001
- DR-O2C-AR-006
test_values:
current: 583.2
b31_60: 432.0
total: 1015.2
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: Aging - 7 Buckets Report
expected: Process 'Aging - 7 Buckets Report' 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: Customer
value: "{{data.overdue_customer_name}}"
expected: Value accepted; no field-level error.
- n: 7
action: fill
target:
role: textbox
name: As-of 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: Report succeeds.
- n: 10
action: verify_file
target:
source: "{{run.aging_output}}"
expected: Current 583.20 (due in 10 days); 31-60 days 432.00 (45 days past due); total 1,015.20 (bucket set ASSUMED).
- n: 11
action: navigate
value: "{{nav.scheduled_processes}}"
expected: Work area 'scheduled_processes' opens (path resolved from ui-glossary nav map).
- n: 12
action: click
target:
role: button
name: Schedule New Process
expected: Schedule New Process dialog opens.
- n: 13
action: fill
target:
role: combobox
name: Name
value: Print Statements
expected: Process 'Print Statements' is selectable.
- n: 14
action: click
target:
role: button
name: OK
expected: Process Details dialog opens.
- n: 15
action: fill
target:
role: textbox
name: Customer
value: "{{data.overdue_customer_name}}"
expected: Value accepted; no field-level error.
- n: 16
action: click
target:
role: button
name: Submit
expected: "Confirmation dialog shows a process ID; capture as {{run.process_id}}."
- n: 17
action: wait_for
target:
role: cell
name: Status
value: "{{run.process_id}}"
expected: Statement lists both invoices and total 1,015.20.
expected_result: Statement lists both invoices and total 1,015.20.
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.