From b8910b7e7348ac06aba016f4eaf2fb2f4584d53e Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 1 Mar 2023 16:58:28 +0000 Subject: [PATCH] test(popover): fix test for scroll assist --- core/src/components/popover/test/basic/popover.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/popover/test/basic/popover.e2e.ts b/core/src/components/popover/test/basic/popover.e2e.ts index 3c8d2690f6..b344ccabfc 100644 --- a/core/src/components/popover/test/basic/popover.e2e.ts +++ b/core/src/components/popover/test/basic/popover.e2e.ts @@ -76,7 +76,7 @@ test.describe('popover: focus trap', async () => { test('should not override keyboard interactions for textarea elements', async ({ page, browserName }) => { const tabKey = browserName === 'webkit' ? 'Alt+Tab' : 'Tab'; const popover = page.locator('ion-popover'); - const innerNativeTextarea = page.locator('ion-textarea textarea'); + const innerNativeTextarea = page.locator('ion-textarea textarea').nth(0); const vanillaTextarea = page.locator('ion-textarea + textarea'); await openPopover(page, 'popover-with-textarea');