app: rebuild interface base on scificn-ui Mission Control layout (placeholder content)
CI / build + unit + e2e (pull_request) Failing after 13m21s

This commit is contained in:
2026-09-28 16:13:35 +00:00
parent 6d267fba6b
commit 531798d4b3
14 changed files with 1992 additions and 83 deletions
+11 -4
View File
@@ -5,11 +5,18 @@ test('landing page loads with the SpaceWanderer title', async ({ page }) => {
await expect(page.getByRole('heading', { name: 'SpaceWanderer' })).toBeVisible();
});
test('scificn-ui themed components render on the landing page', async ({ page }) => {
test('mission control layout renders scificn-ui components', async ({ page }) => {
await page.goto('/');
// Panel header badge + footer button prove the copy-paste component layer is wired in.
await expect(page.getByText('SYS:ONLINE')).toBeVisible();
await expect(page.getByRole('button', { name: 'INITIATE' })).toBeVisible();
// Stat card, tab trigger and footer badge prove the copied component layer is wired in.
await expect(page.getByText('NEXT ENCOUNTER')).toBeVisible();
await expect(page.getByRole('button', { name: 'SYSTEMS' })).toBeVisible();
await expect(page.getByText('SYS ONLINE')).toBeVisible();
});
test('operations tabs switch panels client-side', async ({ page }) => {
await page.goto('/');
await page.getByRole('button', { name: 'LOG' }).click();
await expect(page.getByText('SHIP LOG // PLACEHOLDER FEED')).toBeVisible();
});
test('GET /api/version reports the app version as JSON', async ({ page }) => {