e2e: revert pwd change

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
pull/563/head
Varun Patil 2023-03-23 22:10:19 -07:00
parent f3f895ae21
commit 13c4ed97eb
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ export function login(route: string) {
await page.locator("#user").click(); await page.locator("#user").click();
await page.locator("#user").fill("admin"); await page.locator("#user").fill("admin");
await page.locator("#user").press("Tab"); 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 page.locator('button[type="submit"]').click();
await expect(page).toHaveURL( await expect(page).toHaveURL(
"http://localhost:8080/index.php/apps/memories" + route "http://localhost:8080/index.php/apps/memories" + route