From a2662bcb4dc69f1a0a6a443ee91c5d1f80f5e2f5 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Thu, 15 Sep 2022 20:31:21 -0700 Subject: [PATCH] Attempt to fix tests --- e2e/folders.spec.ts | 2 +- e2e/timeline.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/folders.spec.ts b/e2e/folders.spec.ts index adc9e3ad..430d912a 100644 --- a/e2e/folders.spec.ts +++ b/e2e/folders.spec.ts @@ -5,7 +5,7 @@ test.beforeEach(login('/folders')); test.describe('Open', () => { test('Look for Folders', async ({ page }) => { - expect(await page.locator('.big-icon > .folder-icon').count(), 'Number of folders').toBe(2); + expect(await page.locator('.big-icon').count(), 'Number of folders').toBe(2); }); test('Open folder', async ({ page }) => { diff --git a/e2e/timeline.spec.ts b/e2e/timeline.spec.ts index 042edd7a..993f397d 100644 --- a/e2e/timeline.spec.ts +++ b/e2e/timeline.spec.ts @@ -25,7 +25,7 @@ test.describe('Open', () => { expect(await page.locator(`img[src="${src1}"]`).count()).toBe(1); expect(await page.locator(`img[src="${src2}"]`).count()).toBe(1); - await page.locator(`${i1} > .check-icon`).click(); + await page.locator(`${i1} > .select`).click(); await page.locator(`${i2}`).click(); await page.waitForTimeout(1000);