patchwise-agent-studio / tests /cases /o2c /O2C-INT-006.yaml
EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
3.46 kB
# Fusion O2C test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod.
id: O2C-INT-006
title: Customer FBDI import with one bad row
module: O2C
process: Integrations / reports
priority: P2
priority_rationale: "Bulk master data loads. I4 x C4 x U3 = 48 -> P2 (map row O2C:INT-02 is P2, score 64). 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: 4
change_likelihood: 4
usage: 3
usage_basis: ASSUMED (placeholder until Scout usage counts)
risk: 16
score: 48
tiers: P1 >= 75, P2 40-74, P3 20-39, P4 < 20
usage_sensitive: true
map_ids:
- "O2C:INT-02"
- CUS-01
verification: UNVERIFIED
approval_status: draft - pending consultant approval (architecture approval gate)
client_questions:
- X-Q08
- X-Q09
type: negative
tags:
- customer
- fbdi
- integration
- o2c
- p2
roles:
- integration_user
preconditions:
- None beyond referenced data recipes.
data_recipes:
- DR-O2C-USR-001
- DR-O2C-INT-002
test_values:
rows: 2
imported: 1
errors: 1
steps:
- n: 1
action: seed_file
target:
template: DR-O2C-INT-002.customer_fbdi
expected: "Customer FBDI zip: 2 synthetic ZZ customers, 1 with missing country."
- n: 2
action: navigate
value: "{{nav.scheduled_processes}}"
expected: Work area 'scheduled_processes' opens (path resolved from ui-glossary nav map).
- n: 3
action: click
target:
role: button
name: Schedule New Process
expected: Schedule New Process dialog opens.
- n: 4
action: fill
target:
role: combobox
name: Name
value: Load Interface File for Import
expected: Process 'Load Interface File for Import' is selectable.
- n: 5
action: click
target:
role: button
name: OK
expected: Process Details dialog opens.
- n: 6
action: fill
target:
role: textbox
name: Import Process
value: Import Customers
expected: Value accepted; no field-level error.
- n: 7
action: click
target:
role: button
name: Submit
expected: "Confirmation dialog shows a process ID; capture as {{run.process_id}}."
- n: 8
action: wait_for
target:
role: cell
name: Status
value: "{{run.process_id}}"
expected: Load succeeds.
- n: 9
action: navigate
value: "{{nav.scheduled_processes}}"
expected: Work area 'scheduled_processes' opens (path resolved from ui-glossary nav map).
- n: 10
action: click
target:
role: button
name: Schedule New Process
expected: Schedule New Process dialog opens.
- n: 11
action: fill
target:
role: combobox
name: Name
value: Import Trading Community Data in Bulk
expected: Process 'Import Trading Community Data in Bulk' is selectable.
- n: 12
action: click
target:
role: button
name: OK
expected: Process Details dialog opens.
- n: 13
action: click
target:
role: button
name: Submit
expected: "Confirmation dialog shows a process ID; capture as {{run.process_id}}."
- n: 14
action: wait_for
target:
role: cell
name: Status
value: "{{run.process_id}}"
expected: 1 customer imported, 1 error (missing country).
expected_result: 1 customer imported, 1 error (missing country).
notes:
- Runs against a mock prove only the mock, never Oracle Fusion.