Research-Stack/4-Infrastructure/k3s-flake/tests/homarr-check.spec.ts
Brandon Schneider 894c997bfc feat(homarr): add Playwright test specs for login, onboard, OIDC, board creation, and integrations
17 new .spec.ts files and 4 debug .png screenshots capturing:
- OIDC login flows (oidc-setup, oidc-login)
- Login variants (admin, v2, quick, cookie capture)
- Board creation and management
- Integration setup flows
- Onboarding test sequence
- Check/init/do-init lifecycle tests

Build: 0 jobs, 0 errors (no Lean files touched)
2026-05-31 20:26:16 -05:00

13 lines
507 B
TypeScript

import { test } from '@playwright/test';
test('check', async ({ page }) => {
test.setTimeout(10000);
await page.goto('http://100.88.57.96:30108/', { timeout: 10000, waitUntil: 'domcontentloaded' });
await page.waitForTimeout(3000);
console.log('URL:', page.url());
console.log('Title:', await page.title());
const btns = await page.locator('button').all();
for (const b of btns) {
const t = await b.textContent();
if (t?.trim()) console.log(` "${t.trim().substring(0,40)}"`);
}
});