0f6f91e61a
Restore alert history filters and stats fields, paginate command/session logs for the SPA, show script labels on schedules, and land integration/E2E coverage with rebuilt web assets.
13 lines
493 B
JavaScript
13 lines
493 B
JavaScript
/** E2E-SCR-001 — scripts library loads (MCP-SCR-001沉淀) */
|
|
import { test, expect } from '../fixtures.mjs'
|
|
import { login, nav } from '../helpers.mjs'
|
|
|
|
test('E2E-SCR-001 scripts page toolbar without JS errors', async ({ page }) => {
|
|
const errors = []
|
|
page.on('pageerror', (e) => errors.push(e.message))
|
|
await login(page)
|
|
await nav(page, '/scripts')
|
|
await expect(page.getByRole('button', { name: '新建脚本' })).toBeVisible({ timeout: 20000 })
|
|
expect(errors).toEqual([])
|
|
})
|