Download tests/cases/exp/EXP-RPT-002.yaml from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 4.36 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/exp/EXP-RPT-002.yaml
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/tests/cases/exp/EXP-RPT-002.yaml
-
curl -L -o EXP-RPT-002.yaml https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/tests/cases/exp/EXP-RPT-002.yaml
4.36 kB
| # Fusion EXP test case. Schema: tests/README.md. UNVERIFIED against any Fusion pod. | |
| id: EXP-RPT-002 | |
| title: Withdraw a submitted report before approval | |
| module: EXP | |
| process: Expense entry | |
| priority: P2 | |
| priority_rationale: "Common correction. I4 x C4 x U3 = 48 -> P2 (map row EXP:EXP-01 is P1, score 100). Usage placeholder drove tier: usage 2 would\ | |
| \ give P3." | |
| 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: 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: | |
| - "EXP:EXP-01" | |
| verification: UNVERIFIED | |
| approval_status: draft - pending consultant approval (architecture approval gate) | |
| client_questions: | |
| - X-Q03 | |
| type: happy | |
| tags: | |
| - exp | |
| - expenses | |
| - p2 | |
| - withdraw | |
| roles: | |
| - employee | |
| preconditions: | |
| - None beyond referenced data recipes. | |
| data_recipes: | |
| - DR-EXP-USR-001 | |
| - DR-EXP-ORG-001 | |
| 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 Item | |
| expected: Action completes without error. | |
| - n: 6 | |
| action: fill | |
| target: | |
| role: combobox | |
| name: Expense Type | |
| value: "{{data.cat_meals}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 7 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Amount | |
| value: '45.00' | |
| expected: Value accepted; no field-level error. | |
| - n: 8 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Date | |
| value: "{{dates.today_minus_3}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 9 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Merchant | |
| value: ZZ Merchant | |
| expected: Value accepted; no field-level error. | |
| - n: 10 | |
| action: click | |
| target: | |
| role: button | |
| name: Attach Receipt | |
| expected: Synthetic receipt image attached. | |
| - n: 11 | |
| action: click | |
| target: | |
| role: button | |
| name: Save | |
| expected: Item 45.00 saved. | |
| - n: 12 | |
| action: click | |
| target: | |
| role: button | |
| name: Create Item | |
| expected: Action completes without error. | |
| - n: 13 | |
| action: fill | |
| target: | |
| role: combobox | |
| name: Expense Type | |
| value: "{{data.cat_hotel}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 14 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Amount | |
| value: '180.00' | |
| expected: Value accepted; no field-level error. | |
| - n: 15 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Date | |
| value: "{{dates.today_minus_3}}" | |
| expected: Value accepted; no field-level error. | |
| - n: 16 | |
| action: fill | |
| target: | |
| role: textbox | |
| name: Merchant | |
| value: ZZ Merchant | |
| expected: Value accepted; no field-level error. | |
| - n: 17 | |
| action: click | |
| target: | |
| role: button | |
| name: Attach Receipt | |
| expected: Synthetic receipt image attached. | |
| - n: 18 | |
| action: click | |
| target: | |
| role: button | |
| name: Save | |
| expected: Item 180.00 saved. | |
| - n: 19 | |
| action: click | |
| target: | |
| role: button | |
| name: Submit | |
| expected: Action completes without error. | |
| - n: 20 | |
| action: login_as | |
| value: "{{users.employee}}" | |
| expected: Home page loads for the employee test user; no error banner. | |
| - n: 21 | |
| action: navigate | |
| value: "{{nav.expenses}}" | |
| expected: Work area 'expenses' opens (path resolved from ui-glossary nav map). | |
| - n: 22 | |
| action: click | |
| target: | |
| role: link | |
| name: "{{run.report_number}}" | |
| expected: Action completes without error. | |
| - n: 23 | |
| action: click | |
| target: | |
| role: button | |
| name: Withdraw | |
| expected: Withdrawn; status Saved; manager task removed. | |
| expected_result: Withdrawn; status Saved; manager task removed. | |
| notes: | |
| - Runs against a mock prove only the mock, never Oracle Fusion. | |