Back to .net8.0 api/v4/InfinityQS ApiExplorerSettings Wafer Counter Color Sorting
25 lines
995 B
JavaScript
25 lines
995 B
JavaScript
import { newE2EPage } from "@stencil/core/testing";
|
|
describe('ifx-card', () => {
|
|
it('should render', async () => {
|
|
const page = await newE2EPage();
|
|
await page.setContent('<ifx-card></ifx-card>');
|
|
const element = await page.find('ifx-card');
|
|
expect(element).toHaveClass('hydrated');
|
|
});
|
|
it('should set correct direction', async () => {
|
|
const page = await newE2EPage();
|
|
await page.setContent('<ifx-card direction="horizontal"></ifx-card>');
|
|
const element = await page.find('ifx-card');
|
|
const direction = await element.getProperty('direction');
|
|
expect(direction).toBe('horizontal');
|
|
});
|
|
it('should set correct alignment', async () => {
|
|
const page = await newE2EPage();
|
|
await page.setContent('<ifx-card-image position="left"></ifx-card-image>');
|
|
const element = await page.find('ifx-card-image');
|
|
const alignment = await element.getProperty('position');
|
|
expect(alignment).toBe('left');
|
|
});
|
|
});
|
|
//# sourceMappingURL=card.e2e.js.map
|