Research-Stack/4-Infrastructure/k3s-flake/tests/homarr-test.spec.ts
Brandon Schneider 40c97cf21e chore(homarr): onboard started, OIDC configured, DB created
- Homarr OIDC env vars set (sso-homarr)
- Database created at /data/db.sqlite
- Config schema updated to v2
- Onboard wizard needs final UI completion

Build: 3313 jobs, 0 errors
2026-05-31 15:12:44 -05:00

14 lines
610 B
TypeScript

import { test } from '@playwright/test';
test('homarr test', async ({ page }) => {
test.setTimeout(30000);
await page.goto('http://100.88.57.96:30093/', { timeout: 10000, waitUntil: 'domcontentloaded' });
await page.waitForTimeout(5000);
const title = await page.title();
console.log('Title:', title);
const buttons = await page.locator('button').count();
console.log(`Found ${buttons} buttons`);
for (const b of await page.locator('button').all()) {
const text = await b.textContent();
console.log(` Button: "${text?.trim().substring(0,30)}" visible=${await b.isVisible()}`);
}
});