Files
Nexus/frontend/e2e/pages/dashboard-stats.spec.mjs
T
2026-07-08 22:31:31 +08:00

11 lines
435 B
JavaScript

/** E2E-DASH-001 extended — dashboard stat cards visible (MCP-DASH-001沉淀) */
import { test, expect } from '../fixtures.mjs'
import { login, nav } from '../helpers.mjs'
test('E2E-DASH-001 dashboard cards visible', async ({ page }) => {
await login(page)
await nav(page, '/')
await expect(page.locator('.v-card').first()).toBeVisible({ timeout: 20000 })
expect(await page.locator('.v-card').count()).toBeGreaterThan(0)
})