Skip to content

Tests Show Failed When Passed #58

@lonnylot

Description

@lonnylot

When running agent tool tests through the CLI they return as failed. However, when looking in the UI they all passed.

I believe it's trying to run tests that I deleted via the UI and never had locally.

node ➜ /workspaces/call-agents (master) $ npx elevenlabs agents test *snip*
Running 4 test(s) for agent '*snip*'...

Test invocation started (ID: * snip*)
Waiting for tests to complete...

Error running tests: Error: response -> test_runs -> [0] -> test_info: Missing required key "success_condition"; response -> test_runs -> [0] -> test_info: Missing required key "success_examples"; response -> test_runs -> [0] -> test_info: Missing required key "failure_examples"; response -> test_runs -> [1] -> test_info: Missing required key "success_condition"; response -> test_runs -> [1] -> test_info: Missing required key "success_examples"; response -> test_runs -> [1] -> test_info: Missing required key "failure_examples"; response -> test_runs -> [2] -> test_info: Missing required key "success_condition"; response -> test_runs -> [2] -> test_info: Missing required key "success_examples"; response -> test_runs -> [2] -> test_info: Missing required key "failure_examples"; response -> test_runs -> [3] -> test_info: Missing required key "success_condition"; response -> test_runs -> [3] -> test_info: Missing required key "success_examples"; response -> test_runs -> [3] -> test_info: Missing required key "failure_examples"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions