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);