mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
test(popover): fix test for scroll assist
This commit is contained in:
@ -76,7 +76,7 @@ test.describe('popover: focus trap', async () => {
|
|||||||
test('should not override keyboard interactions for textarea elements', async ({ page, browserName }) => {
|
test('should not override keyboard interactions for textarea elements', async ({ page, browserName }) => {
|
||||||
const tabKey = browserName === 'webkit' ? 'Alt+Tab' : 'Tab';
|
const tabKey = browserName === 'webkit' ? 'Alt+Tab' : 'Tab';
|
||||||
const popover = page.locator('ion-popover');
|
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');
|
const vanillaTextarea = page.locator('ion-textarea + textarea');
|
||||||
|
|
||||||
await openPopover(page, 'popover-with-textarea');
|
await openPopover(page, 'popover-with-textarea');
|
||||||
|
|||||||
Reference in New Issue
Block a user