mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-17 21:32:36 +01:00
* try adding back some params * raise timeout * update chromatic version * fix typo * use chromatic imports * update gitignore * slim down the config file * update readme --------- Co-authored-by: Richard Kuo (Danswer) <rkuo@onyx.app>
10 lines
384 B
TypeScript
10 lines
384 B
TypeScript
// dependency for all admin user tests
|
|
import { test as setup } from "@chromatic-com/playwright";
|
|
|
|
setup("authenticate as admin", async ({ browser }) => {
|
|
const context = await browser.newContext({ storageState: "admin_auth.json" });
|
|
const page = await context.newPage();
|
|
await page.goto("http://localhost:3000/chat");
|
|
await page.waitForURL("http://localhost:3000/chat");
|
|
});
|