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
This commit is contained in:
2024-04-15 13:13:55 -07:00
parent 7e16ee7f98
commit 5c9f0d1aff
974 changed files with 205399 additions and 1385 deletions

View File

@ -0,0 +1,23 @@
import { newE2EPage } from "@stencil/core/testing";
describe('Link', () => {
it('should render', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-link href="https://example.com">Example Link</ifx-link>');
const linkElement = await page.find('ifx-link');
const anchorElement = await page.find('ifx-link >>> a');
expect(linkElement).toHaveClass('hydrated');
expect(anchorElement).toHaveClass('link');
expect(anchorElement.getAttribute('href')).toBe('https://example.com');
expect(anchorElement.getAttribute('target')).toBe('_self');
});
it('should have additional class names based on props', async () => {
const page = await newE2EPage();
await page.setContent('<ifx-link href="https://example.com" color="primary" bold="false" underline="false">Example Link</ifx-link>');
const linkElement = await page.find('ifx-link');
const anchorElement = await page.find('ifx-link >>> a');
expect(linkElement).toHaveClass('hydrated');
expect(anchorElement).toHaveClass('primary');
expect(anchorElement).not.toHaveClass('underline');
});
});
//# sourceMappingURL=link.e2e.js.map