/** E2E-INST-001 — install.html reachable (MCP-INST-001 step UI waived per product) */
import { test, expect } from '@playwright/test'

const BASE = process.env.NEXUS_E2E_BASE || 'http://127.0.0.1:8600'

test('E2E-INST-001 install.html reachable', async ({ page }) => {
  const res = await page.goto(`${BASE.replace(/\/$/, '')}/app/install.html`)
  expect(res?.status()).toBe(200)
  await expect(page.getByText('Nexus 6.0 安装向导')).toBeVisible({ timeout: 15000 })
})
