mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Fixed admin tests.
This commit is contained in:
parent
0e4937b50f
commit
95d99424e1
2 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
import {expect, test} from "@playwright/test";
|
||||
import {loginToAdmin, restartEtherpad, saveSettings} from "../helper/adminhelper";
|
||||
import exp from "node:constants";
|
||||
|
||||
test.beforeEach(async ({ page })=>{
|
||||
await loginToAdmin(page, 'admin', 'changeme1');
|
||||
|
|
|
@ -7,7 +7,7 @@ export const loginToAdmin = async (page: Page, username: string, password: strin
|
|||
await page.waitForSelector('input[name="username"]');
|
||||
await page.fill('input[name="username"]', username);
|
||||
await page.fill('input[name="password"]', password);
|
||||
await page.click('input[type="button"]');
|
||||
await page.click('input[type="submit"]');
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue