patchwise-agent-studio / tests /cases /o2c /O2C-AR-007.yaml
EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
2.63 kB
# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-AR-007
title: Tax exemption applied to an exempt customer
module: O2C
process: Billing
priority: P3
priority_rationale: "Exempt customers; frequency ASSUMED low. I4 x C4 x U2 = 32 -> P3 (map row BIL-05 is P1, score 80). 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:
- BIL-05
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- X-Q13
type: negative
tags:
- ar
- exemption
- o2c
- p3
- tax
roles:
- billing_specialist
preconditions:
- None beyond referenced data recipes.
data_recipes:
- DR-O2C-USR-001
- DR-O2C-TAX-001
- DR-O2C-CUS-003
- DR-O2C-AR-002
test_values:
amount: 540.0
tax: 0.0
steps:
- n: 1
action: login_as
value: "{{users.billing_specialist}}"
expected: Home page loads for the billing_specialist test user; no error banner.
- n: 2
action: navigate
value: "{{nav.billing}}"
expected: Work area 'billing' opens (path resolved from ui-glossary nav map).
- n: 3
action: click
target:
role: link
name: Create Transaction
note: Tasks panel link
expected: "'Create Transaction' page opens."
- n: 4
action: fill
target:
role: combobox
name: Transaction Source
value: "{{data.ar_source_manual}}"
expected: Value accepted; no field-level error.
- n: 5
action: fill
target:
role: combobox
name: Bill-to Name
value: "{{data.exempt_customer_name}}"
expected: Value accepted; no field-level error.
- n: 6
action: fill
target:
role: textbox
name: Memo Line
value: "{{data.memo_line}}"
expected: Value accepted; no field-level error.
- n: 7
action: fill
target:
role: textbox
name: Unit Price
value: '540.00'
expected: Value accepted; no field-level error.
- n: 8
action: click
target:
role: button
name: Complete and Close
expected: "Tax 0.00 (exemption certificate {{data.exemption_number}} applied); total 540.00."
expected_result: "Tax 0.00 (exemption certificate {{data.exemption_number}} applied); total 540.00."
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.