test(components): add rtl tests and remove skips (#18319)

references #17012
This commit is contained in:
Brandy Carney
2019-05-21 13:16:07 -04:00
committed by GitHub
parent 04a0e41e67
commit 6252458d49
18 changed files with 159 additions and 11 deletions

View File

@ -10,3 +10,14 @@ test('segment: basic', async () => {
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});
test('segment:rtl: basic', async () => {
const page = await newE2EPage({
url: '/src/components/segment/test/basic?ionic:_testing=true&rtl=true'
});
await page.waitFor(250);
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});

View File

@ -10,3 +10,14 @@ test('segment: spec', async () => {
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});
test('segment:rtl: spec', async () => {
const page = await newE2EPage({
url: '/src/components/segment/test/spec?ionic:_testing=true&rtl=true'
});
await page.waitFor(250);
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});