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

@@ -234,6 +234,7 @@ export function NextMessageInput({
variant="transparent"
className="rounded-sm border-0"
disabled={isUploading || sendLoading}
data-testid="chat-detail-attach"
>
<Paperclip className="size-3.5" />
<span className="sr-only">Attach file</span>
@@ -248,6 +249,7 @@ export function NextMessageInput({
variant={enableThinking ? 'accent' : 'transparent'}
className="border-0 h-7 text-sm"
onClick={handleThinkingToggle}
data-testid="chat-detail-thinking-toggle"
>
<Atom />
<span>Thinking</span>
@@ -261,6 +263,7 @@ export function NextMessageInput({
size="icon-xs"
className="border-0"
onClick={handleInternetToggle}
data-testid="chat-detail-internet-toggle"
>
<Globe />
</Button>
@@ -281,6 +284,7 @@ export function NextMessageInput({
onOk={(value) => {
setAudioInputValue(value);
}}
testId="chat-detail-audio-toggle"
/>
<Button
@@ -288,6 +292,7 @@ export function NextMessageInput({
disabled={
sendDisabled || isUploading || sendLoading || !value.trim()
}
data-testid="chat-detail-send"
>
<Send />
<span className="sr-only">Send message</span>