parent
f3f895ae21
commit
13c4ed97eb
|
@ -8,7 +8,7 @@ export function login(route: string) {
|
|||
await page.locator("#user").click();
|
||||
await page.locator("#user").fill("admin");
|
||||
await page.locator("#user").press("Tab");
|
||||
await page.locator("#password").fill("admin");
|
||||
await page.locator("#password").fill("password");
|
||||
await page.locator('button[type="submit"]').click();
|
||||
await expect(page).toHaveURL(
|
||||
"http://localhost:8080/index.php/apps/memories" + route
|
||||
|
|
Loading…
Reference in New Issue