mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
test(picker-column-internal): emit ionChange on scroll (#24997)
This commit is contained in:
@ -67,7 +67,7 @@ describe('picker-column-internal', () => {
|
|||||||
const ionChangeSpy = await pickerColumn.spyOnEvent('ionChange');
|
const ionChangeSpy = await pickerColumn.spyOnEvent('ionChange');
|
||||||
|
|
||||||
await page.$eval('#default', (el: any) => {
|
await page.$eval('#default', (el: any) => {
|
||||||
el.scrollTo(0, 300);
|
el.scrollTo(0, el.scrollHeight);
|
||||||
});
|
});
|
||||||
|
|
||||||
await ionChangeSpy.next();
|
await ionChangeSpy.next();
|
||||||
|
Reference in New Issue
Block a user