mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-27 10:52:03 +08:00
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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user