/** E2E-FILE-001 — files page loads toolbar (MCP-FILE-001沉淀) */
import { test, expect } from '../fixtures.mjs'
import { login, nav } from '../helpers.mjs'

test('E2E-FILE-001 files page server picker visible', async ({ page }) => {
  const errors = []
  page.on('pageerror', (e) => errors.push(e.message))
  await login(page)
  await nav(page, '/files')
  await expect(page.getByLabel('选择服务器')).toBeVisible({ timeout: 20000 })
  expect(errors).toEqual([])
})
