This commit is contained in:
TyperBody
2026-09-16 22:58:10 +08:00
parent 4535a21cb5
commit f998e475e3
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -249,6 +249,7 @@ function PluginListView() {
<Input
value={debugInfo?.debug_url || ''}
readOnly
aria-label={t('plugins.debugUrl')}
className="flex-1 min-w-0 font-mono text-xs h-8"
/>
<Button
@@ -277,6 +278,7 @@ function PluginListView() {
debugInfo?.plugin_debug_key || t('plugins.noDebugKey')
}
readOnly
aria-label={t('plugins.debugKey')}
className="w-[220px] font-mono text-xs h-8"
/>
<Button
+2 -2
View File
@@ -84,10 +84,10 @@ test.describe('authenticated app shell', () => {
await page.getByRole('button', { name: 'Debug Info' }).click();
await expect(page.getByText('Plugin Debug Information')).toBeVisible();
await expect(page.getByRole('textbox').nth(0)).toHaveValue(
await expect(page.getByRole('textbox', { name: 'Debug URL' })).toHaveValue(
'ws://127.0.0.1:5300/plugin/debug',
);
await expect(page.getByRole('textbox').nth(1)).toHaveValue(
await expect(page.getByRole('textbox', { name: 'Debug Key' })).toHaveValue(
'test-debug-key',
);
});