Static Site

This commit is contained in:
2024-06-14 16:51:30 -07:00
parent 3aed250488
commit 6737ddfb59
1706 changed files with 628 additions and 323 deletions

View File

@ -0,0 +1,16 @@
import { newE2EPage } from "@stencil/core/testing";
describe('ifx-chip', () => {
it('renders correctly with default props', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-chip placeholder="Select an option"><ifx-dropdown-menu></ifx-dropdown-menu></ifx-chip>');
const chip = await page.find('ifx-chip');
const chipContainer = await chip.find('.dropdown.container');
const wrapperLabel = await chip.find('.wrapper-label');
const wrapperCloseButton = await chip.find('.wrapper-close-button');
expect(chip).toHaveClass('hydrated');
expect(chipContainer).toBeDefined();
expect(wrapperLabel).toBeDefined();
expect(wrapperCloseButton).toBeDefined();
});
});
//# sourceMappingURL=chip.e2e.js.map