mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
test(components): add rtl tests and remove skips (#18319)
references #17012
This commit is contained in:
@ -10,3 +10,14 @@ test('toggle: basic', async () => {
|
||||
const compare = await page.compareScreenshot();
|
||||
expect(compare).toMatchScreenshot();
|
||||
});
|
||||
|
||||
test('toggle:rtl: basic', async () => {
|
||||
const page = await newE2EPage({
|
||||
url: '/src/components/toggle/test/basic?ionic:_testing=true&rtl=true'
|
||||
});
|
||||
|
||||
await page.waitFor(250);
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
expect(compare).toMatchScreenshot();
|
||||
});
|
||||
|
Reference in New Issue
Block a user