Mike Phares 127634f5ab Delete self contained Thunder Tests
Back to .net8.0
api/v4/InfinityQS
ApiExplorerSettings
Wafer Counter
Color Sorting
2024-03-13 13:15:56 -07:00

20 lines
764 B
JavaScript

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