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,19 @@
import { newE2EPage } from "@stencil/core/testing";
describe('ifx-tooltip', () => {
it('renders', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-tooltip></ifx-tooltip>');
const element = await page.find('ifx-tooltip');
expect(element).toHaveClass('hydrated');
});
it('renders tooltip when visible prop is set', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-tooltip></ifx-tooltip>');
const component = await page.find('ifx-tooltip');
component.setProperty('visible', true);
await page.waitForChanges();
const tooltipEl = await page.find('ifx-tooltip >>> .tooltip-compact');
expect(tooltipEl).not.toBeNull();
});
});
//# sourceMappingURL=tooltip.e2e.js.map