From 3d4ace8b33301643af4dec68997482e3dace94eb Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sun, 16 Oct 2022 18:07:15 -0700 Subject: [PATCH] Remove photo row from tests --- e2e/timeline.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/timeline.spec.ts b/e2e/timeline.spec.ts index c7d55880..abb568c1 100644 --- a/e2e/timeline.spec.ts +++ b/e2e/timeline.spec.ts @@ -16,8 +16,8 @@ test.describe('Open', () => { }); test('Select two images and delete', async ({ page }) => { - const i1 = "div:nth-child(2) > .photo-row > div:nth-child(1) > .p-outer"; - const i2 = "div:nth-child(2) > .photo-row > div:nth-child(2) > .p-outer"; + const i1 = "div:nth-child(2) > div:nth-child(1) > .p-outer"; + const i2 = "div:nth-child(2) > div:nth-child(2) > .p-outer"; const src1 = await page.locator(`${i1} > .img-outer > img`).first().getAttribute('src'); const src2 = await page.locator(`${i2} > .img-outer > img`).first().getAttribute('src');