mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-22 17:36:59 +08:00
fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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',
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user