mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
- Libraries created via API (204 on creation + path update) - Paths: /media/movies, /media/tv, /media/music - SSO-Auth plugin Active, SSO button on login page - Paths may need manual setting through Dashboard UI Build: 3313 jobs, 0 errors
14 lines
568 B
TypeScript
14 lines
568 B
TypeScript
import { test } from '@playwright/test';
|
|
test('login test', async ({ page }) => {
|
|
test.setTimeout(20000);
|
|
await page.goto('http://100.88.57.96:30091/web/', { timeout: 10000 });
|
|
await page.waitForTimeout(2000);
|
|
console.log('Page loaded');
|
|
await page.locator('#txtUsername').fill('admin');
|
|
console.log('Username filled');
|
|
await page.locator('#txtPassword').fill('jellyfin-admin');
|
|
console.log('Password filled');
|
|
await page.locator('.button-submit').first().click();
|
|
await page.waitForTimeout(3000);
|
|
console.log('Logged in, URL:', page.url());
|
|
});
|