style(channels): align status indicator with Models card style (#867)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
This commit is contained in:
Haze
2026-04-17 19:13:31 +08:00
committed by GitHub
Unverified
parent 48415db990
commit 4ac4e12aad
3 changed files with 21 additions and 13 deletions

View File

@@ -98,6 +98,9 @@ test.describe('Channels binding regression', () => {
await expect(page.getByTestId('channels-page')).toBeVisible();
await expect(page.getByText('Feishu / Lark')).toBeVisible();
const feishuGroupHeader = page.locator('div.rounded-2xl').filter({ hasText: 'Feishu / Lark' }).first();
await expect(feishuGroupHeader).toContainText(/Connected|已连接|接続済み|Подключён/);
await page.getByRole('button', { name: /Add Account|添加账号|アカウントを追加/ }).click();
await expect(page.getByText(/Configure Feishu \/ Lark|dialog\.configureTitle/)).toBeVisible();

View File

@@ -138,7 +138,7 @@ test.describe('Channels health diagnostics', () => {
await expect(page.getByTestId('channels-page')).toBeVisible();
await expect(page.getByTestId('channels-health-banner')).toBeVisible();
await expect(page.getByText(/Gateway degraded|网关状态异常|ゲートウェイ劣化/)).toBeVisible();
await expect(page.locator('div.rounded-2xl').getByTitle(/Degraded|异常降级|劣化中/).first()).toBeVisible();
await expect(page.locator('div.rounded-2xl').getByText(/Degraded|异常降级|劣化中/).first()).toBeVisible();
await page.getByTestId('channels-restart-gateway').click();
await page.getByTestId('channels-copy-diagnostics').click();