mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-22 03:14:06 -05:00
10 lines
331 B
TypeScript
10 lines
331 B
TypeScript
// dependency for all admin user tests
|
|
import { test as setup } from "@playwright/test";
|
|
|
|
setup("authenticate as admin", async ({ browser }) => {
|
|
const context = await browser.newContext({ storageState: "admin_auth.json" });
|
|
const page = await context.newPage();
|
|
await page.goto("/app");
|
|
await page.waitForURL("/app");
|
|
});
|