fix: failing test

This commit is contained in:
Tomasz Stefaniak 2025-05-15 10:24:33 -07:00
parent ef8c67da1e
commit 07b6b0cbef
3 changed files with 3 additions and 6 deletions

View file

@ -46,7 +46,7 @@ export class GUISelectors {
}
public static getToolCallStatusMessage(view: WebView) {
return SelectorUtils.getElementByDataTestId(view, "toggle-div-title");
return SelectorUtils.getElementByDataTestId(view, "tool-call-title");
}
public static getToolButton(view: WebView) {

View file

@ -50,10 +50,7 @@ function ToggleDiv({
</>
)}
</div>
<span
className="ml-1 text-xs text-gray-400 transition-colors duration-200"
data-testid="toggle-div-title"
>
<span className="ml-1 text-xs text-gray-400 transition-colors duration-200">
{title}
</span>
</div>

View file

@ -61,7 +61,7 @@ export function SimpleToolCallUI({
</div>
<span
className="ml-1 text-xs text-gray-400 transition-colors duration-200"
data-testid="toggle-div-title"
data-testid="tool-call-title"
>
<ToolCallStatusMessage tool={tool} toolCallState={toolCallState} />
</span>