From c833423dc91e56fd6f011d5e7ab8316dcff43d73 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 14 Dec 2022 21:55:11 +0000 Subject: [PATCH] chore(): run lint on datetime test files --- core/src/components/datetime/test/color/datetime.e2e.ts | 1 - core/src/components/datetime/test/multiple/datetime.e2e.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/core/src/components/datetime/test/color/datetime.e2e.ts b/core/src/components/datetime/test/color/datetime.e2e.ts index ef9ff3d9e9..d23c9e4085 100644 --- a/core/src/components/datetime/test/color/datetime.e2e.ts +++ b/core/src/components/datetime/test/color/datetime.e2e.ts @@ -7,7 +7,6 @@ test.describe('datetime: color', () => { await page.goto('/src/components/datetime/test/color'); - const darkModeToggle = page.locator('ion-checkbox'); const datetime = page.locator('ion-datetime'); expect(await datetime.screenshot()).toMatchSnapshot(`datetime-color-${page.getSnapshotSettings()}.png`); diff --git a/core/src/components/datetime/test/multiple/datetime.e2e.ts b/core/src/components/datetime/test/multiple/datetime.e2e.ts index 12fec6c73f..48940cad3b 100644 --- a/core/src/components/datetime/test/multiple/datetime.e2e.ts +++ b/core/src/components/datetime/test/multiple/datetime.e2e.ts @@ -159,14 +159,11 @@ test.describe('datetime: multiple date selection (functionality)', () => { await expect(monthYear).toHaveText('April 2022'); }); -<<<<<<< HEAD -======= test('multiple=false and array for default value should switch to first item', async () => { const datetime = await datetimeFixture.goto(MULTIPLE_DATES, { multiple: false }); await expect(datetime).toHaveJSProperty('value', SINGLE_DATE); }); ->>>>>>> origin/main test('with buttons, should only update value when confirm is called', async ({ page }) => { const datetime = await datetimeFixture.goto(SINGLE_DATE, { showDefaultButtons: true }); const june2Button = datetime.locator('[data-month="6"][data-day="2"]');