Mike Phares 5c9f0d1aff Remove with Text
Remove GetEngineeringSpcReview
Better error message
EnforceCodeStyleInBuild
NginxFileSystem
Remove Reactors and Working Directory
AppSettings
Delete self contained Thunder Tests
Back to .net8.0
api/v4/InfinityQS
ApiExplorerSettings
Wafer Counter
2024-04-15 13:13:55 -07:00

25 lines
1.1 KiB
JavaScript

import { newE2EPage } from "@stencil/core/testing";
describe('ifx-footer-column', () => {
it('renders', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-footer-column></ifx-footer-column>');
const element = await page.find('ifx-footer-column');
expect(element).toHaveClass('hydrated');
});
it('should display slots', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-footer-column><span slot="title">Test title</span><a slot="link" href="https://test.com">Test link</a></ifx-footer-column>');
const titleSlot = await page.find('ifx-footer-column > span');
const linkSlot = await page.find('ifx-footer-column > a');
expect(titleSlot).toEqualText('Test title');
expect(linkSlot).toEqualText('Test link');
});
it('should check if element exists', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-footer-column></ifx-footer-column>');
const element = await page.find('ifx-footer-column');
expect(element).toBeDefined();
});
});
//# sourceMappingURL=footer-column.e2e.js.map