mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(picker): delay option animate until after options initialized (#16037)
This commit is contained in:
@@ -16,4 +16,11 @@ it('datetime: standalone', async () => {
|
||||
|
||||
compare = await page.compareScreenshot('should open basic picker');
|
||||
expect(compare).toMatchScreenshot();
|
||||
|
||||
const octoberOpt = await page.find({ text: 'October' });
|
||||
await octoberOpt.click();
|
||||
await page.waitFor(500);
|
||||
|
||||
compare = await page.compareScreenshot('should click "October" option');
|
||||
expect(compare).toMatchScreenshot();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user