import { newE2EPage } from "@stencil/core/testing"; describe('ifx-select', () => { it('should render without errors', async () => { const page = await newE2EPage(); await page.setContent(''); const element = await page.find('ifx-select'); expect(element).toHaveClass('hydrated'); }); it('should accept properties and reflect them', async () => { const page = await newE2EPage(); await page.setContent(''); const component = await page.find('ifx-select'); const label = await component.getProperty('ifxLabel'); expect(label).toBe('Test label'); }); it('should display error message when ifxError is true', async () => { const page = await newE2EPage(); await page.setContent(''); const component = await page.find('ifx-select'); const errorMessage = await component.getProperty('ifxErrorMessage'); expect(errorMessage).toBe('This is an error'); }); }); //# sourceMappingURL=select.e2e.js.map