/** E2E-AUD-002 — audit table Beijing time display (MCP-AUD-001沉淀) */ import { test, expect } from '../fixtures.mjs' import { ISO_UTC_RE, login, nav } from '../helpers.mjs' test('E2E-AUD-002 audit times not bare ISO UTC', async ({ page }) => { await login(page) await nav(page, '/audit') await expect(page.getByText(/审计/).first()).toBeVisible({ timeout: 20000 }) const cells = page.locator('table tbody td') const count = await cells.count() for (let i = 0; i < Math.min(count, 20); i++) { const text = await cells.nth(i).innerText() if (/\d{4}-\d{2}-\d{2}/.test(text)) { expect(text).not.toMatch(ISO_UTC_RE) } } })