From 4121d179b6980e1f90bda972f18fe4f2cfd0a52a Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sat, 25 Feb 2023 18:35:09 -0800 Subject: [PATCH] test: fix e2e (1) --- e2e/login.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/login.ts b/e2e/login.ts index 5f2b3d91..097a08f4 100644 --- a/e2e/login.ts +++ b/e2e/login.ts @@ -13,6 +13,6 @@ export function login(route: string) { await expect(page).toHaveURL( "http://localhost:8080/index.php/apps/memories" + route ); - await page.waitForSelector('img[src*="api/image/preview"]'); + await page.waitForSelector("img.ximg"); }; }