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)
26 lines
959 B
TypeScript
26 lines
959 B
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
test('Check Homarr Status', async ({ browser }) => {
|
|
const context = await browser.newContext({ storageState: 'auth-state.json' });
|
|
const page = await context.newPage();
|
|
|
|
console.log('Navigating to Homarr...');
|
|
await page.goto('https://www.researchstack.info/');
|
|
await page.waitForLoadState('networkidle');
|
|
await page.waitForTimeout(4000);
|
|
|
|
if (page.url().includes('default-provider-authorization-explicit-consent')) {
|
|
await page.locator('button:has-text("Continue"), input[type="submit"]').first().click();
|
|
await page.waitForTimeout(4000);
|
|
}
|
|
|
|
await page.screenshot({ path: 'homarr-status.png' });
|
|
console.log('Screenshot saved.');
|
|
console.log('Current URL:', page.url());
|
|
console.log('Page Title:', await page.title());
|
|
|
|
const content = await page.evaluate(() => document.body.innerText);
|
|
console.log('Homarr text:', content.slice(0, 1000));
|
|
|
|
await context.close();
|
|
});
|