mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-30 18:56:16 +00:00
- 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)
28 lines
943 B
TypeScript
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();
|
|
});
|