patchwise-agent-studio / tests /cases /o2c /O2C-CUS-004.yaml
EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
2.79 kB
# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-CUS-004
title: "Customer payment details: terms, receipt method, masked bank/card"
module: O2C
process: Customer mgmt
priority: P2
priority_rationale: "Payment details drive cash; masking is a control. I5 x C3 x U3 = 45 -> P2 (map row CUS-02 is P2, score 45). Usage placeholder\
\ drove tier: usage 2 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: 5
change_likelihood: 3
usage: 3
usage_basis: ASSUMED (placeholder until Scout usage counts)
risk: 15
score: 45
tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
usage_sensitive: true
map_ids:
- CUS-02
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- O2C-Q13
type: happy
tags:
- customer
- masking
- o2c
- p2
- payment-details
roles:
- customer_admin
preconditions:
- Synthetic bank data; sandbox card token.
data_recipes:
- DR-O2C-USR-001
- DR-O2C-CUS-004
steps:
- n: 1
action: login_as
value: "{{users.customer_admin}}"
expected: Home page loads for the customer_admin test user; no error banner.
- n: 2
action: navigate
value: "{{nav.customers}}"
expected: Work area 'customers' opens (path resolved from ui-glossary nav map).
- n: 3
action: fill
target:
role: textbox
name: Organization Name
value: "{{data.customer_name}}"
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.customer_name}}"
expected: Action completes without error.
- n: 6
action: click
target:
role: tab
name: Payment Details
expected: Action completes without error.
- n: 7
action: select
target:
role: combobox
name: Payment Terms
value: "{{data.payment_terms}}"
expected: Value selected and shown in field.
- n: 8
action: select
target:
role: combobox
name: Receipt Method
value: "{{data.receipt_method}}"
expected: Value selected and shown in field.
- n: 9
action: click
target:
role: button
name: Save and Close
expected: Terms and receipt method saved.
- n: 10
action: verify
target:
role: cell
name: Bank Account
expected: Synthetic TEST bank account shown masked; card shown only as sandbox token.
expected_result: Synthetic TEST bank account shown masked; card shown only as sandbox token.
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.