diff --git a/core/src/components/accordion/test/standalone/e2e.ts b/core/src/components/accordion/test/standalone/e2e.ts index cfb1c05054..9188a39915 100644 --- a/core/src/components/accordion/test/standalone/e2e.ts +++ b/core/src/components/accordion/test/standalone/e2e.ts @@ -9,3 +9,12 @@ test('accordion: axe', async () => { const results = await new AxePuppeteer(page).analyze(); expect(results.violations.length).toEqual(0); }); + +test('accordion: standalone', async () => { + const page = await newE2EPage({ + url: '/src/components/accordion/test/standalone?ionic:_testing=true' + }); + + const compare = await page.compareScreenshot(); + expect(compare).toMatchScreenshot(); +}); diff --git a/core/src/components/accordion/test/standalone/index.html b/core/src/components/accordion/test/standalone/index.html index de0b840e60..80014cdd62 100644 --- a/core/src/components/accordion/test/standalone/index.html +++ b/core/src/components/accordion/test/standalone/index.html @@ -85,6 +85,21 @@ + +