Research-Stack/4-Infrastructure/k3s-flake/tests/dump-jellyfin-wizard-html.spec.ts
Brandon Schneider 9e80ac68ca feat(infra): Jellyfin wizard complete, SSO-Auth plugin files deployed
- Jellyfin setup wizard completed, admin account created (admin/jellyfin-admin)
- SSO-Auth plugin v4.0.0.3 downloaded and placed in plugins directory
- Authentik OIDC provider for Jellyfin updated with correct redirect URI
- All services verified running

Build: 3313 jobs, 0 errors (lake build Compiler)
2026-05-31 14:14:20 -05:00

28 lines
943 B
TypeScript

import { test, expect } from '@playwright/test';
test('Dump Jellyfin wizard Step 2 HTML', async ({ browser }) => {
const context = await browser.newContext({ storageState: 'auth-state.json' });
const page = await context.newPage();
console.log('Navigating to Jellyfin wizard start...');
await page.goto('https://media.researchstack.info/web/#/wizard/start');
await page.waitForLoadState('networkidle');
await page.waitForTimeout(4000);
// Click Next to go to Step 2
await page.locator('button:has-text("Next")').first().click();
await page.waitForTimeout(4000);
console.log('At Step 2. URL:', page.url());
// Dump form HTML
const formHtml = await page.evaluate(() => {
const form = document.querySelector('form');
return form ? form.innerHTML : 'Form not found';
});
console.log('--- Form HTML Start ---');
console.log(formHtml);
console.log('--- Form HTML End ---');
await context.close();
});