mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +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)
36 lines
1.3 KiB
TypeScript
36 lines
1.3 KiB
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
test('Dump Step 2 inputs', async ({ browser }) => {
|
|
const context = await browser.newContext({ storageState: 'auth-state.json' });
|
|
const page = await context.newPage();
|
|
|
|
console.log('Navigating to wizard start...');
|
|
await page.goto('https://media.researchstack.info/web/#/wizard/start');
|
|
await page.waitForLoadState('networkidle');
|
|
await page.waitForTimeout(4000);
|
|
|
|
// Click Next on step 1
|
|
console.log('Clicking Next on step 1...');
|
|
await page.locator('button[type="submit"], button:has-text("Next")').first().click();
|
|
|
|
// Wait for URL to change to /wizard/user
|
|
console.log('Waiting for wizard/user page...');
|
|
await page.waitForURL('**/wizard/user**');
|
|
await page.waitForTimeout(4000);
|
|
|
|
console.log('Current URL:', page.url());
|
|
|
|
// Print all input tags on the page
|
|
const inputs = await page.evaluate(() => {
|
|
return Array.from(document.querySelectorAll('input, select, button')).map(el => ({
|
|
tagName: el.tagName,
|
|
id: el.id,
|
|
type: el.getAttribute('type'),
|
|
className: el.className,
|
|
innerText: (el as HTMLElement).innerText || el.getAttribute('value')
|
|
}));
|
|
});
|
|
console.log('Inputs found:', JSON.stringify(inputs, null, 2));
|
|
|
|
await context.close();
|
|
});
|