mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
test(popover): add missing screenshot function (#27399)
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> A skipped popover test was missing a screenshot function ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Added missing screenshot function ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
This commit is contained in:
@ -27,7 +27,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
|
|||||||
await expect(page).toHaveScreenshot(screenshot(`popover-size`));
|
await expect(page).toHaveScreenshot(screenshot(`popover-size`));
|
||||||
|
|
||||||
// test this one separately since it would overlap others
|
// test this one separately since it would overlap others
|
||||||
await screenshotPopover(page, 'no-event-trigger', 'size');
|
await screenshotPopover(page, screenshot, 'no-event-trigger', 'size');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user