mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-06 00:54:23 +00:00
Implement basic tests for webui
This commit is contained in:
@@ -16,12 +16,13 @@ function Header({ onCreateInstance, onShowSystemInfo }: HeaderProps) {
|
||||
</h1>
|
||||
|
||||
<div className="flex items-center gap-2">
|
||||
<Button onClick={onCreateInstance}>Create Instance</Button>
|
||||
<Button onClick={onCreateInstance} data-testid="create-instance-button">Create Instance</Button>
|
||||
|
||||
<Button
|
||||
variant="outline"
|
||||
size="icon"
|
||||
onClick={onShowSystemInfo}
|
||||
data-testid="system-info-button"
|
||||
title="System Info"
|
||||
>
|
||||
<HelpCircle className="h-4 w-4" />
|
||||
|
||||
Reference in New Issue
Block a user