// import { newE2EPage } from '@stencil/core/testing'; // describe('ontario-task', () => { // it('renders', async () => { // const page = await newE2EPage(); // await page.setContent(''); // const element = await page.find('ontario-task'); // expect(element).toHaveClass('hydrated'); // }); // it('renders with correct label', async () => { // const page = await newE2EPage(); // await page.setContent(''); // const label = await page.find('ontario-task >>> .ontario-task__label'); // expect(label).toEqualText('My Task'); // }); // it('applies the correct task status class', async () => { // const page = await newE2EPage(); // await page.setContent(''); // const element = await page.find('ontario-task'); // const className = await element.getProperty('className'); // expect(className).toContain('ontario-task-status--in-progress'); // }); // it('displays the badge with the correct status', async () => { // const page = await newE2EPage(); // await page.setContent(''); // const badge = await page.find('ontario-task >>> .ontario-task__badge'); // expect(badge).toBeTruthy(); // expect(badge).toEqualText('Completed'); // }); // it('does not render as a link when "deactivateLink" is true', async () => { // const page = await newE2EPage(); // await page.setContent( // '', // ); // const link = await page.find('ontario-task >>> .ontario-task__link'); // expect(link).toBeNull(); // }); // it('renders hint text when "hintText" prop is provided', async () => { // const page = await newE2EPage(); // await page.setContent( // '', // ); // const hintText = await page.find('ontario-task >>> ontario-hint-text'); // expect(hintText).toBeTruthy(); // expect(hintText).toEqualText('This is a hint'); // }); // });