From 12c848bfb7a5034afa0e20d9b24d939097cc1f11 Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Mon, 17 Mar 2025 13:09:54 -0700 Subject: [PATCH 1/2] test(infinite): disable flaky test when running in CI --- .../infinite-scroll/test/top/infinite-scroll.e2e.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/components/infinite-scroll/test/top/infinite-scroll.e2e.ts b/core/src/components/infinite-scroll/test/top/infinite-scroll.e2e.ts index ae2aa9c1b63..d8670d53e07 100644 --- a/core/src/components/infinite-scroll/test/top/infinite-scroll.e2e.ts +++ b/core/src/components/infinite-scroll/test/top/infinite-scroll.e2e.ts @@ -3,7 +3,10 @@ import { configs, test } from '@utils/test/playwright'; configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => { test.describe(title('infinite-scroll: top'), () => { - test('should load more items when scrolled to the top', async ({ page }) => { + test('should load more items when scrolled to the top', async ({ page, skip }) => { + // TODO(FW-6394): remove once flakinq issue is resolved + skip.browser('webkit', 'Safari is flaky on CI'); + await page.goto('/src/components/infinite-scroll/test/top', config); const ionInfiniteComplete = await page.spyOnEvent('ionInfiniteComplete'); From 3190dcfefb86872e2b198bbecb346fef18ca3a64 Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Mon, 17 Mar 2025 13:44:15 -0700 Subject: [PATCH 2/2] test(infinite-scroll): use proper spelling --- .../components/infinite-scroll/test/top/infinite-scroll.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/infinite-scroll/test/top/infinite-scroll.e2e.ts b/core/src/components/infinite-scroll/test/top/infinite-scroll.e2e.ts index d8670d53e07..31a822ee0f7 100644 --- a/core/src/components/infinite-scroll/test/top/infinite-scroll.e2e.ts +++ b/core/src/components/infinite-scroll/test/top/infinite-scroll.e2e.ts @@ -4,7 +4,7 @@ import { configs, test } from '@utils/test/playwright'; configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => { test.describe(title('infinite-scroll: top'), () => { test('should load more items when scrolled to the top', async ({ page, skip }) => { - // TODO(FW-6394): remove once flakinq issue is resolved + // TODO(FW-6394): remove once flaky issue is resolved skip.browser('webkit', 'Safari is flaky on CI'); await page.goto('/src/components/infinite-scroll/test/top', config);