patchwise-agent-studio / tests /cases /o2c /O2C-ACC-002.yaml
EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
3.93 kB
# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-ACC-002
title: Receivables accounting transferred and posted to GL
module: O2C
process: Accounting
priority: P1
priority_rationale: "Transfer/post to GL; period-close blocker. I5 x C3 x U5 = 75 -> P1 (map row ACC-01 is P1, score 75). Usage placeholder drove\
\ tier: usage 4 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: 3
usage: 5
usage_basis: ASSUMED (placeholder until Scout usage counts)
risk: 15
score: 75
tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
usage_sensitive: true
map_ids:
- ACC-01
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
type: happy
tags:
- accounting
- ess
- gl
- o2c
- p1
roles:
- ar_specialist
- gl_accountant
preconditions:
- Open AR and GL periods (DR-O2C-PER-001).
data_recipes:
- DR-O2C-USR-001
- DR-O2C-AR-001
- DR-O2C-PER-001
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: Create Accounting
expected: Process 'Create Accounting' is selectable.
- n: 4
action: click
target:
role: button
name: OK
expected: Process Details dialog opens.
- n: 5
action: fill
target:
role: textbox
name: Subledger Application
value: Receivables
expected: Value accepted; no field-level error.
- n: 6
action: fill
target:
role: textbox
name: Ledger
value: "{{org.ledger}}"
expected: Value accepted; no field-level error.
- n: 7
action: fill
target:
role: textbox
name: End Date
value: "{{dates.today}}"
expected: Value accepted; no field-level error.
- n: 8
action: fill
target:
role: textbox
name: Accounting Mode
value: Final
expected: Value accepted; no field-level error.
- n: 9
action: fill
target:
role: textbox
name: Transfer to General Ledger
value: 'Yes'
expected: Value accepted; no field-level error.
- n: 10
action: fill
target:
role: textbox
name: Post in General Ledger
value: 'Yes'
expected: Value accepted; no field-level error.
- n: 11
action: click
target:
role: button
name: Submit
expected: "Confirmation dialog shows a process ID; capture as {{run.process_id}}."
- n: 12
action: wait_for
target:
role: cell
name: Status
value: "{{run.process_id}}"
expected: Process and children succeed.
- n: 13
action: login_as
value: "{{users.gl_accountant}}"
expected: Home page loads for the gl_accountant test user; no error banner.
- n: 14
action: navigate
value: "{{nav.journals}}"
expected: Work area 'journals' opens (path resolved from ui-glossary nav map).
- n: 15
action: click
target:
role: link
name: Manage Journals
note: Tasks panel link
expected: "'Manage Journals' page opens."
- n: 16
action: fill
target:
role: textbox
name: Source
value: Receivables
expected: Value accepted; no field-level error.
- n: 17
action: click
target:
role: button
name: Search
expected: "Posted journal for {{dates.today}} contains Dr Receivable 583.20 for the test invoice."
expected_result: "Posted journal for {{dates.today}} contains Dr Receivable 583.20 for the test invoice."
notes:
- Posting affects GL balances on a shared test pod; agree with pod owner.
- Runs against a mock prove only the mock, never Oracle Fusion.