chore: test fix

This commit is contained in:
ShaneK
2026-01-02 06:50:38 -08:00
parent d6eb8ce8e9
commit fa16c3a7bd
2 changed files with 1012 additions and 555 deletions

View File

@@ -14,7 +14,7 @@ async function getWrapperPaddingBottom(page: any): Promise<string> {
const modal = page.locator('ion-modal');
return modal.evaluate((el: HTMLIonModalElement) => {
const wrapper = el.shadowRoot?.querySelector('.modal-wrapper');
if (wrapper === null) return '0px';
if (!wrapper) return '0px';
return getComputedStyle(wrapper).paddingBottom;
});
}

View File

File diff suppressed because it is too large Load Diff