From 64f18fbd2d0e1da79d9af96c786279e498c9dfd8 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 10 May 2022 11:03:33 -0400 Subject: [PATCH] test(picker-internal): skip overlay test on webkit (#25267) --- .../picker-internal/test/basic/picker-internal.e2e.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/core/src/components/picker-internal/test/basic/picker-internal.e2e.ts b/core/src/components/picker-internal/test/basic/picker-internal.e2e.ts index d15047361c..e14fc96dc1 100644 --- a/core/src/components/picker-internal/test/basic/picker-internal.e2e.ts +++ b/core/src/components/picker-internal/test/basic/picker-internal.e2e.ts @@ -1,10 +1,6 @@ import { expect } from '@playwright/test'; import { test } from '@utils/test/playwright'; -const isMobileSafariLinux = (userAgent?: string) => { - return userAgent?.includes('Linux') === true && userAgent?.includes('Mobile Safari') === true; -}; - test.describe('picker-internal', () => { test('inline pickers should not have visual regression', async ({ page }) => { await page.goto(`/src/components/picker-internal/test/basic`); @@ -18,10 +14,7 @@ test.describe('picker-internal', () => { test.describe('within overlay:', () => { // TODO (FW-1397): Remove this test.skip when the issue is fixed. - test.skip( - ({ userAgent }) => isMobileSafariLinux(userAgent), - 'Mobile Safari on Linux renders the selected option incorrectly' - ); + test.skip('Flaky test', 'Mobile Safari and Chrome on Linux renders the selected option incorrectly'); test('popover: should not have visual regression', async ({ page }) => { await page.goto(`/src/components/picker-internal/test/basic`);