Skip to content

Commit 3396bc0

Browse files
fix: add required topic to conversationHistory user turn in NUT fixture
The AiTestingDefinition ReturnsCheckoutSuite test-case 4 had a conversationHistory user turn (index 0) with no <topic>. Server-side validation now requires topic on every conversationHistory entry, so the before-all deploy failed with "Test case 4, input 1, conversation history 1: topic is required and cannot be blank". Add the topic to match the agent turn.
1 parent 2a71f54 commit 3396bc0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/mock-projects/agent-generate-template/force-app/main/default/aiTestingDefinitions/ReturnsCheckoutSuite.aiTestingDefinition-meta.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<conversationHistory>
6868
<role>user</role>
6969
<message>I need help with my order</message>
70+
<topic>identity_verification</topic>
7071
<index>0</index>
7172
</conversationHistory>
7273
<conversationHistory>

0 commit comments

Comments
 (0)