mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
test(popover): add popover rtl test (#17015)
This commit is contained in:
@ -13,3 +13,17 @@ test('popover: basic', async () => {
|
|||||||
const compare = await page.compareScreenshot();
|
const compare = await page.compareScreenshot();
|
||||||
expect(compare).toMatchScreenshot();
|
expect(compare).toMatchScreenshot();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test('popover: basic-rtl', async () => {
|
||||||
|
const page = await newE2EPage({
|
||||||
|
url: '/src/components/popover/test/basic?ionic:_testing=true&rtl=true'
|
||||||
|
});
|
||||||
|
|
||||||
|
await page.click('.e2eShowPopover');
|
||||||
|
const popover = await page.find('ion-popover');
|
||||||
|
await popover.waitForVisible();
|
||||||
|
await page.waitFor(250);
|
||||||
|
|
||||||
|
const compare = await page.compareScreenshot();
|
||||||
|
expect(compare).toMatchScreenshot();
|
||||||
|
});
|
||||||
|
Reference in New Issue
Block a user