Playwright : new chat multi model test (#13402)

### What problem does this PR solve?

new test for chat multiple model and other chat parameters under
playwright

### Type of change

- [x] Other (please describe): new test/ data-testid
This commit is contained in:
Idriss Sbaaoui
2026-03-05 18:51:57 +08:00
committed by GitHub
parent d9785ea2ce
commit d90d6026af
13 changed files with 912 additions and 69 deletions

View File

@@ -217,8 +217,10 @@ const VoiceInputBox = ({
};
export const AudioButton = ({
onOk,
testId,
}: {
onOk?: (transcript: string) => void;
testId?: string;
}) => {
// const [showInputBox, setShowInputBox] = useState(false);
const [isRecording, setIsRecording] = useState(false);
@@ -415,6 +417,7 @@ export const AudioButton = ({
'animate-pulse !bg-state-success/20 text-state-success rounded-full',
)}
disabled={isProcessing}
data-testid={testId}
>
{isProcessing ? (
<Loader2 size={16} className=" animate-spin" />