mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore: test fix
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
1565
packages/angular/package-lock.json
generated
1565
packages/angular/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user