patchwise-agent-studio / tests /cases /exp /EXP-RPT-009.yaml
EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
2.19 kB
# Fusion EXP test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: EXP-RPT-009
title: Per diem expense
module: EXP
process: Expense entry
priority: P3
priority_rationale: "If used. I4 x C3 x U2 = 24 -> P3 (map row EXP:EXP-05 is P3, score 24). Usage placeholder drove tier: usage 1 would give P4."
priority_source: case-level risk x usage (analysis/expenses-coverage-map.md §4 method) scored on what this case tests; not the row tier
priority_score:
impact: 4
change_likelihood: 3
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:
- "EXP:EXP-05"
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- EXP-Q02
type: happy
tags:
- conditional
- exp
- p3
- per-diem
roles:
- employee
preconditions:
- None beyond referenced data recipes.
data_recipes:
- DR-EXP-USR-001
- DR-EXP-ORG-001
- DR-EXP-POL-001
test_values:
days: 2
rate: 60.00 (ASSUMED)
amount: 120.0
steps:
- n: 1
action: login_as
value: "{{users.employee}}"
expected: Home page loads for the employee test user; no error banner.
- n: 2
action: navigate
value: "{{nav.expenses}}"
expected: Work area 'expenses' opens (path resolved from ui-glossary nav map).
- n: 3
action: click
target:
role: button
name: Create Report
expected: Create Expense Report page.
- n: 4
action: fill
target:
role: textbox
name: Purpose
value: "ZZ trip {{run.suffix}}"
expected: Value accepted; no field-level error.
- n: 5
action: click
target:
role: button
name: Create Per Diem
expected: Action completes without error.
- n: 6
action: fill
target:
role: textbox
name: Days
value: '2'
expected: Value accepted; no field-level error.
- n: 7
action: click
target:
role: button
name: Save
expected: 2 x 60.00 (ASSUMED rate) = 120.00.
expected_result: 2 x 60.00 (ASSUMED rate) = 120.00.
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.