38fe40553d
Adds 104 Robot Framework integration tests exercising the full 6-agent email categorization actor graph across five configuration strategies: local, remote, mixed, component-decomposed (merge_configs), and namespaced (local: refs via ReferenceResolver + LocalPackageStore). - 7 new email graph YAML fixtures under tests/fixtures/email_graph/ - 7 namespaced component YAMLs with local namespace identifiers - 9 robot test suite files (email_categorization_graph, per-agent, negative tests, merge_configs validation, components, namespaced) - EmailGraphLib.py keyword library (executor, graph, merge, components) - CleverActorsLib.py refactored into per-module libs: robot/lib/config_lib.py, app_lib.py, registry_lib.py - email_testdata.resource with 12 realistic email scenarios - All 104 integration tests pass, all 23 existing tests preserved Closes #30
53 lines
2.2 KiB
Plaintext
53 lines
2.2 KiB
Plaintext
*** Settings ***
|
|
Documentation Electronic component order agent integration tests.
|
|
... Tests graph execution with component order email inputs
|
|
... across all three configuration variants.
|
|
Library EmailGraphLib.py
|
|
Resource resources/email_testdata.resource
|
|
|
|
*** Test Cases ***
|
|
Component Order Email Through Local Graph
|
|
[Documentation] Email with IC-12345 and RES-67890 part numbers.
|
|
... Exercises the full 6-agent graph including component_orders node.
|
|
Create Executor For Email Graph local_graph
|
|
Execute Email Graph ${COMPONENT_ORDER_EMAIL}
|
|
Result Is Valid Actor Result
|
|
Result Has Nodes
|
|
|
|
Component Order Email Through Remote Graph
|
|
[Documentation] Same email through registry-retrieved agent configs.
|
|
Create Executor For Email Graph remote_graph
|
|
Execute Email Graph ${COMPONENT_ORDER_EMAIL}
|
|
Result Is Valid Actor Result
|
|
Result Has Nodes
|
|
|
|
Component Order Email Through Mixed Graph
|
|
[Documentation] Component order through mixed local+registry config.
|
|
Create Executor For Email Graph mixed_graph
|
|
Execute Email Graph ${COMPONENT_ORDER_EMAIL}
|
|
Result Is Valid Actor Result
|
|
Result Has Nodes
|
|
|
|
Second Component Order Email Through Local Graph
|
|
[Documentation] Urgent capacitor order with different part number format.
|
|
Create Executor For Email Graph local_graph
|
|
Execute Email Graph ${COMPONENT_ORDER_EMAIL_2}
|
|
Result Is Valid Actor Result
|
|
Result Has Nodes
|
|
|
|
Component Orders Agent Metadata Valid
|
|
[Documentation] AgentFactory.get_agent_metadata returns name and type.
|
|
Factory Agent Has Metadata Key local_graph component_orders name
|
|
Factory Agent Has Metadata Key local_graph component_orders type
|
|
|
|
All Six Agents Created From Config
|
|
[Documentation] AgentFactory creates all 6 agents without error.
|
|
${count}= Create Agents From Config local_graph
|
|
Should Be True ${count} >= 6 Expected >=6 agents, got ${count}
|
|
|
|
Configuration Validates Successfully
|
|
[Documentation] AgentFactory.validate_configuration passes for all variants.
|
|
Factory Validates Configuration local_graph
|
|
Factory Validates Configuration remote_graph
|
|
Factory Validates Configuration mixed_graph
|