Carve out dead code and cruft, and unify repeater status pane

This commit is contained in:
Jack Kingsman
2026-03-02 18:56:18 -08:00
parent f715d72467
commit 99f31c8226
11 changed files with 135 additions and 194 deletions
+12 -2
View File
@@ -35,8 +35,18 @@ export default defineConfig({
],
webServer: {
command:
'bash -c "if [ ! -d frontend/dist ]; then cd frontend && npm install && npm run build; fi; uv run uvicorn app.main:app --host 127.0.0.1 --port 8000"',
command: `bash -c '
echo "[e2e] $(date +%T.%3N) Starting webServer command..."
if [ ! -d frontend/dist ]; then
echo "[e2e] $(date +%T.%3N) frontend/dist missing — running npm install + build"
cd frontend && npm install && npm run build
echo "[e2e] $(date +%T.%3N) Frontend build complete"
else
echo "[e2e] $(date +%T.%3N) frontend/dist exists — skipping build"
fi
echo "[e2e] $(date +%T.%3N) Launching uvicorn..."
uv run uvicorn app.main:app --host 127.0.0.1 --port 8000
'`,
cwd: projectRoot,
port: 8000,
reuseExistingServer: false,
+2 -2
View File
@@ -16,7 +16,7 @@ test.describe('Health & UI basics', () => {
test('sidebar shows Channels and Contacts sections', async ({ page }) => {
await page.goto('/');
await expect(page.getByText('Channels')).toBeVisible();
await expect(page.getByText('Contacts')).toBeVisible();
await expect(page.getByText('Channels', { exact: true }).first()).toBeVisible();
await expect(page.getByText('Contacts', { exact: true }).first()).toBeVisible();
});
});