mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
test(picker-internal): skip overlay test on webkit (#25267)
This commit is contained in:
@ -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`);
|
||||
|
Reference in New Issue
Block a user