import { newE2EPage } from "@stencil/core/testing"; describe('ifx-pagination', () => { it('should render', async () => { const page = await newE2EPage(); await page.setContent(''); const element = await page.find('ifx-pagination'); expect(element).toHaveClass('hydrated'); }); it('should display the correct number of page numbers', async () => { const page = await newE2EPage(); await page.setContent(''); }); it('should change the page on click', async () => { const page = await newE2EPage(); await page.setContent(''); await page.waitForChanges(); }); it('should emit the ifxPageChange event on page change', async () => { const page = await newE2EPage(); await page.setContent(''); const element = await page.find('ifx-pagination'); const pageChangeSpy = await element.spyOnEvent('ifxPageChange'); await page.waitForChanges(); expect(pageChangeSpy).toHaveReceivedEventTimes(0); }); // Add more test cases as needed }); //# sourceMappingURL=pagination.e2e.js.map