mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
chore(code): fix more js & ts files
This commit is contained in:
@@ -5,7 +5,7 @@ const authFile = 'playwright/.auth/user.json';
|
||||
const ROOT_URL = "http://localhost:8082";
|
||||
const LOGIN_PASSWORD = "demo1234";
|
||||
|
||||
// Reference: https://playwright.dev/docs/auth#basic-shared-account-in-all-tests
|
||||
// Reference: https://playwright.dev/docs/auth#basic-shared-account-in-all-tests
|
||||
|
||||
setup("authenticate", async ({ page }) => {
|
||||
await page.goto(ROOT_URL);
|
||||
@@ -13,5 +13,5 @@ setup("authenticate", async ({ page }) => {
|
||||
|
||||
await page.getByRole("textbox", { name: "Password" }).fill(LOGIN_PASSWORD);
|
||||
await page.getByRole("button", { name: "Login"}).click();
|
||||
await page.context().storageState({ path: authFile });
|
||||
});
|
||||
await page.context().storageState({ path: authFile });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user