You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/e2e/features/skills.feature
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,14 @@ Feature: Agent skills tests
9
9
10
10
# --- Skill tools registration ---
11
11
12
-
@SkillsConfig
12
+
@SkillsConfig@skip
13
13
Scenario: Skill tools are registered when skills are configured
14
14
Given The e2e-test-skill skill directory path is "e2e-test-skill"
15
15
And The service uses the lightspeed-stack-skills.yaml configuration
16
16
And The service is restarted
17
17
When I access REST API endpoint "tools" using HTTP GET method
18
18
Then The status code of the response is 200
19
-
And The body of the response is the following #TODO: Currently placeholder, should reflect actual tools (all tools not just skill tools)
19
+
And The body of the response is the following
20
20
"""
21
21
{
22
22
"tools": [
@@ -136,7 +136,7 @@ Feature: Agent skills tests
136
136
And The service is restarted
137
137
When I access REST API endpoint "tools" using HTTP GET method
138
138
Then The status code of the response is 200
139
-
And The body of the response is the following #TODO: Currently placeholder, should reflect actual tools (default tools, not skill tools)
139
+
And The body of the response is the following
140
140
"""
141
141
{
142
142
"tools": [
@@ -183,7 +183,7 @@ Feature: Agent skills tests
183
183
{"query": "What skills are available? Use the list_skills tool.", "model": "{MODEL}", "provider": "{PROVIDER}"}
184
184
"""
185
185
Then The status code of the response is 200
186
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
186
+
And The body of the "tool_results" field of the response is the following
187
187
"""
188
188
[
189
189
{
@@ -211,7 +211,7 @@ Feature: Agent skills tests
211
211
When I wait for the response to be completed
212
212
Then The status code of the response is 200
213
213
And The response is the last streamed fragment
214
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
214
+
And The body of the "tool_results" field of the response is the following
215
215
"""
216
216
[
217
217
{
@@ -239,7 +239,7 @@ Feature: Agent skills tests
239
239
{"query": "I need help with e2e testing. Use the activate_skill tool to load the e2e-test-skill.", "model": "{MODEL}", "provider": "{PROVIDER}"}
240
240
"""
241
241
Then The status code of the response is 200
242
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
242
+
And The body of the "tool_results" field of the response is the following
243
243
"""
244
244
[
245
245
{
@@ -267,7 +267,7 @@ Feature: Agent skills tests
267
267
When I wait for the response to be completed
268
268
Then The status code of the response is 200
269
269
And The response is the last streamed fragment
270
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
270
+
And The body of the "tool_results" field of the response is the following
271
271
"""
272
272
[
273
273
{
@@ -296,7 +296,7 @@ Feature: Agent skills tests
296
296
{"query": "Load the reference file references/guide.md from the e2e-test-skill using load_skill_resource.", "model": "{MODEL}", "provider": "{PROVIDER}"}
297
297
"""
298
298
Then The status code of the response is 200
299
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
299
+
And The body of the "tool_results" field of the response is the following
300
300
"""
301
301
[
302
302
{
@@ -323,7 +323,7 @@ Feature: Agent skills tests
323
323
When I wait for the response to be completed
324
324
Then The status code of the response is 200
325
325
And The response is the last streamed fragment
326
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
326
+
And The body of the "tool_results" field of the response is the following
327
327
"""
328
328
[
329
329
{
@@ -350,7 +350,7 @@ Feature: Agent skills tests
350
350
{"query": "Activate a skill called nonexistent-skill using the activate_skill tool.", "model": "{MODEL}", "provider": "{PROVIDER}"}
351
351
"""
352
352
Then The status code of the response is 200
353
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
353
+
And The body of the "tool_results" field of the response is the following
354
354
"""
355
355
[
356
356
{
@@ -376,7 +376,7 @@ Feature: Agent skills tests
376
376
When I wait for the response to be completed
377
377
Then The status code of the response is 200
378
378
And The response is the last streamed fragment
379
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
379
+
And The body of the "tool_results" field of the response is the following
380
380
"""
381
381
[
382
382
{
@@ -401,7 +401,7 @@ Feature: Agent skills tests
401
401
{"query": "Load references/nonexistent.md from e2e-test-skill using load_skill_resource.", "model": "{MODEL}", "provider": "{PROVIDER}"}
402
402
"""
403
403
Then The status code of the response is 200
404
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
404
+
And The body of the "tool_results" field of the response is the following
405
405
"""
406
406
[
407
407
{
@@ -427,7 +427,7 @@ Feature: Agent skills tests
427
427
When I wait for the response to be completed
428
428
Then The status code of the response is 200
429
429
And The response is the last streamed fragment
430
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
430
+
And The body of the "tool_results" field of the response is the following
431
431
"""
432
432
[
433
433
{
@@ -455,7 +455,7 @@ Feature: Agent skills tests
455
455
"""
456
456
Then The status code of the response is 200
457
457
And I store conversation details
458
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
458
+
And The body of the "tool_results" field of the response is the following
459
459
"""
460
460
[
461
461
{
@@ -474,7 +474,7 @@ Feature: Agent skills tests
474
474
{"query": "Activate e2e-test-skill again using the activate_skill tool.", "model": "{MODEL}", "provider": "{PROVIDER}"}
475
475
"""
476
476
Then The status code of the response is 200
477
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
477
+
And The body of the "tool_results" field of the response is the following
478
478
"""
479
479
[
480
480
{
@@ -502,7 +502,7 @@ Feature: Agent skills tests
502
502
{"query": "List all available skills using the list_skills tool.", "model": "{MODEL}", "provider": "{PROVIDER}"}
503
503
"""
504
504
Then The status code of the response is 200
505
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
505
+
And The body of the "tool_results" field of the response is the following
506
506
"""
507
507
[
508
508
{
@@ -529,7 +529,7 @@ Feature: Agent skills tests
529
529
When I wait for the response to be completed
530
530
Then The status code of the response is 200
531
531
And The response is the last streamed fragment
532
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
532
+
And The body of the "tool_results" field of the response is the following
533
533
"""
534
534
[
535
535
{
@@ -556,7 +556,7 @@ Feature: Agent skills tests
556
556
{"query": "Use the echo skill to echo this 'Hello World!'", "model": "{MODEL}", "provider": "{PROVIDER}"}
557
557
"""
558
558
Then The status code of the response is 200
559
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
559
+
And The body of the "tool_results" field of the response is the following
560
560
"""
561
561
[
562
562
{
@@ -600,7 +600,7 @@ Feature: Agent skills tests
600
600
When I wait for the response to be completed
601
601
Then The status code of the response is 200
602
602
And The response is the last streamed fragment
603
-
And The body of the "tool_results" field is #TODO: Currently placeholder, should reflect actual tool results
603
+
And The body of the "tool_results" field of the response is the following
0 commit comments