style(channels): simplify channel status indicators (#862)

This commit is contained in:
paisley
2026-04-16 17:25:25 +08:00
committed by GitHub
Unverified
parent b884db629e
commit 396e9e0b03
2 changed files with 14 additions and 21 deletions

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').getByText(/Degraded|异常降级|劣化中/).first()).toBeVisible();
await expect(page.locator('div.rounded-2xl').getByTitle(/Degraded|异常降级|劣化中/).first()).toBeVisible();
await page.getByTestId('channels-restart-gateway').click();
await page.getByTestId('channels-copy-diagnostics').click();