test(popover): add popover rtl test (#17015)

This commit is contained in:
Adam Bradley
2019-01-09 09:34:42 -06:00
committed by GitHub
parent 7846019612
commit 48ab42f8ad

View File

@ -13,3 +13,17 @@ test('popover: basic', async () => {
const compare = await page.compareScreenshot();
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();
});