patchwise-agent-studio / tests /cases /ppm /PPM-RAT-001.yaml
EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
2.67 kB
# Fusion PPM test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: PPM-RAT-001
title: Annual rate and burden multiplier update with true-up
module: PPM
process: Rates
priority: P4
priority_rationale: "Event-driven: annual rate change. I5 x C3 x U1 = 15 -> P4 (map row PPM:RAT-01 is P4, score 15). Usage placeholder drove tier:\
\ usage 2 would give P3."
priority_source: case-level risk x usage (analysis/ppm-coverage-map.md §4 method) scored on what this case tests; not the row tier
priority_score:
impact: 5
change_likelihood: 3
usage: 1
usage_basis: ASSUMED (placeholder until Scout usage counts)
risk: 15
score: 15
tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
usage_sensitive: true
map_ids:
- "PPM:RAT-01"
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
schedule: event-driven
client_questions:
- PPM-Q04
- PPM-Q10
type: regression
tags:
- burden
- event-driven
- p4
- ppm
- rates
roles:
- project_accountant
preconditions:
- None beyond referenced data recipes.
data_recipes:
- DR-PPM-USR-001
- DR-PPM-PRJ-001
- DR-PPM-RAT-001
test_values:
new_rate: 52.0
raw: 520.0
burden: 22%
burdened: 634.4
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: Update Rate Schedules
expected: Process 'Update Rate Schedules' is selectable.
- n: 4
action: click
target:
role: button
name: OK
expected: Process Details dialog opens.
- n: 5
action: fill
target:
role: textbox
name: Effective From
value: "{{data.new_year_date}}"
expected: Value accepted; no field-level error.
- n: 6
action: click
target:
role: button
name: Submit
expected: "Confirmation dialog shows a process ID; capture as {{run.process_id}}."
- n: 7
action: wait_for
target:
role: cell
name: Status
value: "{{run.process_id}}"
expected: "Cost rate 50.00 -> 52.00 and burden 20% -> 22% effective new year; true-up recosts 10 h dated after effective date: raw 520.00, burdened\
\ 634.40."
expected_result: "Cost rate 50.00 -> 52.00 and burden 20% -> 22% effective new year; true-up recosts 10 h dated after effective date: raw 520.00,\
\ burdened 634.40."
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.