Tests: recover missing test elements (#1296)
This commit is contained in:
parent
896d368515
commit
4e0e2222ac
3 changed files with 6 additions and 1 deletions
|
|
@ -52,6 +52,7 @@ export function PureMessageActions({
|
||||||
{setMode && (
|
{setMode && (
|
||||||
<Action
|
<Action
|
||||||
className="-left-10 absolute top-0 opacity-0 transition-opacity group-hover/message:opacity-100"
|
className="-left-10 absolute top-0 opacity-0 transition-opacity group-hover/message:opacity-100"
|
||||||
|
data-testid="message-edit-button"
|
||||||
onClick={() => setMode("edit")}
|
onClick={() => setMode("edit")}
|
||||||
tooltip="Edit"
|
tooltip="Edit"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -333,6 +333,7 @@ function PureMultimodalInput({
|
||||||
className="size-8 rounded-full bg-primary text-primary-foreground transition-colors duration-200 hover:bg-primary/90 disabled:bg-muted disabled:text-muted-foreground"
|
className="size-8 rounded-full bg-primary text-primary-foreground transition-colors duration-200 hover:bg-primary/90 disabled:bg-muted disabled:text-muted-foreground"
|
||||||
disabled={!input.trim() || uploadQueue.length > 0}
|
disabled={!input.trim() || uploadQueue.length > 0}
|
||||||
status={status}
|
status={status}
|
||||||
|
data-testid="send-button"
|
||||||
>
|
>
|
||||||
<ArrowUpIcon size={14} />
|
<ArrowUpIcon size={14} />
|
||||||
</PromptInputSubmit>
|
</PromptInputSubmit>
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,10 @@ export const PreviewAttachment = ({
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{isUploading && (
|
{isUploading && (
|
||||||
<div className="absolute inset-0 flex items-center justify-center bg-black/50">
|
<div
|
||||||
|
className="absolute inset-0 flex items-center justify-center bg-black/50"
|
||||||
|
data-testid="input-attachment-loader"
|
||||||
|
>
|
||||||
<Loader size={16} />
|
<Loader size={16} />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue